Microsoft DirectX 9.0

EC_SEGMENT_STARTED

A new segment has started.

Parameters

lParam1

Pointer to a REFERENCE_TIME value that specifies the accumulated stream time since the start of the segment.

lParam2

DWORD value indicating the segment number (zero-based).

Default Action

This event is not sent to the application. Applications cannot override the default action for this event.

Remarks

If a filter will send an EC_END_OF_SEGMENT at the end of a segment, it sends this event at the start of the segment. The filter graph manager uses this event notification to compute how many EC_END_OF_SEGMENT notifications it should expect at the end of the segment.

By default, filters do not send EC_END_OF_SEGMENT events at the end of segments, and therefore should not send this event. For more information, see IMediaSeeking::SetPositions.

See Also