Changeset 3273 for trunk/src


Ignore:
Timestamp:
Mar 29, 2000, 7:15:35 PM (25 years ago)
Author:
sandervl
Message:

GetRgnBox fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gdi32/region.cpp

    r2802 r3273  
    1 /* $Id: region.cpp,v 1.2 2000-02-16 14:18:12 sandervl Exp $ */
     1/* $Id: region.cpp,v 1.3 2000-03-29 17:15:35 sandervl Exp $ */
    22
    33/*
     
    9191HRGN WIN32API ExtCreateRegion( const XFORM * arg1, DWORD arg2, const RGNDATA *  arg3)
    9292{
    93     dprintf(("GDI32: ExtCreateRegion"));
    94     return O32_ExtCreateRegion(arg1, arg2, arg3);
     93 HRGN hRgn;
     94
     95    hRgn = O32_ExtCreateRegion(arg1, arg2, arg3);
     96    dprintf(("GDI32: ExtCreateRegion %x %x %x returned %x", arg1, arg2, arg3, hRgn));
     97    return hRgn;
    9598}
    9699//******************************************************************************
     
    131134//******************************************************************************
    132135//******************************************************************************
    133 int WIN32API GetRgnBox( HRGN arg1, PRECT  arg2)
    134 {
    135     dprintf(("GDI32: GetRgnBox"));
    136     return O32_GetRgnBox(arg1, arg2);
     136int WIN32API GetRgnBox(HRGN hRgn, PRECT pRect)
     137{
     138    dprintf(("GDI32: GetRgnBox %x %x", hRgn, pRect));
     139    if(hRgn == 0) {
     140////    SetLastError(ERROR_INVALID_PARAMETER);
     141        return NULLREGION;
     142    }
     143    return O32_GetRgnBox(hRgn, pRect);
    137144}
    138145//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.