Retrieves the current time of the timer.
Syntax
HRESULT GetTime( VARIANT *pTime );
Parameters
- pTime
- [out] Address of the VARIANT to receive the current time.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
Multiple calls to this method may yield the same value if the timer is frozen. Timer units are in milliseconds.