Gdi32DeleteDC Method

Overload List

DeleteDC(IntPtr) Deletes the specified device context (DC).

An application must not delete a DC whose handle was obtained by calling the GetDC(IntPtr) function. instead, it must call the ReleaseDC(IntPtr, IntPtr) function to free the DC.

DeleteDC(SafeHandle) Deletes the specified device context (DC).

An application must not delete a DC whose handle was obtained by calling the GetDC(IntPtr) function. instead, it must call the ReleaseDC(IntPtr, IntPtr) function to free the DC.

See Also