WM_TIMER (Windows CE 5.0)

Send Feedback

This message is posted to the installing thread's message queue or sent to the appropriate TimerProc callback function after each interval specified in the SetTimer function used to install a timer.

WM_TIMER wTimerID = wParam;tmprc = (TIMERPROC *)lParam;


  • wTimerID
    Specifies the timer identifier.
  • tmprc
    Pointer to an application-defined callback function that was passed to the SetTimer function when the timer was installed.

Return Values

An application should return zero if it processes this message.


The WM_TIMER message is a low-priority message. The GetMessage and PeekMessage functions retrieve this message only when no other higher-priority messages are in the thread's message queue.


OS Versions: Windows CE 1.0 and later.
Header: Winuser.h.

See Also

DispatchMessage | SetTimer | TimerProc | GetMessage | PeekMessage

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.