Ignore:
Timestamp:
Oct 7, 1999, 3:57:31 PM (26 years ago)
Author:
phaller
Message:

Fix: debug info

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/shell32/new/folders.cpp

    r791 r1167  
     1/* $Id: folders.cpp,v 1.2 1999-10-07 13:57:30 phaller Exp $ */
     2
     3/*
     4 * Win32 SHELL32 for OS/2
     5 *
     6 * Copyright 1999 Patrick Haller (haller@zebra.fh-weingarten.de)
     7 * Project Odin Software License can be found in LICENSE.TXT
     8 *
     9 */
     10
    111/*
    212 *      Copyright 1997  Marcus Meissner
     
    515 */
    616
     17
     18/*****************************************************************************
     19 * Includes                                                                  *
     20 *****************************************************************************/
     21
    722#include <stdlib.h>
    823#include <string.h>
    9 
    1024#include <odin.h>
     25#include <odinwrap.h>
    1126
    1227#define ICOM_CINTERFACE 1
     
    2540#include <misc.h>
    2641
    27 DEFAULT_DEBUG_CHANNEL(shell)
     42
     43ODINDEBUGCHANNEL(SHELL32-FOLDERS)
    2844
    2945
     
    5470        char    xriid[50];
    5571         WINE_StringFromCLSID((LPCLSID)riid,xriid);
    56          TRACE("(%p)->(\n\tIID:\t%s,%p)\n",This,xriid,ppvObj);
     72         dprintf(("SHELL32:folders IExtractIconA_fnQueryInterface(%p)->(\n\tIID:\t%s,%p)\n",
     73           This,
     74           xriid,
     75           ppvObj));
    5776
    5877        *ppvObj = NULL;
     
    7089        if(*ppvObj)
    7190        { IExtractIconA_AddRef((IExtractIconA*) *ppvObj);       
    72           TRACE("-- Interface: (%p)->(%p)\n",ppvObj,*ppvObj);
     91          dprintf(("SHELL32:folders IExtractIconA_fnQueryInterface-- Interface: (%p)->(%p)\n",ppvObj,*ppvObj));
    7392          return S_OK;
    7493        }
    75         TRACE("-- Interface: E_NOINTERFACE\n");
     94        dprintf(("SHELL32:folders IExtractIconA_fnQueryInterface-- Interface: E_NOINTERFACE\n"));
    7695        return E_NOINTERFACE;
    7796}
     
    84103        ICOM_THIS(IExtractIconAImpl,iface);
    85104
    86         TRACE("(%p)->(count=%lu)\n",This, This->ref );
     105        dprintf(("SHELL32:folders IExtractIconA_fnAddRef(%p)->(count=%lu)\n",
     106          This,
     107          This->ref));
    87108
    88109        shell32_ObjCount++;
     
    97118        ICOM_THIS(IExtractIconAImpl,iface);
    98119
    99         TRACE("(%p)->()\n",This);
     120        dprintf(("SHELL32:folders IExtractIconA_fnRelease(%p)->()\n",
     121          This));
    100122
    101123        shell32_ObjCount--;
    102124
    103125        if (!--(This->ref))
    104         { TRACE(" destroying IExtractIcon(%p)\n",This);
     126        { dprintf(("SHELL32:folders  IExtractIconA_fnRelease destroying IExtractIcon(%p)\n",
     127            This));
    105128          SHFree(This->pidl);
    106129          HeapFree(GetProcessHeap(),0,This);
     
    129152        LPITEMIDLIST    pSimplePidl = ILFindLastID(This->pidl);
    130153                       
    131         TRACE("(%p) (flags=%u %p %u %p %p)\n", This, uFlags, szIconFile, cchMax, piIndex, pwFlags);
     154        dprintf(("SHELL32:folders IExtractIconA_fnGetIconLocation(%p) (flags=%u %p %u %p %p)\n",
     155          This,
     156          uFlags,
     157          szIconFile,
     158          cchMax,
     159          piIndex,
     160          pwFlags));
    132161
    133162        if (pwFlags)
     
    206235        }
    207236
    208         TRACE("-- %s %x\n", szIconFile, *piIndex);
     237        dprintf(("SHELL32:folders IExtractIconA_fnGetIconLocation -- %s %x\n",
     238          szIconFile,
     239          *piIndex));
    209240        return NOERROR;
    210241}
     
    216247        ICOM_THIS(IExtractIconAImpl,iface);
    217248
    218         FIXME("(%p) (file=%p index=%u %p %p size=%u) semi-stub\n", This, pszFile, nIconIndex, phiconLarge, phiconSmall, nIconSize);
     249        dprintf(("SHELL32:folders IExtractIconA_fnExtract (%p) (file=%p index=%u %p %p size=%u) semi-stub\n",
     250          This,
     251          pszFile,
     252          nIconIndex,
     253          phiconLarge,
     254          phiconSmall,
     255          nIconSize));
    219256
    220257        if (phiconLarge)
     
    370407        pdump(pidl);
    371408
    372         TRACE("(%p)\n",ei);
     409        dprintf(("SHELL32:folders IExtractIconA_Constructor(%p)\n",
     410          ei));
    373411        shell32_ObjCount++;
    374412        return (IExtractIconA *)ei;
Note: See TracChangeset for help on using the changeset viewer.