CPosPassThru::get_Duration (Compact 2013)
3/26/2014
Retrieves the total duration of the media stream.
Syntax
HRESULT get_Duration(
REFTIME* plength
);
Parameters
- plength
Returned length of the media stream.
Return Value
Returns the HRESULT value returned from calling IMediaPosition::get_Duration on the connected pin.
Remarks
The duration assumes normal playback speed, and it is therefore unaffected by the rate.
Requirements
Header |
dshow.h, |
Library |
ole32.lib, |