SetBitmapBits

機能
ビットマップのデータを指定の値で設定する
Declare Function SetBitmapBits lib "gdi32.dll" _
(ByVal hBitmap As Long, ByVal dwCount As Long, lpBits As Any) As Long
Declare Function SetBitmapBits lib "gdi32.dll" _
(ByVal hBitmap As Integer, ByVal dwCount As Integer, lpBits As Integer) As Integer
引数
hBitmap
ビットマップのハンドル
dwCount
lpBitsのバイト数
lpBits
ビットマップビットのバイト配列
戻り値
成功したとき            ビットマッビットのコピーされたバイト数
失敗したとき            0
備考
32ビット版ではSetDIBits()関数を使う。