Microsoft DirectX 9.0

CPosPassThru::GetPositions

The GetPositions method retrieves the current position and the stop position, relative to the total duration of the stream. This method implements the IMediaSeeking::GetPositions method.

Syntax

HRESULT GetPositions(
    LONGLONG *pCurrent,
    LONGLONG *pStop
);

Parameters

pCurrent

Pointer to a variable that receives the current position, in units of the current time format.

pStop

Pointer to a variable that receives the stop position, in units of the current time format.

Return Value

Returns the HRESULT value from the connected pin.

See Also