Ignore:
Timestamp:
Mar 24, 2000, 12:06:54 AM (25 years ago)
Author:
sandervl
Message:

replaced writelog calls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/winprop.cpp

    r2803 r3209  
    1 /* $Id: winprop.cpp,v 1.7 2000-02-16 14:28:28 sandervl Exp $ */
     1/* $Id: winprop.cpp,v 1.8 2000-03-23 23:06:54 sandervl Exp $ */
    22/*
    33 * Win32 Property apis for OS/2
     
    1717#include "dbglocal.h"
    1818
    19 #undef DEBUG
    20 
    2119//******************************************************************************
    2220//******************************************************************************
    2321int WIN32API EnumPropsA(HWND hwnd, PROPENUMPROCA arg2)
    2422{
    25 #ifdef DEBUG
    26     WriteLog("USER32:  EnumPropsA DOES NOT WORK\n");
    27 #endif
     23    dprintf(("USER32:  EnumPropsA DOES NOT WORK\n"));
    2824    //calling convention problems
    2925    return 0;
     
    3430int WIN32API EnumPropsExA( HWND hwnd, PROPENUMPROCEXA arg2, LPARAM  arg3)
    3531{
    36 #ifdef DEBUG
    37     WriteLog("USER32:  EnumPropsExA DOES NOT WORK\n");
    38 #endif
     32    dprintf(("USER32:  EnumPropsExA DOES NOT WORK\n"));
    3933    //calling convention problems
    4034    return 0;
     
    4539int WIN32API EnumPropsExW( HWND hwnd, PROPENUMPROCEXW arg2, LPARAM  arg3)
    4640{
    47 #ifdef DEBUG
    48     WriteLog("USER32:  EnumPropsExW DOES NOT WORK\n");
    49 #endif
     41    dprintf(("USER32:  EnumPropsExW DOES NOT WORK\n"));
    5042    // NOTE: This will not work as is (needs UNICODE support)
    5143    //calling convention problems
     
    5749int WIN32API EnumPropsW( HWND hwnd, PROPENUMPROCW  arg2)
    5850{
    59 #ifdef DEBUG
    60     WriteLog("USER32:  EnumPropsW DOES NOT WORK\n");
    61 #endif
     51    dprintf(("USER32:  EnumPropsW DOES NOT WORK\n"));
    6252    // NOTE: This will not work as is (needs UNICODE support)
    6353    //calling convention problems
     
    7969    }
    8070    rc = O32_GetProp(window->getOS2WindowHandle(), arg2);
    81 #ifdef DEBUG
    8271    if(HIWORD(arg2) != 0)
    83          dprintf(("USER32: GetPropA %s returned %x\n", arg2, rc));
    84     else dprintf(("USER32: GetPropA %X returned %x\n", arg2, rc));
    85 #endif
     72         dprintf2(("USER32: GetPropA %s returned %x\n", arg2, rc));
     73    else dprintf2(("USER32: GetPropA %X returned %x\n", arg2, rc));
    8674    return rc;
    8775}
     
    115103        return 0;
    116104    }
    117 #ifdef DEBUG
    118105    if(HIWORD(arg2) != 0)
    119          dprintf(("USER32: RemovePropA %s\n", arg2));
    120     else dprintf(("USER32: RemovePropA %X\n", arg2));
    121 #endif
     106         dprintf2(("USER32: RemovePropA %s\n", arg2));
     107    else dprintf2(("USER32: RemovePropA %X\n", arg2));
    122108    return O32_RemoveProp(window->getOS2WindowHandle(), arg2);
    123109}
     
    151137        return 0;
    152138    }
    153 #ifdef DEBUG
    154139    if(HIWORD(arg2) != 0)
    155          dprintf(("USER32: SetPropA %s to %x\n", arg2, arg3));
    156     else dprintf(("USER32: SetPropA %X to %x\n", arg2, arg3));
    157 #endif
     140         dprintf2(("USER32: SetPropA %s to %x\n", arg2, arg3));
     141    else dprintf2(("USER32: SetPropA %X to %x\n", arg2, arg3));
    158142    return O32_SetProp(window->getOS2WindowHandle(), arg2, arg3);
    159143}
Note: See TracChangeset for help on using the changeset viewer.