Microsoft DirectX 8.1 (C++) |
Retrieves the total duration of the media stream.
Syntax
HRESULT get_Duration(
REFTIME *plength
);
Parameters
plength
Pointer to the returned length of the media stream.
Return Value
Returns E_POINTER if pLength is invalid. Otherwise, returns S_OK.
Remarks
The duration assumes normal playback speed; it is therefore unaffected by the rate.
See Also