C# Class Decchi.Utilities.GlobalKeyboardHook

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

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
hookProc ( int code, IntPtr wParam, NativeMethods &lParam ) : IntPtr

The callback for the keyboard hook

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GlobalKeyboardHook() public méthode

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

hook() public méthode

Installs the global hook
public hook ( ) : void
Résultat void

unhook() public méthode

Uninstalls the global hook
public unhook ( ) : void
Résultat void