CRgn::GetRegionData

This method fills the specified buffer with data describing the region. The data includes the dimensions of the rectangles that make up the region.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

Int GetRegionData ( LPRGNDATA lpRgnData, int nCount ) const;

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 method is exactly the same as it is in standard MFC.