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

ITimerService::CreateTimer Method


Creates a timer object.

Syntax

HRESULT CreateTimer(
    ITimer *pTimerSource,
    ITimer **ppTimer
);

Parameters

pTimerSource
[in] Address of the reference timer for the new timer.
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_OUTOFMEMORY The system is out of memory.

Remarks

If pTimerSource is NULL, the base or default reference timer is used to create the new 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.