Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer


Creates a region from the given region and transformation data.

BOOL CreateFromData( 
   const XFORM* lpXForm, 
   int nCount, 
   const RGNDATA* pRgnData  


Points to an XFORM data structure that defines the transformation to be performed on the region. If this pointer is NULL, the identity transformation is used.


Specifies the number of bytes pointed to by pRgnData.


Points to a RGNDATA data structure that contains the region data.

Nonzero if the function is successful; otherwise 0.

An application can retrieve data for a region by calling the CRgn::GetRegionData function.

Header: afxwin.h

© 2015 Microsoft