2.3.8.2 EMR_DELETECOLORSPACE Record

The EMR_DELETECOLORSPACE record deletes a logical color space object.<77>


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

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

Size (4 bytes): An unsigned integer that specifies the size of this record in bytes.

ihCS (4 bytes): An unsigned integer that specifies the index of a logical color space object in the EMF object table (section 3.1.1.1).

The color space is specified by either a LogColorSpace or LogColorSpaceW object ([MS-WMF] sections 2.2.2.11 and 2.2.2.12, respectively). If the deleted color space is currently selected into the playback device context, the default object MUST be restored.

An EMR_DELETEOBJECT record (section 2.3.8.3) SHOULD be used instead of this record to delete a logical color space object.

See section 2.3.8 for more object manipulation record types.