NAME

NtGdiGetRegionData  (WIN32U.@)

SYNOPSIS

 DWORD NtGdiGetRegionData
 (
  HRGN     hrgn,
  DWORD    count,
  RGNDATA* 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 "ntgdi.h". https://source.winehq.org/source/include/ntgdi.h

Implemented in "dlls/win32u/region.c". https://source.winehq.org/source/dlls/win32u/region.c

Debug channel "region".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Apr 2024.