ビットマップのデータを指定の値で設定する
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
ビットマップのハンドルdwCount
lpBitsのバイト数lpBits
ビットマップビットのバイト配列戻り値
成功したとき ビットマッビットのコピーされたバイト数備考
失敗したとき 0
32ビット版ではSetDIBits()関数を使う。