Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This function deletes the specified device context (DC).
BOOLDeleteDC(HDChdc);
Parameters
- hdc
[in] Handle to the device context.
Return Values
Nonzero indicates success.
Zero indicates failure.
To get extended error information, call GetLastError.
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.
Requirements
OS Versions: Windows CE 1.0 and later.
Header: Windows.h.
Link Library: Coredll.lib.
See Also
GetDC | ReleaseDC | GDI Functions
Send Feedback on this topic to the authors