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

HookType (Enums)
 
.
Summary

C# Signature:

public enum HookType : int
{
     WH_JOURNALRECORD = 0,
     WH_JOURNALPLAYBACK = 1,
     WH_KEYBOARD = 2,
     WH_GETMESSAGE = 3,
     WH_CALLWNDPROC = 4,
     WH_CBT = 5,
     WH_SYSMSGFILTER = 6,
     WH_MOUSE = 7,
     WH_HARDWARE = 8,
     WH_DEBUG = 9,
     WH_SHELL = 10,
     WH_FOREGROUNDIDLE = 11,
     WH_CALLWNDPROCRET = 12,    
     WH_KEYBOARD_LL = 13,
     WH_MOUSE_LL = 14
}

VB Signature:

Enum HookType
     WH_JOURNALRECORD = 0
     WH_JOURNALPLAYBACK = 1
     WH_KEYBOARD = 2
     WH_GETMESSAGE = 3
     WH_CALLWNDPROC = 4
     WH_CBT = 5
     WH_SYSMSGFILTER = 6
     WH_MOUSE = 7
     WH_HARDWARE = 8
     WH_DEBUG = 9
     WH_SHELL = 10
     WH_FOREGROUNDIDLE = 11
     WH_CALLWNDPROCRET = 12
     WH_KEYBOARD_LL = 13
     WH_MOUSE_LL = 14
End Enum

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation
SetWindowsHookEx related documentation on MSDN
 

Please edit this page!

Do you have...

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

Select "Edit This Page" on the right hand toolbar and edit it!

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