Freigeben über


IMSVidStreamBufferV2SourceEvent::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.]

Fired when the SBE2 source filter receives a STREAMBUFFER_EC_TIMEHOLE event, which indicates playback has reached a gap in recorded content.

Syntax

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

Parameters

[in] StreamOffsetMS

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

[in] SizeMS

Duration of the gap, in milliseconds.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows�7 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header segment.h (include Msvidctl.h)

See also

IMSVidStreamBufferV2SourceEvent

Stream Buffer Engine Event Codes