3.2.19 EMR_SETSTRETCHBLTMODE Example 1

This section provides an example of the EMF EMR_SETSTRETCHBLTMODE record ([MS-EMF] section 2.3.11.24).

 00000150: 15 00 00 00 0C 00 00 00 01 00 00 00


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 (0x00000015)

Size (0x0000000C)

StretchMode (0x00000001)

Type (4 bytes): 0x00000015 identifies the record type as EMR_SETSTRETCHBLTMODE.

Size (4 bytes): 0x0000000C specifies the size of this record in bytes.

StretchMode (4 bytes): 0x00000001 specifies a Boolean AND operation using the color values for the eliminated and existing pixels, from the EMF StretchMode enumeration.