C# Class Balloon.NET.Hooks.WindowsHook

Inheritance: System.ComponentModel.Component
Mostra file Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Public Methods

Method Description
HookCurrentThread ( ) : void
WindowsHook ( ) : System
WindowsHook ( System container ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void
OnCallWndProcHook ( object key, CallWndProcHookEventArgs e ) : void
OnCallWndRetProcHook ( object key, CallWndProcRetHookEventArgs e ) : void
OnKeyBoardHook ( object hook, KeyBoardHookEventArgs e ) : void
OnMouseHook ( object hook, MouseHookEventArgs e ) : void

Private Methods

Method Description
AddHookEventHandler ( HookType type, Type classType, Delegate value ) : void
GetCurrentThreadId ( ) : int
GetHookObjectForType ( HookType type ) : BaseHook
RemoveHookEventHandler ( HookType type, Delegate value ) : void

Method Details

Dispose() protected method

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

HookCurrentThread() public method

public HookCurrentThread ( ) : void
return void

OnCallWndProcHook() protected method

protected OnCallWndProcHook ( object key, CallWndProcHookEventArgs e ) : void
key object
e CallWndProcHookEventArgs
return void

OnCallWndRetProcHook() protected method

protected OnCallWndRetProcHook ( object key, CallWndProcRetHookEventArgs e ) : void
key object
e CallWndProcRetHookEventArgs
return void

OnKeyBoardHook() protected method

protected OnKeyBoardHook ( object hook, KeyBoardHookEventArgs e ) : void
hook object
e KeyBoardHookEventArgs
return void

OnMouseHook() protected method

protected OnMouseHook ( object hook, MouseHookEventArgs e ) : void
hook object
e MouseHookEventArgs
return void

WindowsHook() public method

public WindowsHook ( ) : System
return System

WindowsHook() public method

public WindowsHook ( System container ) : System
container System
return System