Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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. |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today