2.2.3.3 CLIPDATA_BITMAP

The CLIPDATA_BITMAP structure contains bitmap data.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Type

Width

Height

WidthBytes

Planes

BitsPixel

unused

BitmapData (variable)

...

Type (2 bytes): A 16-bit unsigned integer that specifies the bitmap type. MUST be set to 0x0000.

Width (2 bytes): A 16-bit unsigned integer that specifies the width, in pixels, of the bitmap.

Height (2 bytes): A 16-bit unsigned integer that specifies the height, in pixels, of the bitmap.

WidthBytes (2 bytes): A 16-bit unsigned integer that specifies the number of bytes in each scan line. This value MUST be divisible by 2, because the system assumes that the bit values in a bitmap form an array that is word aligned.

Planes (1 byte): An 8-bit unsigned integer that specifies the count of color planes.

BitsPixel (1 byte): An 8-bit unsigned integer that specifies the number of bits required to indicate the color of a pixel.

unused (1 byte): Unused. SHOULD be zero.

BitmapData (variable): An array of byte values forming the bitmap data as specified by the previous fields.