A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



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

Library
Gdi32

Parameter Information
- hBitmap
Identifies the bitmap.

- dwCount
Length of the buffer.

- lpBits
Points to a buffer with the bitmap data.

Return Values
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.

Last update: 07 April 2006