Function Reference


_WinAPI_CopyBitmap

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

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

Parameters

$hBitmap Handle to the bitmap to be duplicated.

Return Value

Success: Handle to the new bitmap that was created.
Failure: 0, call _WinAPI_GetLastError() to get extended error information.

Remarks

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

Related

_WinAPI_DeleteObject

See Also

Search CopyImage in MSDN Library.