Scroll to navigation

SetRectRgn(3w) Wine API SetRectRgn(3w)

NAME

SetRectRgn (GDI32.@)

SYNOPSIS

BOOL SetRectRgn
(
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 "wingdi.h".
Implemented in "dlls/gdi32/region.c".
Debug channel "region".
Oct 2012 Wine API