This structure describes the data returned by the GetRegionData function.

typedef struct _RGNDATAHEADER { 
DWORD dwSize; 
DWORD iType; 
DWORD nCount; 
DWORD nRgnSize; 
RECT rcBound; 


  • dwSize
    Specifies the size, in bytes, of the header.
  • iType
    Specifies the type of region. This value must be RDH_RECTANGLES.
  • nCount
    Specifies the number of rectangles that make up the region.
  • nRgnSize
    Specifies the size of the buffer required to receive the RECT structure that specifies the coordinates of the rectangles that make up the region. If the size is not known, this member can be zero.
  • rcBound
    Specifies a bounding rectangle for the region.


Runs on Versions Defined in Include Link to
Windows CE OS 1.0 and later Wingdi.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

GetRegionData, RECT, RGNDATA

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.