C# Class CodeProject.Win32API.Hook.WndProcRetHook

Class to expose the windows WH_CALLWNDPROCRET hook mechanism.
Inheritance: WindowsHook
Datei anzeigen Open project: Duke-Jones/ED-IBE Class Usage Examples

Public Methods

Method Description
WndProcRetHook ( IntPtr hWndHooked ) : System

Construct a WH_CALLWNDPROCRET hook.

WndProcRetHook ( IntPtr hWndHooked, HookProc func ) : System

Construct a WH_CALLWNDPROCRET hook giving a hook filter delegate method.

Private Methods

Method Description
WndProcRetHookInvoked ( object sender, HookEventArgs e ) : void

Method Details

WndProcRetHook() public method

Construct a WH_CALLWNDPROCRET hook.
public WndProcRetHook ( IntPtr hWndHooked ) : System
hWndHooked System.IntPtr /// Handle of the window to be hooked. IntPtr.Zero to hook all window. ///
return System

WndProcRetHook() public method

Construct a WH_CALLWNDPROCRET hook giving a hook filter delegate method.
public WndProcRetHook ( IntPtr hWndHooked, HookProc func ) : System
hWndHooked System.IntPtr /// Handle of the window to be hooked. IntPtr.Zero to hook all window. ///
func HookProc Hook filter event.
return System