NAME

NtGdiSetRectRgn  (WIN32U.@)

SYNOPSIS

 BOOL NtGdiSetRectRgn
 (
  HRGN hrgn,
  INT  left,
  INT  top,
  INT  right,
  INT  bottom
 )

DESCRIPTION

Sets a region to a simple rectangular region.

PARAMS

hrgn [In] Region to convert.
left [In] Left coordinate of rectangle.
top [In] Top coordinate of rectangle.
right [In] Right coordinate of rectangle.
bottom [In] Bottom coordinate of rectangle.

RETURNS

Success: Non-zero.

Failure: Zero.

NOTES

Allows either or both left and top to be greater than right or bottom.

IMPLEMENTATION

Declared in "include/ntgdi.h". gitlab.winehq.org/wine/wine/blob/master/include/ntgdi.h

Implemented in "dlls/win32u/region.c". gitlab.winehq.org/wine/wine/blob/master/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 Nov 2024.