CRgn::GetRegionData

Call this member function to fill the specified buffer with data describing the region. The data includes the dimensions of the rectangles that make up the region.

Syntax

Int GetRegionData ( LPRGNDATA lpRgnData, int nCount ) const;

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

Remarks

Windows CE version 1.0 represents regions differently than other platforms. A Windows CE 1.0 implementation of CRgn::GetRegionData may return a greater number of rectangles representing a region than Windows 95 and Windows NT.

In Windows CE versions 2.0 and later, this function is exactly the same as it is in the standard MFC library.

See Also

CRgn Overview, CRgn Member Functions, Graphical Drawing Object Classes