public WindowsHook(WindowsHook.HookType hook) { this.hookType = hook; this.hookFunc = new WindowsHook.HookProc(this.CoreHookProc); }
private static extern IntPtr SetWindowsHookEx( WindowsHook.HookType code, WindowsHook.HookProc func, IntPtr hInstance, int threadID);