Microsoft DirectX 8.1 (C++) |
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