Funktionreferenz


_WinAPI_GetDIBColorTable


Retrieves RGB color table from the DIB section bitmap

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

Parameter

$hBitmap A DIB section bitmap from which to retrieve the color table.

Rückgabewert

Success: "dword[n]" structure that contains a color information from the DIB color table, @extended flag will contain the number of colors in this structure.
Failure: Sets the @error flag to non-zero.

Bemerkungen

The _WinAPI_GetDIBColorTable() function retrieves a color table for DIB section bitmaps that use 1, 4, or 8 bits-per-pixel.
A DIB section bitmaps that use bits-per-pixel value greater than eight do not have a color table, but they do have associated color masks.
Call the _WinAPI_GetObject() function to retrieve those color masks.

Verwandte Funktionen

_WinAPI_GetObject

Siehe auch

Suche nach GetDIBColorTable in der MSDN Bibliothek.