Share via


TimerProc

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This function is an application-defined callback function that processes WM_TIMER messages.

Syntax

void CALLBACK TimerProc(
  HWND hwnd, 
  UINT uMsg, 
  UINT idEvent, 
  DWORD dwTime 
); 

Parameters

  • hwnd
    [in] Handle to the window associated with the timer.
  • uMsg
    [in] Specifies the WM_TIMER message.
  • idEvent
    [in] Identifier of the timer.
  • dwTime
    [in] Specifies the number of milliseconds that have elapsed since the system was started. This is the value returned by the GetTickCount function.

Return Value

None.

Requirements

Header winbase.h
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

KillTimer
SetTimer
WM_TIMER

Other Resources

GetTickCount