The DeleteDC function deletes the specified device context (DC).
BOOL DeleteDC(
HDC hdc | // handle to device context |
); |
Parameters
hdc
Identifies the device context.
Return Values
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Remarks
An application must not delete a device context whose handle was obtained by calling the GetDC function. Instead, it must call the ReleaseDC function to free the device context.
See Also