3.2.47 EMR_SETBKMODE Example 2

This section provides an example of the EMF EMR_SETBKMODE record.

 000006F0:             12 00 00 00 0C 00 00 00 02 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 (0x00000012)

Size (0x0000000C)

BackgroundMode (0x00000002)

Type (4 bytes): 0x00000012 identifies the record type as EMR_SETBKMODE.

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

BackgroundMode (4 bytes): 0x00000002 specifies OPAQUE background mode. This value is defined in the EMF BackgroundMode enumeration.