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 值. |
在MSDN中搜索