GetRegionData.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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 "wingdi.h".

Implemented in "dlls/gdi32/region.c".

Debug channel "region".