Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

TimerEventHandler (Delegates)
 
.
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

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions