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