GetRegionData(3w)
NAME
GetRegionData (GDI32.@)
SYNOPSIS
DWORD GetRegionData ( HRGN hrgn, DWORD count, LPRGNDATA rgndata )
DESCRIPTION
Retrieves the data that specifies the region.
PARAMS
hrgn [In] Region to retrieve the region data from.
count [In] The size of the buffer pointed to by rgndata in bytes.
rgndata [In] The buffer to receive data about the region.
RETURNS
Success: If rgndata is NULL then the required number of bytes. Otherwise, the number of bytes copied to the output buffer.
Failure: 0.
NOTES
The format of the Buffer member of RGNDATA is determined by the iType
member of the region data header. Currently this is always RDH_RECTANGLES, which specifies that the format is the array of RECT's that specify the region. The length of the array is specified by the nCount member of the region data header.
IMPLEMENTATION
Defined in "gdiplusflat.h".
Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/gdi32/region.c".
- Debug channel "region".