TIMERPROC callback function (winuser.h)
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
TIMERPROC Timerproc;
void Timerproc(
HWND Arg1,
UINT Arg2,
UINT_PTR Arg3,
DWORD Arg4
)
{...}
Parameters
Arg1
Type: HWND
A handle to the window associated with the timer.
Arg2
Type: UINT
The WM_TIMER message.
Arg3
Type: UINT_PTR
The timer's identifier.
Arg4
Type: DWORD
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
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | winuser.h (include Windows.h) |
See also
Conceptual
Reference