BOOL DeleteDC(hdc) | |||
HDC hdc; |
The DeleteDC function deletes the specified device context.
hdc
Identifies the device context.
The return value is TRUE if the device context was successfully deleted, otherwise it is FALSE.
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.
GetDC, ReleaseDC CreateDC