TimerProc Function
The
TimerProc function is an application-defined callback function that processes WM_TIMER messages. The
TIMERPROC type defines a pointer to this callback function.
TimerProc is a placeholder for the application-defined function name.
Syntax
VOID CALLBACK TimerProc(
HWND hwnd,
UINT uMsg,
UINT_PTR idEvent,
DWORD dwTime
);
Parameters
hwnd [in] Handle to the window associated with the timer. uMsg [in] Specifies the WM_TIMER message. idEvent [in] Specifies the timer's identifier. 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
This function does not return a value.
Partager