Microsoft DirectX 9.0

CPosPassThru::get_CurrentPosition

The get_CurrentPosition method retrieves the current position, relative to the total duration of the stream. This method implements the IMediaPosition::get_CurrentPosition method.

Syntax

HRESULT get_CurrentPosition(
    REFTIME *pllTime
);

Parameters

pllTime

Pointer to a variable that receives the current position, in seconds.

Return Value

Returns the HRESULT value from the connected pin.

See Also