C# Class Longkong.WinFormsUI.LocalWindowsHook

Exibir arquivo Open project: Longkong/Pojjaman Class Usage Examples

Public Methods

Method Description
CoreHookProc ( int code, IntPtr wParam, IntPtr lParam ) : int
Install ( ) : void
LocalWindowsHook ( HookType hook ) : System
LocalWindowsHook ( HookType hook, HookProc func ) : System
Uninstall ( ) : void

Protected Methods

Method Description
OnHookInvoked ( HookEventArgs e ) : void

Private Methods

Method Description
CallNextHookEx ( IntPtr hhook, int code, IntPtr wParam, IntPtr lParam ) : int
SetWindowsHookEx ( HookType code, HookProc func, IntPtr hInstance, int threadID ) : IntPtr
UnhookWindowsHookEx ( IntPtr hhook ) : int

Method Details

CoreHookProc() public method

public CoreHookProc ( int code, IntPtr wParam, IntPtr lParam ) : int
code int
wParam System.IntPtr
lParam System.IntPtr
return int

Install() public method

public Install ( ) : void
return void

LocalWindowsHook() public method

public LocalWindowsHook ( HookType hook ) : System
hook HookType
return System

LocalWindowsHook() public method

public LocalWindowsHook ( HookType hook, HookProc func ) : System
hook HookType
func HookProc
return System

OnHookInvoked() protected method

protected OnHookInvoked ( HookEventArgs e ) : void
e HookEventArgs
return void

Uninstall() public method

public Uninstall ( ) : void
return void