SetEmptyRgn
SetEmptyRgn function destroys the structure of a region by disposing of any region data in the Region structure, and setting its rgnBBox rectangle to (0,0)(0,0).
theRgn is the handle of an existing region.
Notes: Any data accumulated via OpenRgn, or any of the mathematical destroyed by this call.
as the data), SetEmptyRgn retains the master pointer (so the region handle remains valid), but disposes of all region definition data except for
The rgnBBox field of the Region is set to the empty rectangle (0,0)(,0,0). The same effect can be obtained via:
Use the EmptyRgn function to find out is a region is already empty.