Function Reference


_WinAPI_DeleteDC

Show description in

Deletes the specified device context

#include <WinAPIGdiDC.au3>
_WinAPI_DeleteDC ( $hDC )

Parameters

$hDC Identifies the device context to be deleted

Return Value

Success: True
Failure: False

Remarks

An application must not delete a DC whose handle was obtained by calling the _WinAPI_GetDC() function.
Instead, it must call the _WinAPI_ReleaseDC() function to free the DC.

Related

_WinAPI_CreateCompatibleDC, _WinAPI_GetDC, _WinAPI_ReleaseDC

See Also

Search DeleteDC in MSDN Library.