3.2.58 EMR_COMMENT_BEGINGROUP Example
This section provides an example of the EMF EMR_COMMENT_BEGINGROUP record ([MS-EMF] section 2.3.3.4.1).
-
000007A0: 46 00 00 00 000007B0: 60 00 00 00 52 00 00 00 47 44 49 43 02 00 00 00 000007C0: 00 00 00 00 00 00 00 00 66 00 00 00 6C 00 00 00 000007D0: 1B 00 00 00 41 00 70 00 70 00 4E 00 61 00 6D 00 000007E0: 65 00 00 00 49 00 6D 00 61 00 67 00 65 00 20 00 000007F0: 44 00 65 00 73 00 63 00 72 00 69 00 70 00 74 00 00000800: 69 00 6F 00 6E 00 00 00 00 00 00 00
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Type (0x00000046) |
|||||||||||||||||||||||||||||||
Size (0x00000060) |
|||||||||||||||||||||||||||||||
DataSize (0x00000052) |
|||||||||||||||||||||||||||||||
Identifier ("GDIC") |
|||||||||||||||||||||||||||||||
CommentType (0x00000002) |
|||||||||||||||||||||||||||||||
OutputRect (0x00000000) |
|||||||||||||||||||||||||||||||
... (0x00000000) |
|||||||||||||||||||||||||||||||
... (0x00000066) |
|||||||||||||||||||||||||||||||
... (0x0000006C) |
|||||||||||||||||||||||||||||||
nDescription (0x0000001B) |
|||||||||||||||||||||||||||||||
Description ("AppName Image Description") (60 bytes) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
Type (4 bytes): 0x00000046 identifies the record type as EMF comment ([MS-EMF] section 2.3.3).
Size (4 bytes): 0x00000060 specifies the size of this record in bytes.
DataSize (4 bytes): 0x00000052 specifies the size of the following fields and data in bytes.
Identifier (4 bytes): "GDIC" identifies this record as EMF EMR_COMMENT_PUBLIC ([MS-EMF] section 2.3.3.4).
CommentType (4 bytes): 0x00000002 identifies the type of EMR_COMMENT_PUBLIC record as EMR_COMMENT_BEGINGROUP, from the EMF EmrComment enumeration ([MS-EMF] section 2.1.10).
OutputRect (16 bytes): (0x00000000, 0x00000000, 0x00000066, 0x0000006C) defines a WMF RectL object ([MS-WMF] section 2.2.2.19), which defines the bounding rectangle for output in logical units.
nDescription (4 bytes): 0x0000001B specifies the number of Unicode characters in the description string.
Description (60 bytes): "AppName Image Description".