Microsoft DirectX 9.0 |
The GetDuration method retrieves the duration of the stream. This method implements the IMediaSeeking::GetDuration method.
Syntax
HRESULT GetDuration(
LONGLONG *pDuration
);
Parameters
pDuration
Pointer to a variable that receives the duration, in units of the current time format.
Return Value
Returns the HRESULT value from the connected pin.
See Also