0 out of 1 rated this helpful - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ