Funktionreferenz


_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 )

Parameter

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

Rückgabewert

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

Bemerkungen

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

Verwandte Funktionen

_WinAPI_DeleteObject

Siehe auch

Suche nach CreateBitmapIndirect in der MSDN Bibliothek.