RGNDATA Structure
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at RGNDATA Structure.
The RGNDATA
structure contains a header and an array of rectangles that compose a region. These rectangles, sorted top to bottom left to right, do not overlap.
Syntax
typedef struct _RGNDATA { /* rgnd */
RGNDATAHEADER rdh;
char Buffer[1];
} RGNDATA;
Parameters
rdh
Specifies a RGNDATAHEADER structure. (For more information on this structure, see the Windows SDK.) The members of this structure specify the type of region (whether it is rectangular or trapezoidal), the number of rectangles that make up the region, the size of the buffer that contains the rectangle structures, and so on.
Buffer
Specifies an arbitrary-size buffer that contains the RECT structures that make up the region.
Requirements
Header: wingdi.h
See Also
Structures, Styles, Callbacks, and Message Maps
CRgn::CreateFromData
CRgn::GetRegionData