int GetMetaRgn(hdc, hrgn) | |||||
HDC hdc; | /* handle of device context | */ | |||
HRGN hrgn; | /* handle of region | */ |
The GetMetaRgn function retrieves the current meta-region for the specificed device context.
hdc
Identifies the device context.
hrgn
Identifies an existing region before the function executes. Identifies a copy of the current meta-region after the function executes.
The return value is one if the function is successful. Otherwise it is zero.
If the function executes successfully, hrgn identifies a copy of the current meta-region. Subsequent changes to this copy will not affect the current meta-region.
The current clipping of a device context is defined by the intersection of its clip region and its meta region.
SetMetaRgn