CPosPassThru::get_CurrentPosition
Microsoft DirectShow 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.
Requirements
** Header:** Declared in Ctlutil.h; include Streams.h.
** Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).
See Also