###User Defined Function###
_WinAPI_DeleteObject

###Description###
Deletes a logical pen, brush, font, bitmap, region, or palette

###Syntax###
#include <WinAPI.au3>
_WinAPI_DeleteObject ( $hObject )


###Parameters###
@@ParamTable@@
$hObject
	Identifies a logical pen, brush, font, bitmap, region, or palette
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	True
Failure:	False
@@End@@


###Remarks###
Do not delete a drawing object while it is still selected into a device context.
When a pattern brush is deleted the bitmap associated with the brush is not deleted.
The bitmap must be deleted independently.


###Related###
_GDIPlus_BitmapCloneArea, _GDIPlus_BitmapCreateFromFile, _GDIPlus_BitmapCreateFromGraphics, _GDIPlus_BitmapCreateFromHBITMAP, _GDIPlus_BitmapCreateHBITMAPFromBitmap, _GDIPlus_BitmapLockBits, _GDIPlus_BitmapUnlockBits, _ScreenCapture_Capture, _ScreenCapture_CaptureWnd, _WinAPI_CreateCompatibleBitmap, _WinAPI_CreatePen, _WinAPI_CreateRectRgn, _WinAPI_CreateRoundRectRgn


###See Also###
@@MsdnLink@@ DeleteObject


###Example###
@@IncludeExample@@
