|Microsoft DirectX 9.0|
The GetCurrentStreamTime method retrieves the current stream time.
HRESULT GetCurrentStreamTime( REFERENCE_TIME *pCurrentStreamTime );
[out] Pointer to a variable that receives the stream time, in 100-nanosecond units.
Returns an HRESULT value. Possible values include the following.
|E_POINTER||NULL pointer argument.|
|S_FALSE||The graph is not running, or there is no reference clock.|
Stream time is defined only when the graph is running and has a reference clock. Otherwise, *pCurrentStreamTime is set to zero and the method returns S_FALSE.