 |
GetRegionData ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Fills the specified buffer with data describing a region. This data includes the dimensions of the rectangles that make up the region. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
DWORD GetRegionData(
HRGN hRgn, // handle to region
DWORD dwCount, // size of region data buffer
LPRGNDATA lpRgnData // region data buffer
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER GetRegionData IN gdi32;
INTEGER hRgn,;
INTEGER dwCount,;
STRING @ lpRgnData
|
 |
 |
 |
| Parameters: |
 |
hRgn
[in] Handle to the region.
dwCount
[in] Specifies the size, in bytes, of the lpRgnData buffer.
lpRgnData
[out] Pointer to a RGNDATA structure that receives the information. |
 |
 |
| Return value: |
 |
| If the function succeeds and dwCount specifies an adequate number of bytes, the return value is always dwCount. |
 |
 |
| My comment: |
 |
| A quite usefull function if you need to know geometrical parameters for a region defined by a handle. |
 |
 |
| Word Index links for the GetRegionData : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-08-27 12:00:00 | | Modified: | 2001-11-26 16:03:25 | Visited in last 7 days: 35 |