.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH SetRectRgn 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBSetRectRgn\fR (GDI32.@) .SH SYNOPSIS BOOL SetRectRgn ( HRGN \fIhrgn\fR, INT \fIleft\fR, INT \fItop\fR, INT \fIright\fR, INT \fIbottom\fR ) .SH DESCRIPTION .PP Sets a region to a simple rectangular region. .SH PARAMS \fIhrgn\fR \fB[In]\fR Region to convert. .PP \fIleft\fR \fB[In]\fR Left coordinate of rectangle. .PP \fItop\fR \fB[In]\fR Top coordinate of rectangle. .PP \fIright\fR \fB[In]\fR Right coordinate of rectangle. .PP \fIbottom\fR \fB[In]\fR Bottom coordinate of rectangle. .PP .SH RETURNS .PP \fBSuccess:\fR Non-zero. .PP \fBFailure:\fR Zero. .SH NOTES .PP Allows either or both \fIleft\fR and \fItop\fR to be greater than \fIright\fR or \fIbottom\fR. .SH IMPLEMENTATION .PP Declared in \fB"wingdi.h"\fR. .PP Implemented in \fB"dlls/gdi32/region.c"\fR. .PP Debug channel \fB"region"\fR.