Microsoft Windows CE 3.0  

CPosPassThru::SetPositions

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.

Sets current and stop positions and applies flags to both.

HRESULT
SetPositions(
LONGLONG
*
pCurrent
,
DWORD
dwCurrentFlags
,
LONGLONG
*
pStop
,
DWORD
dwStopFlags
);

Parameters

pCurrent
Start position if stopped, or position to continue from if paused.
dwCurrentFlags
When seeking, one of these flags must be set to indicate the type of seek. See the IMediaSeeking::SetPositionsmethod for a description of these flags.
pStop
Position in the stream at which to quit.
dwStopFlags
Stop position seeking options to be applied. These are the same as listed for dwCurrentFlags.

Return Values

Returns the HRESULTvalue returned from calling IMediaSeeking::SetPositionson the connected pin.

Remarks

This member function implements the IMediaSeeking::SetPositionsmethod by calling this same method on the upstream filter's output pin. It allows the retrieval of several values with only one call.