ITimer::GetTime Method
Gets the current time of the timer.
Syntax
HRESULT GetTime( VARIANT *pvtime );
Parameters
- pvtime
- [out] A pointer to a VARIANT of type VT_UI4 that receives the current time.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
Multiple calls to this method might yield the same value, if the timer is frozen. Timer units are in milliseconds.