Partager via


TimerProc

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

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 Values

None.

Requirements

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

See Also

GetTickCount | KillTimer | SetTimer | WM_TIMER

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.