SetRectRgn.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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

Defined in "wingdi.h".

Implemented in "dlls/gdi32/region.c".

Debug channel "region".