VOID CALLBACK TimerProc(hwnd, wMsg, IDEvent, dwTime) | |||||
HWND hwnd; | /* handle of window for timer messages | */ | |||
UINT wMsg; | /* WM_TIMER message | */ | |||
UINT IDEvent; | /* timer identifier | */ | |||
DWORD dwTime; | /* current system time | */ |
The TimerProc function is an application-defined callback function that processes WM_TIMER messages.
hwnd
Identifies the window associated with the timer.
wMsg
Specifies the WM_TIMER message.
IDEvent
Specifies the timer's identifier.
dwTime
Specifies the current system time.
TimerProc is a placeholder for the application-supplied function name. The actual name must be exported by including it in an EXPORTS statement in the application's module-definition file.
KillTimer, SetTimer