예제 #1
0
 public static void UninstallHook()
 {
     if (WKBHookInstance != null)
     {
         NativeImport.UnhookWindowsHookEx(WKBHookInstance);
         Logger.Log("Uninstalled Keyboard hook.");
     }
 }
예제 #2
0
 public void UninstallHooks()
 {
     NativeImport.UnhookWindowsHookEx(wMSHookInstance);
     NativeImport.UnhookWindowsHookEx(wKBHookInstance);
 }