This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can trysigning in orchanging directories.
Access to this page requires authorization. You can trychanging directories.
Posted to the installing thread's message queue when a timer expires. The message is posted by theGetMessage orPeekMessage function.
#define WM_TIMER 0x0113
wParam [in]
The timer identifier.
lParam [in]
A pointer to an application-defined callback function that was passed to theSetTimer function when the timer was installed.
Type:LRESULT
An application should return zero if it processes this message.
You can process the message by providing aWM_TIMER case in the window procedure. Otherwise,DispatchMessage will call theTimerProc callback function specified in the call to theSetTimer function used to install the timer.
TheWM_TIMER message is a low-priority message. TheGetMessage andPeekMessage functions post this message only when no other higher-priority messages are in the thread's message queue.
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header |
|
Reference
Conceptual
Was this page helpful?
Was this page helpful?