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 "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 © 2022 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jan 2022.