次の方法で共有


2.3.3.4 EMR_COMMENT_PUBLIC Record Types

The EMR_COMMENT_PUBLIC record types specify extensions to EMF processing.

Following are the EMF public comment record types that have been defined.

Name

Section

Description

EMR_COMMENT_BEGINGROUP

2.3.3.4.1

Specifies the beginning of a group of drawing records.

EMR_COMMENT_ENDGROUP

2.3.3.4.2

Specifies the end of a group of drawing records.

EMR_COMMENT_MULTIFORMATS

2.3.3.4.3

Specifies an image in multiple graphics formats.

EMR_COMMENT_WINDOW_METAFILE

2.3.3.4.4

Specifies an image in an embedded WMF metafile.

The generic structure of EMR_COMMENT_PUBLIC records is specified as follows.

Fields not specified in this section are specified in section 2.3.3.


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

Size

DataSize

CommentIdentifier

PublicCommentIdentifier

PublicCommentRecordBuffer (variable, optional)

...

CommentIdentifier (4 bytes): An unsigned integer that identifies this comment record as specifying public data. The value 0x43494447, which is the ASCII string "CIDG", identifies this as an EMR_COMMENT_PUBLIC record.

PublicCommentIdentifier (4 bytes): An unsigned integer that identifies the type of public comment record. This SHOULD be one of the values listed in the preceding table, which are specified in the EmrComment enumeration (section 2.1.10), unless additional public comment record types have been implemented on the print server.

PublicCommentRecordBuffer (variable, optional): An array of bytes that contains the remainder of the public comment record.


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

PublicCommentRecordParm (variable)

...

AlignmentPadding (variable, optional)

...

PublicCommentRecordParm (variable): An array of bytes that contains the parameters for the public comment record.

AlignmentPadding (variable, optional): An array of up to 3 bytes that pads the record so that its total size is a multiple of 4 bytes. This field MUST be ignored.

See section 2.3.3 for more comment record types.