Microsoft Windows CE 3.0  

EC_SEGMENT_STARTED

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Notifies that a new segment has been started.

Parameters

lParam1
Pointer to a REFERENCE_TIMEvalue indicating accumulated stream clock time since the start of the segment. You can compute this time directly as the sum of the previous and current segment durations and the rate applied to each segment.
lParam2
DWORD value indicating the segment number. Zero based.

Remarks

This notification is sent synchronously by any entity that will issue EC_END_OF_SEGMENTwhen a new segment is started. See the AM_SEEKING_Segmentflag from IMediaSeeking::SetPositions. This notification is used to compute how many EC_END_OF_SEGMENTnotifications to expect at the end of a segment and as a consistency check.

For information on how to use this event code, see CBaseFilter::NotifyEvent.