###User Defined Function###
_WinAPI_CopyBitmap

###Description###
Creates a duplicate of a specified bitmap with a device-independent bitmap (DIB) section.

###Syntax###
#include <WinAPIGdi.au3>
_WinAPI_CopyBitmap ( $hBitmap )


###Parameters###
@@ParamTable@@
$hBitmap
	Handle to the bitmap to be duplicated.
@@End@@

###ReturnValue###
@@ReturnTable@@
Success 	Handle to the new bitmap that was created.
Failure 	0, call <a href="_WinAPI_GetLastError.htm">_WinAPI_GetLastError()</a> to get extended error information.
@@End@@


###Remarks###
When you are finished using the bitmap, destroy it using the _WinAPI_DeleteObject() function.


###Related###
_WinAPI_DeleteObject


###See Also###
@@MsdnLink@@ CopyImage
