WM TIMER
Appearance
This message is posted when a timer times out.
Syntax
param1 USHORT idTimer; /* Timer identity. */ param2 ULONG ulReserved; /* Reserved value, should be 0. */
Parameters
- idTimer (USHORT) - input
- Timer identity.
- Any timer Ids that are not being used must be passed on the default window procedure.
- ulReserved (ULONG) - input
- Reserved value, should be 0.
Returns
- ulReserved (ULONG) - returns
- Reserved value, should be 0.
Remarks
This message is always queued and is processed specially by the WinGetMsg and WinPeekMsg calls, as follows:
- Timers are processed only by the WinGetMsg and WinPeekMsg calls.
- A timer posts only one WM_TIMER message at a time.
- WM_TIMER messages are queued lower than all other messages except WM_SEM4 messages.
Default Processing
The default window procedure takes no action on this message, other than to set ulReserved to 0.