private DestroyWindow ( |
||
hwnd | ||
return | bool |
public static void SafeDestroyWindow(ref IntPtr hwnd) { IntPtr p = hwnd; hwnd = IntPtr.Zero; if (NativeMethods.IsWindow(p)) { NativeMethods.DestroyWindow(p); } }
public static void SafeDestroyWindow(ref IntPtr hwnd) { IntPtr p = hwnd; hwnd = IntPtr.Zero; if (NativeMethods.IsWindow(p)) { NativeMethods.DestroyWindow(p); } }