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

Defined in "wingdi.h".

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/gdi32/region.c".

Debug channel "region".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout