C# Class Decchi.Utilities.GlobalKeyboardHook

A class that manages a global low level keyboard hook
Inheritance: IDisposable
Show file Open project: Usagination/Decchi Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
GlobalKeyboardHook ( ) : System

Initializes a new instance of the globalKeyboardHook class and installs the keyboard hook.

hook ( ) : void

Installs the global hook

unhook ( ) : void

Uninstalls the global hook

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
hookProc ( int code, IntPtr wParam, NativeMethods &lParam ) : IntPtr

The callback for the keyboard hook

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GlobalKeyboardHook() public method

Initializes a new instance of the globalKeyboardHook class and installs the keyboard hook.
public GlobalKeyboardHook ( ) : System
return System

hook() public method

Installs the global hook
public hook ( ) : void
return void

unhook() public method

Uninstalls the global hook
public unhook ( ) : void
return void