Share via


Gdi::DeleteDC_I (Windows CE 5.0)

Send Feedback

This method deletes the specified device context.

static WINGDIAPI BOOL WINAPI DeleteDC_I(HDC hdc);

Parameters

  • hdc
    [in] Handle to the device context.

Return Values

Nonzero indicates success.

Zero indicates failure.

To get extended error information, call GetLastError.

Remarks

This method is an internal version of the DeleteDC function.

An application must not delete a device context for which the application obtained a handle by calling the GweBypassCoredllThunk_t::GetDC_I method. Instead, the application must call the GweBypassCoredllThunk_t::ReleaseDC_I method to free the device context.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Gdi.hpp.

See Also

Gdi | DeleteDC | GweBypassCoredllThunk_t::GetDC_I | GweBypassCoredllThunk_t::ReleaseDC_I

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.