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

ITimerService::SetNamedTimerReference Method


Replaces the named timer's reference timer with a new reference timer.

Syntax

HRESULT SetNamedTimerReference(
    REFGUID rguidName,
    ITimer *pRefTimer
);

Parameters

rguidName
[in] Address of the name of the timer to retrieve.
pRefTimer
[in] Address of the timer that will become the reference timer for the named timer.

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

All notifications assigned to the named timer are moved to the new reference timer.



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.