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>intersectcliprect</b> create new clipping region by adding rectangle http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
IntersectClipRect    Create New Clipping Region By Adding Rectangle

short IntersectClipRect(hDC, RcUlX, RcUlY, RcLrX, RcLrY);
HDC hDC;
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:
                return value
        |-------------------------------------|
        |COMPLEXREGION Overlapping borders    |
        |ERROR         Invalid DC             |
        |NULLREGION    Empty clipping area    |
        |SIMPLEREGION  No overlapping borders |
        +-------------------------------------+

Notes:      Rectangle length or height may not exceed 32,767.

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