protected void DestroyFakeWnd() { if (m_FakeWndHandle != IntPtr.Zero) { NativeMethods.DestroyWindow(m_FakeWndHandle); m_FakeWndHandle = IntPtr.Zero; NativeMethods.UnregisterClass(m_WndClsName, NativeMethods.GetModuleHandle(null)); } }