2.3.1.3.1 With Bitmap

This section specifies the structure of the META_DIBSTRETCHBLT Record (section 2.3.1.3) when it contains an embedded device-independent bitmap (DIB).

Fields not specified in this section are specified in the META_DIBSTRETCHBLT 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

...

SrcHeight

SrcWidth

YSrc

XSrc

DestHeight

DestWidth

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_DIBSTRETCHBLT. 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 DeviceIndependentBitmap Object (section 2.2.2.9) that defines image content. This object MUST be specified, even if the raster operation does not require a source.