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.
A version of this page is also available for
4/8/2010

This macro notifies that a segment end has been reached.

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.

The source adds this time to the time within each segment to get a total elapsed time.

lParam2

DWORDvalue indicating the segment number. Zero based.

Remarks

Notifies that a segment end has been reached when the AM_SEEKING_Segmentflag was set for IMediaSeeking::SetPositions.

Passes in an IMediaSeekinginterface to allow the next segment to be defined by the application.

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

Requirements

Windows Embedded CE Windows CE 2.12 and later
Windows Mobile Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment

See Also