CBitmap::SetBitmapBits

Syntax

DWORD SetBitmapBits( DWORD dwCount, LPSTR lpBits );

Parameters

dwCount

Specifies the number of bytes pointed to by lpBits.

lpBits

Points to the BYTE array that contains the bit values to be copied to the CBitmap object.

Remarks

Sets the bits of a bitmap to the bit values given by lpBits.

Return Value

The number of bytes used in setting the bitmap bits; 0 if the function fails.

See Also

::SetBitmapBits