description | ms.assetid | title | ms.topic | ms.date |
---|---|---|---|---|
This topic discusses timers. A timer is an internal routine that repeatedly measures a specified interval, in milliseconds. |
vs|winui|~\winui\windowsuserinterface\windowing\timers.htm |
Timers |
article |
05/31/2018 |
A timer is an internal routine that repeatedly measures a specified interval, in milliseconds.
Name | Description |
---|---|
About Timers | Describes how to create, identify, set, and delete timers. |
Using Timers | Discusses how to create and destroy timers, and how to use a timer to trap mouse input at specified intervals. |
Timer Reference | Contains the API reference. |
Name | Description |
---|---|
KillTimer | Destroys the specified timer. |
SetTimer | Creates a timer with the specified time-out value. |
TimerProc | An application-defined callback function that processes WM_TIMER messages. The TIMERPROC type defines a pointer to this callback function. TimerProc is a placeholder for the application-defined function name. |
Name | Description |
---|---|
WM_TIMER | Posted to the installing thread's message queue when a timer expires. The message is posted by the GetMessage or PeekMessage function. |