IMSVidStreamBufferSourceEvent::TimeHole method (segment.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

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

[in] StreamOffsetMS

Specifies the start of the gap, in milliseconds, relative to the content start.

[in] SizeMS

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

Requirement Value
Target Platform Windows
Header segment.h (include Msvidctl.h)

See also

IMSVidStreamBufferSourceEvent Interface