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