函数参考


_WinAPI_SetDIBColorTable

Sets RGB color table in the DIB section bitmap.

#Include <WinAPIEx.au3>
_WinAPI_SetDIBColorTable ( $hBitmap, $tColorTable, $iColorCount )

参数

$hBitmap A DIB section bitmap in which to set the color table.
$tColorTable "dword[n]" structure that represents a DIB color table that to be set.
$iColorCount The number of color table entries to set.

返回值

Success The number of color table entries that the function sets.
失败: 返回 0 并设置 @error 标志为非 0 值.

注意/说明

The _WinAPI_GetDIBColorTable() function sets 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.

相关

详情参考

在MSDN中搜索