Piccolo.NET

PXUtil.ReleaseDC Method 

Imports the GDI ReleaseDC function that releases a device context (DC), freeing it for use by other applications.

public static int ReleaseDC(
   IntPtr hWnd,
   IntPtr hDC
);

Parameters

hWnd
Handle to the window whose DC is to be released.
hDC
Handle to the DC to be released.

Return Value

1 if the DC was released; otherwise, zero.

See Also

PXUtil Class | UMD.HCIL.PiccoloX.Util Namespace