SetRectRgn(3w)

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.

  1. 2.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.