[PATCH 1/2] gdiplus: Implement GdipIsVisibleRegionPoint

Henri Verbeet hverbeet at gmail.com
Wed Aug 26 03:33:01 CDT 2009


2009/8/25 Andrew Eikum <aeikum at codeweavers.com>:
> +GpStatus WINGDIPAPI GdipIsVisibleRegionPointI(GpRegion* region, INT x, INT y, GpGraphics *graphics, BOOL *res)
> +{
> +    TRACE("(%p, %d, %d, %p, %p)\n", region, x, y, graphics, res);
> +
> +    if(!region || !res)
> +        return InvalidParameter;

It's a bit redundant to do that check twice. Shouldn't hurt much though.



More information about the wine-devel mailing list