Share via


IMSVidStreamBufferSourceEvent::TimeHole Method

This topic applies to Windows XP Service Pack 1 or later.
The TimeHole method is called when playback reaches a gap in the recorded content.

Syntax

HRESULT TimeHole(
  [in]  long StreamOffsetMS,
  [in]  long SizeMS
);

Parameters

  • StreamOffsetMS [in]
    Specifies the start of the gap, in milliseconds, relative to the content start.

  • SizeMS [in]
    Specifies the length of the gap, in milliseconds.

Return Value

Return S_OK or an error code.

Remarks

This event corresponds to the STREAMBUFFER_EC_TIMEHOLE event in the Stream Buffer Engine. See Stream Buffer Engine Event Codes.

Requirements

Header Declared in Dshow.h.
DLL Requires Quartz.dll.

See Also

IMSVidStreamBufferSourceEvent Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008