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

LowLevelKeyboardProc (Delegates)
 
.
Summary
Hook procedure for the WH_KEYBOARD_LL hook

C# Definition:

private delegate int LowLevelKeyboardProc(int nCode,WindowsMessages wParam, [In] KBDLLHOOKSTRUCT lParam);
delegate int LowLevelKeyboardProc(int nCode,WindowsMessages wParam, [In] KBDLLHOOKSTRUCT lParam);

VB.NET Definition:

Private Delegate Function LowLevelKeyboardProc(ByVal nCode As Integer, ByVal wParam As WindowsMessages, <[In]> ByVal lParam As KBDLLHOOKSTRUCT) As Integer

User-Defined Types:

WindowsMessages the type of event. This will be WM_KEYDOWN, WM_KEYUP, WM_SYSKEYDOWN or WM_SYSKEYUP

KBDLLHOOKSTRUCT contains details of the key

WindowsMessages the type of event. This will be WM_KEYDOWN, WM_KEYUP, WM_SYSKEYDOWN or WM_SYSKEYUP

Notes:

KBDLLHOOKSTRUCT contains details of the key

See SetWindowsHookEx, CallNextHookEx

Notes:

See SetWindowsHookEx, CallNextHookEx

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