Microsoft DirectX 8.1 (C++)

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