RGNDATAHEADER

typedef struct _RGNDATAHEADER { /* rgndh */

DWORD dwSize;

DWORD iType;

DWORD nCount;

DWORD nRgnSize;

RECT rcBound;

} RGNDATAHEADER, *PRGNDATAHEADER;

The RGNDATAHEADER structure describes the data returned by the GetRegionData function and is sent to the ExtCreateRegion function. This data is a list of rectangles that matches the shape of the region. Rectangles are sorted top to bottom, left to right. They do not overlap.

Members

dwSize

The size of the header in bytes.

iType

The type of objects in the buffer, currently must be RDH_RECTANGLES.

nCount

The number of objects in the buffer.

nRgnSize

Smallest size region that will hold this list of objects.

rcBound

Bounding rectangle for the objects in this list.

Comments

The region data is contained in a RGNDATA structure.

See Also

RGNDATA