SetBitmapBits The SetBitmapBits function sets the bits of color data for a bitmap to the specified values.
VB4-32,5,6
Declare Function SetBitmapBits Lib "gdi32" Alias "SetBitmapBits" (ByVal hBitmap As Long, ByVal dwCount As Long, lpBits As Any) As Long |
Operating Systems Supported |
Requires Windows NT 3.1 or later; Requires Windows 95 or later |
- hBitmap
Identifies the bitmap.
- dwCount
Length of the buffer.
- lpBits
Points to a buffer with the bitmap data. |
If the function succeeds, the return value is the number of bytes used in setting the bitmap bits.
If the function fails, the return value is zero. |
|