HRGN ExtCreateRegion(lpXform, nCount, lpRgnData) | |||
LPXFORM lpXform; | |||
DWORD nCount; | |||
LPRGNDATA lpRgnData; |
The ExtCreateRegion function creates a region from the region data given by the lpRgnData parameter. lpXform, if given, defines the region transformation.
lpXform
This is a pointer to a XFORM structure which defines the transform to be performed on the region data. If NULL, it is an identity transform.
nCount
Specifies the number of bytes pointed to by lpRgnData.
lpRgnData
Points to the buffer that contains the region data.
The return value identifies a new region if the function is successful. Otherwise, it is NULL.
This call is used in conjunction with the GetRegionData call. Use GetRegionData to fill in the RGNDATA structure. Use ExtCreateRegion to recreate the region.
GetRegionData