Creates a bitmap with the specified width, height, and color format (color planes and bits-per-pixel)
#include <WinAPIGdi.au3>
_WinAPI_CreateBitmapIndirect ( $tBITMAP )
$tBITMAP | $tagBITMAP structure that contains information about the bitmap. If an application sets the "bmWidth" or "bmHeight" members to zero, _WinAPI_CreateBitmapIndirect() returns the handle to a 1-by-1 pixel, monochrome bitmap. |
Success: | Handle to the device-dependent (DDB) bitmap. |
Failure: | 0. |
When you no longer need the bitmap, call the _WinAPI_DeleteObject() function to delete it.
Search CreateBitmapIndirect in MSDN Library.