2.3.2.2 EMR_EXTSELECTCLIPRGN Record

The EMR_EXTSELECTCLIPRGN record combines the specified region with the current clipping region using the specified mode.

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


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

RgnDataSize

RegionMode

RgnData (variable)

...

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

RgnDataSize (4 bytes): An unsigned integer that specifies the size of the RgnData field in bytes.

RegionMode (4 bytes): An unsigned integer that specifies the way to use the region. This value is in the RegionMode (section 2.1.29) enumeration.

RgnData (variable): An array of bytes that specifies a RegionData object (section 2.2.24) in logical units. If RegionMode is RGN_COPY, this data can be omitted and the clipping region SHOULD be set to the default clipping region.

See section 2.3.2 for more clipping record types.