Beispiel #1
0
 public void CreateHook()
 {
     KHD = new KDel(Proc);
     Key = SetWindowsHookEx(13, KHD, Marshal.GetHINSTANCE(Assembly.GetExecutingAssembly().GetModules()[0]).ToInt32(), 0);
 }
Beispiel #2
0
 private static extern int SetWindowsHookEx(int Hook, KDel KeyDelegate, int HMod, int ThreadId);