Home COM GDI+ WebBrowser Data Access 

Timer API

 

 

The Timer application programming interface (API) provides essential timer services for Microsoft ActiveX Controls, supports external reference clocks, and enables synchronization between controls and scripts.

 

 

Interfaces

 

ITimer

ITimerService

ITimerSink

 

 

Objects

 

ITimer Object

 

This object provides access to timer functions such as ITimer::Freeze and ITimer::GetTime.

 

Remarks

The timer functionality in MSHTML is implemented as a service. To obtain an ITimerService object, call IServiceProvider::QueryService. ITimer objects are then obtained through the ITimerService object.

Creation/Access Functions

ITimerService::CreateTimer

Interfaces Implemented

ITimer

Object Information

Stock Implementation

None

Custom Implementation

No

Header and IDL files

ocmm.h, ocmm.idl

CLSID

Not available

Minimum availability

Internet Explorer 4.0

Minimum operating systems

Windows 95, Windows NT 4.0

 

 

ITimerService Object

 

This object creates a timer object and retrieves and sets named timers.

 

Creation/Access Functions

IServiceProvider::QueryService

Interfaces Implemented

ITimerService

Object Information

Stock Implementation

None

Custom Implementation

No

Header and IDL files

ocmm.h, ocmm.idl

CLSID

Not available

Minimum availability

Internet Explorer 4.0

Minimum operating systems

Windows 95, Windows NT 4.0

 

 

ITimerSink Object

 

This object provides access to a timer's schedule.

 

Remarks

The timer functionality in MSHTML is implemented as a service. To obtain an ITimerService object, call IServiceProvider::QueryService. ITimer objects are then obtained through the ITimerService object.

Creation/Access Functions

ITimerService::CreateTimer

Interfaces Implemented

ITimerSink

Object Information

Stock Implementation

None

Custom Implementation

No

Header and IDL files

ocmm.h, ocmm.idl

CLSID

Not available

Minimum availability

Internet Explorer 4.0

Minimum operating systems

Windows 95, Windows NT 4.0

 

 

Page last updated on Saturday, 07 January 2006 18:25:18 +0100