次の方法で共有


2.3.7.2 EMR_CREATECOLORSPACE Record

The EMR_CREATECOLORSPACE record creates a logical color space object from a color profile with a name consisting of ASCII characters.<72>

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


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

ihCS

lcs (variable)

...

Type (4 bytes): An unsigned integer that identifies this record type as EMR_CREATECOLORSPACE. This value is 0x00000063.

ihCS (4 bytes): An unsigned integer that specifies the index of the logical color space object in the EMF object table (section 3.1.1.1). This index MUST be saved so that this object can be reused or modified.

lcs (variable): A LogColorSpace object ([MS-WMF] section 2.2.2.11), which can specify the name of a color profile in ASCII characters.

The logical color space object defined by this record can be selected into the playback device context by an EMR_SETCOLORSPACE record (section 2.3.8.7), which defines the logical color space to use in subsequent graphics operations.

See section 2.3.7 for more object creation record types.