Click to return to the Reusing Browser Technology home page    
ITimerService::CreateTime...     ITimerService::SetNamedTi...     ITimerService Interface    
Web Workshop  |  Reusing Browser Technology

ITimerService::GetNamedTimer Method


Retrieves the named timer.

Syntax

HRESULT GetNamedTimer(
    REFGUID rguidName,
    ITimer **ppTimer
);

Parameters

rguidName
[in] Address of the name of the timer to retrieve.
ppTimer
[out] Address of the pointer to the new timer object.

Return Value

Returns one of the following values:
 
S_OK The method was called successfully.
E_POINTER A pointer is invalid.
E_INVALIDARG One of the arguments is invalid.
E_OUTOFMEMORY The system is out of memory.

Remarks

If the named timer exists, the reference counter is incremented, otherwise a new timer object is created.



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.