Beispiel #1
0
 public void UninstallHook()
 {
     WinAPI.UnhookWindowsHookEx(m_Hook);
     m_Hook = IntPtr.Zero;
 }
Beispiel #2
0
 public static void UninstallHook()
 {
     WinAPI.UnhookWindowsHookEx(m_Hook);
     WinAPI.DragAcceptFiles(mainWindow, false);
     m_Hook = IntPtr.Zero;
 }