3.2.44 EMR_SELECTPALETTE Example 2
This section provides an example of the EMF EMR_SELECTPALETTE record ([MS-EMF] section 2.3.8.6).
-
000006D0: 30 00 00 00 0C 00 00 00 0F 00 00 80
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Type (0x00000030) |
|||||||||||||||||||||||||||||||
|
Size (0x0000000C) |
|||||||||||||||||||||||||||||||
|
ihPal (0x8000000F) |
|||||||||||||||||||||||||||||||
Type (4 bytes): 0x00000030 identifies the record type as EMR_SELECTPALETTE.
Size (4 bytes): 0x0000000C specifies the size of this record in bytes.
ihPal (4 bytes): 0x8000000F specifies the palette index. The palette can be selected in background mode only.