RGNDATAHEADER structure (wingdi.h)

The RGNDATAHEADER structure describes the data returned by the GetRegionData function.

Syntax

typedef struct _RGNDATAHEADER {
  DWORD dwSize;
  DWORD iType;
  DWORD nCount;
  DWORD nRgnSize;
  RECT  rcBound;
} RGNDATAHEADER, *PRGNDATAHEADER;

Members

dwSize

The size, in bytes, of the header.

iType

The type of region. This value must be RDH_RECTANGLES.

nCount

The number of rectangles that make up the region.

nRgnSize

The size of the RGNDATA buffer required to receive the RECT structures that make up the region. If the size is not known, this member can be zero.

rcBound

A bounding rectangle for the region in logical units.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header wingdi.h (include Windows.h)

See also

GetRegionData

RECT

RGNDATA

Region Structures

Regions Overview