C# Класс YetAnotherRelogger.Helpers.Tools.KeyboardHook

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
RegisterHotKey ( IntPtr hWnd, int id, uint fsModifiers, uint vk ) : bool
UnregisterHotKey ( IntPtr hWnd, int id ) : bool

Описание методов

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

KeyboardHook() публичный Метод

public KeyboardHook ( ) : System
Результат System

RegisterHotKey() публичный Метод

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.
Результат int

UnregisterHotkey() публичный Метод

Unregisters a hot key
public UnregisterHotkey ( int id ) : bool
id int Hotkey id
Результат bool