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

HookProc (Delegates)
 
.
Summary
Represents the method called when a hook catches a monitored event.

C# Definition:

delegate IntPtr HookProc(int code, IntPtr wParam, IntPtr lParam);
delegate int HookProc(int code, IntPtr wParam, IntPtr lParam);

VB Definition:

'Generic signature
Private Delegate Function HookProc(ByVal code As Integer, ByVal wParam As IntPtr, ByVal lParam As IntPtr) As Integer

Notes:

MSDN documentation about HookProc : https://docs.microsoft.com/en-us/windows/win32/api/winuser/nc-winuser-hookproc

None.

Documentation
SetWindowsHookEx related documentation on MSDN

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