Свойство | Type | Description | |
---|---|---|---|
HookedKeys | List |
Méthode | Description | |
---|---|---|
globalKeyboardHook ( ) : System |
Initializes a new instance of the globalKeyboardHook class and installs the keyboard hook.
|
|
hook ( ) : void |
Installs the global hook
|
|
hookProc ( int code, int wParam, keyboardHookStruct &lParam ) : int |
The callback for the keyboard hook
|
|
unhook ( ) : void |
Uninstalls the global hook
|
Méthode | Description | |
---|---|---|
CallNextHookEx ( |
||
LoadLibrary ( string lpFileName ) : |
||
SetWindowsHookEx ( int idHook, keyboardHookProc callback, |
||
UnhookWindowsHookEx ( |
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 |
Résultat | int |