A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



CreateRectRgnIndirect

The CreateRectRgnIndirect function creates a rectangular region.

VB4-32,5,6
Declare Function CreateRectRgnIndirect Lib "gdi32" Alias "CreateRectRgnIndirect" (lpRect As RECT) As Long

VB.NET
System.Drawing.Region

Operating Systems Supported
Requires Windows NT 3.1 or later; Requires Windows 95 or later

Library
Gdi32

Parameter Information
- lprc
Points to a RECT structure that contains the coordinates of the upper-left and lower-right corners of the rectangle that defines the region.

Return Values
If the function succeeds, the return value is the handle to the region.

If the function fails, the return value is NULL.

Last update: 07 April 2006