Compartilhar via


TimerProc (Compact 2013)

3/28/2014

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

See Also

Reference

Window Timer Functions
KillTimer
SetTimer
WM_TIMER

Other Resources

GetTickCount