SetRectRgn3w
Usage
BOOL SetRectRgn
(
HRGN hrgn,
INT left,
INT top,
INT right,
INT bottom
)
Overview
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 "wingdi.h".
Implemented in "dlls/gdi32/region.c".
Debug channel "region".
Releases
5 releases since Debian 2.1 (Slink); the text changed 4 times.