LONG SetBitmapBits(hBitmap,dwCount,lpBits)
This function sets the bits of a bitmap to the bit values given by the lpBits parameter.
Parameter | Type/Description |
hBitmap | HBITMAP Identifies the bitmap to be set. | |
dwCount | DWORD Specifies the number of bytes pointed to by lpBits. | |
lpBits | LPSTR Points to the bitmap bits that are stored as a long pointer to a byte array. |
The return value specifies the number of bytes used in setting the bitmap bits. It is zero if the function fails.