private static object _DestroyWindow(IntPtr hwnd, string className) { Utility.SafeDestroyWindow(ref hwnd); NativeMethodsShell.UnregisterClass(className, NativeMethodsShell.GetModuleHandle(null)); return(null); }