C# Class TpTrayUtility.Components.GlobalMouseHook

Inheritance: IDisposable
Exibir arquivo Open project: TargetProcess/Tp.TrayUtility

Public Methods

Method Description
Dispose ( ) : void
MouseHookProc ( int nCode, IntPtr wParam, IntPtr lParam ) : int
RemoveHook ( ) : void
SetHook ( ) : void

Private Methods

Method Description
CallNextHookEx ( int idHook, int nCode, IntPtr wParam, IntPtr lParam ) : int
GetModuleHandle ( string lpModuleName ) : IntPtr
SetWindowsHookEx ( int idHook, HookProc lpfn, IntPtr hInstance, int threadId ) : int
UnhookWindowsHookEx ( int idHook ) : bool

Method Details

Dispose() public method

public Dispose ( ) : void
return void

MouseHookProc() public method

public MouseHookProc ( int nCode, IntPtr wParam, IntPtr lParam ) : int
nCode int
wParam System.IntPtr
lParam System.IntPtr
return int

RemoveHook() public method

public RemoveHook ( ) : void
return void

SetHook() public method

public SetHook ( ) : void
return void