###User Defined Function###
_WinAPI_Create32BitHBITMAP

###Description###
Creates a 32 bits-per-pixel bitmap from the specified icon.

###Syntax###
#include <WinAPIGdi.au3>
_WinAPI_Create32BitHBITMAP ( $hIcon [, $fDib = 0 [, $fDelete = 0]] )


###Parameters###
@@ParamTable@@
$hIcon
	Handle to the source icon.
$fDib
	[optional] Specifies whether to create device-independent (DIB) or device-dependent (DDB) bitmap, valid values:
	True    - Creates DIB.
	False   - Creates DDB (Default).
$fDelete
	[optional] Specifies whether to delete the icon after the function is successful, valid values:
	True    - Icon will be deleted if the function succeeds.
	False   - Do not delete, you must release the icon when you are finished using it (Default).
@@End@@

###ReturnValue###
@@ReturnTable@@
Success 	Handle to the created bitmap.
Failure 	0 and sets the @error flag to non-zero.
@@End@@


###Remarks###
The <a href="_WinAPI_Create32BitHBITMAP.htm">_WinAPI_Create32BitHBITMAP()</a> creates a 32 bits-per-pixel bitmap with alpha chanel (if possible) from the icons with any color depth.
The function internally converts the specified icon to the 32 bits-per-pixel icon.

When you are finished using the bitmap, destroy it using the <a href="_WinAPI_DeleteObject.htm">_WinAPI_DeleteObject()</a> function.


###Related###
_WinAPI_DeleteObject


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