CSharpGL.Win32.DestroyWindow C# (CSharp) Метод

DestroyWindow() приватный Метод

private DestroyWindow ( IntPtr hWnd ) : bool
hWnd IntPtr
Результат bool
        internal static extern bool DestroyWindow(IntPtr hWnd);

Usage Example

        /// <summary>
        /// Destroys the render context provider instance.
        /// </summary>
        protected override void DisposeUnmanagedResources()
        {
            //	Release the device context.
            Win32.ReleaseDC(windowHandle, this.DeviceContextHandle);

            //	Destroy the window.
            Win32.DestroyWindow(windowHandle);

            //	Call the base, which will delete the render context handle.
            base.DisposeUnmanagedResources();
        }
All Usage Examples Of CSharpGL.Win32::DestroyWindow