Property | Type | Description | |
---|---|---|---|
HookedKeys | List |
Method | Description | |
---|---|---|
Hook ( ) : void |
Installs the global hook
|
|
Native ( ) : System |
Initializes a new instance of the Native class and installs the keyboard hook.
|
|
Unhook ( ) : void |
Uninstalls the global hook
|
|
hookProc ( int code, int wParam, keyboardHookStruct &lParam ) : int |
The callback for the keyboard hook
|
Method | Description | |
---|---|---|
CallNextHookEx ( IntPtr idHook, int nCode, int wParam, keyboardHookStruct &lParam ) : int | ||
LoadLibrary ( string lpFileName ) : IntPtr | ||
SetKeyStatus ( int key, bool status ) : bool | ||
SetWindowsHookEx ( int idHook, keyboardHookProc callback, IntPtr hInstance, uint threadId ) : IntPtr | ||
UnhookWindowsHookEx ( IntPtr hInstance ) : bool |
public hookProc ( int code, int wParam, keyboardHookStruct &lParam ) : int | ||
code | int | The hook code, if it isn't >= 0, the function shouldn't do anyting |
wParam | int | The event type |
lParam | keyboardHookStruct | The keyhook event information |
return | int |