Microsoft DirectX 8.1 (C++) |
The get_Duration method retrieves the duration of the stream. This method implements the IMediaPosition::get_Duration method.
Syntax
HRESULT get_Duration(
REFTIME *plength
);
Parameters
plength
Pointer to a variable that receives the total stream length, in seconds.
Return Value
Returns the HRESULT value from the connected pin.
See Also