Click to return to the Reusing Browser Technology home page    
ITimer::Freeze Method     ITimer::Unadvise Method     ITimer Interface    
Web Workshop  |  Reusing Browser Technology

ITimer::GetTime Method


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.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.