TimerEventHandler (Delegates)
Last changed: -77.169.19.34

.
Summary
The TimerEventHandler Callback Function. 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

C# Definition:

private delegate void TimerEventHandler(UInt32 id, UInt32 msg, ref UInt32 userCtx, UInt32 rsv1, UInt32 rsv2);

VB Definition:

Private Delegate Sub TimerEventHandler(ByVal id As UInt32, ByVal msg As UInt32, ByRef userCtx As UInt32, ByVal rsv1 As UInt32, ByVal rsv2 As UInt32)

User-Defined Types:

WM_TIMER

Parameters:

hwnd in Type: HWND A handle to the window associated with the timer.

uMsg in Type: UINT The WM_TIMER message.

idEvent in Type: UINT_PTR The timer's identifier.

dwTime in 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:

This function does not return a value.

Notes:

The TimerProc Callback Function. 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

Documentation