Function Reference


_WinAPI_CreateBitmapIndirect

Creates a bitmap with the specified width, height, and color format (color planes and bits-per-pixel)

#include <WinAPIGdi.au3>
_WinAPI_CreateBitmapIndirect ( $tBITMAP )

Parameters

$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.

Return Value

Success: Handle to the device-dependent (DDB) bitmap.
Failure: 0.

Remarks

When you no longer need the bitmap, call the _WinAPI_DeleteObject() function to delete it.

Related

_WinAPI_DeleteObject

See Also

Search CreateBitmapIndirect in MSDN Library.