IReferenceClock::GetTime method (strmif.h)
The GetTime
method retrieves the current reference time.
Syntax
HRESULT GetTime(
[out] REFERENCE_TIME *pTime
);
Parameters
[out] pTime
Pointer to a variable that receives the current time, in 100-nanosecond units.
Return value
Returns an HRESULT value. Possible values include the following.
Return code | Description |
---|---|
|
NULL pointer argument. |
|
Returned time is the same as the previous value. |
|
Success. |
Requirements
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | strmif.h (include Dshow.h) |
Library | Strmiids.lib |