Microsoft DirectX 9.0 |
The Duration method retrieves the duration of the stream.
Syntax
HRESULT Duration(
REFERENCE_TIME *ptDuration
);
Parameters
ptDuration
Pointer to a variable that receives the duration, in bytes multiplied by 10,000,000.
Return Values
Returns S_OK.
Remarks
The duration is indeterminate until the CPullPin::Connect method is called.
See Also