Timer Services

The timer services allow applications to schedule asynchronous timed periodic or one-time events at a higher resolution than is available through the standard Windows timer services. Use the following functions to request and receive timer messages:

timeBeginPeriod

Establishes the timer resolution an application intends to use.

timeEndPeriod

Clears a previously set timer resolution.

timeGetDevCaps

Returns the capabilities of the timer driver.

timeGetSystemTime

Fills an MMTIME structure with the system time in milliseconds.

timeGetTime

Returns the system time in milliseconds.

timeKillEvent

Cancels a timer event previously created with timeSetEvent.

timeSetEvent

Creates a timer event which will call a specified function at periodic intervals or after a single period.