Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
| Microsoft DirectShow 9.0 |
IMediaStreamFilter::GetCurrentStreamTime
- Note This interface is deprecated. New applications should not use it.
The GetCurrentStreamTime method retrieves the current stream time.
Syntax
HRESULT GetCurrentStreamTime(
REFERENCE_TIME *pCurrentStreamTime
);
Parameters
pCurrentStreamTime
[out] Pointer to a variable that receives the stream time, in 100-nanosecond units.
Return Values
Returns an HRESULT value. Possible values include the following.
| Value | Description |
| E_POINTER | NULL pointer argument. |
| S_FALSE | The graph is not running, or there is no reference clock. |
| S_OK | Success. |
Remarks
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.
See Also