由DIB创建合适的位图(DDB)并设置合适的位图数位
#Include <WinAPIEx.au3>
_WinAPI_CreateDIBitmap ( $hDC, $tBITMAPINFO, $iUsage [, $pBits] )
| $hDC | 设备环境句柄. |
| $tBITMAPINFO | 由$pBits参数指定的用于描述位图尺寸和颜色格式的$tagBITMAPINFO结构 |
| $iUsage | 使用的颜色格式. 可为: $DIB_PAL_COLORS - 由颜色索引指定 $DIB_RGB_COLORS - 由RGB值指定 |
| $pBits | [可选参数] A pointer to an array of bytes containing the initial bitmap data. |
| 成功: | 无论是否所参考环境的位深的兼容位图的句柄 |
| 失败: | 返回 0设置@error 非0 |
在MSDN中搜索