GetTime method
Gets the current time of the timer.
Syntax
HRESULT retVal = object.GetTime(pvtime);
Parameters
pvtime [out]
Type: VARIANTA pointer to a VARIANT of type VT_UI4 that receives the current time.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
Multiple calls to this method might yield the same value, if the timer is frozen. Timer units are in milliseconds.