Scroll to navigation

GetRegionData(3w) Wine API 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

Declared in "gdiplusflat.h".
Implemented in "dlls/gdi32/region.c".
Debug channel "region".
Oct 2012 Wine API