Compartilhar via


DeleteDC (Windows CE 5.0)

Send Feedback

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

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.