Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Win 2 API - <b>createrectrgn</b> creates a rectangular region http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
CreateRectRgn        Creates a rectangular region

HRGN CreateRectRgn(RcUlX, RcUlY, RcLrX, RcLrY);
short RcUlX; /* rectangle upper left X coordinate */
short RcUlY; /* rectangle upper left Y coordinate */
short RcLrX; /* rectangle lower right X coordinate */
short RcLrY; /* rectangle lower right Y coordinate */

Returns:        Handle of new region or NULL on failure.

Note:           RcLrX - RcUlX and RcLrY - RcUlY must be less than
                32,767

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson