C# Class YetAnotherRelogger.Helpers.Tools.KeyboardHook

Inheritance: IDisposable
Exibir arquivo Open project: sinterlkaas/YetAnotherRelogger Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
KeyboardHook ( ) : System
RegisterHotKey ( ModifierKeys modifier, Keys key ) : int

Registers a hot key in the system.

UnregisterHotkey ( int id ) : bool

Unregisters a hot key

Private Methods

Method Description
RegisterHotKey ( IntPtr hWnd, int id, uint fsModifiers, uint vk ) : bool
UnregisterHotKey ( IntPtr hWnd, int id ) : bool

Method Details

Dispose() public method

public Dispose ( ) : void
return void

KeyboardHook() public method

public KeyboardHook ( ) : System
return System

RegisterHotKey() public method

Registers a hot key in the system.
public RegisterHotKey ( ModifierKeys modifier, Keys key ) : int
modifier ModifierKeys The modifiers that are associated with the hot key.
key Keys The key itself that is associated with the hot key.
return int

UnregisterHotkey() public method

Unregisters a hot key
public UnregisterHotkey ( int id ) : bool
id int Hotkey id
return bool