2.3.1.1.1 With Bitmap

This section specifies the structure of the META_BITBLT Record (section 2.3.1.1) when it contains an embedded bitmap.

Fields not specified in this section are specified in the META_BITBLT Record section.


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

RecordSize

RecordFunction

RasterOperation

...

YSrc

XSrc

Height

Width

YDest

XDest

Target (variable)

...

RecordFunction (2 bytes): A 16-bit unsigned integer that defines this WMF record type. The low-order byte MUST match the low-order byte of the RecordType Enumeration (section 2.1.1.1) table value META_BITBLT. The high-order byte MUST contain a value equal to the number of 16-bit WORD structures, defined in [MS-DTYP] section 2.2.61, in the record minus the number of WORDs in the RecordSize and Target fields. That is:

            
 RecordSize - (2 + (sizeof(Target)/2))
            

Target (variable): A variable-sized Bitmap16 Object (section 2.2.2.1) that defines source image content. This object MUST be specified, even if the raster operation does not require a source.