Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

DeleteDC (Compact 2013)

3/28/2014

This function deletes the specified device context (DC).


BOOL DeleteDC(
  HDC hdc
); 
hdc

[in] Handle to the device context.

Nonzero indicates success.

Zero indicates failure.

To get extended error information, call GetLastError.

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.

Header

windows.h

Library

coredll.lib

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.