Changeset 1167 for trunk/src/shell32/new/folders.cpp
- Timestamp:
- Oct 7, 1999, 3:57:31 PM (26 years ago)
- 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 1 11 /* 2 12 * Copyright 1997 Marcus Meissner … … 5 15 */ 6 16 17 18 /***************************************************************************** 19 * Includes * 20 *****************************************************************************/ 21 7 22 #include <stdlib.h> 8 23 #include <string.h> 9 10 24 #include <odin.h> 25 #include <odinwrap.h> 11 26 12 27 #define ICOM_CINTERFACE 1 … … 25 40 #include <misc.h> 26 41 27 DEFAULT_DEBUG_CHANNEL(shell) 42 43 ODINDEBUGCHANNEL(SHELL32-FOLDERS) 28 44 29 45 … … 54 70 char xriid[50]; 55 71 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)); 57 76 58 77 *ppvObj = NULL; … … 70 89 if(*ppvObj) 71 90 { IExtractIconA_AddRef((IExtractIconA*) *ppvObj); 72 TRACE("-- Interface: (%p)->(%p)\n",ppvObj,*ppvObj);91 dprintf(("SHELL32:folders IExtractIconA_fnQueryInterface-- Interface: (%p)->(%p)\n",ppvObj,*ppvObj)); 73 92 return S_OK; 74 93 } 75 TRACE("-- Interface: E_NOINTERFACE\n");94 dprintf(("SHELL32:folders IExtractIconA_fnQueryInterface-- Interface: E_NOINTERFACE\n")); 76 95 return E_NOINTERFACE; 77 96 } … … 84 103 ICOM_THIS(IExtractIconAImpl,iface); 85 104 86 TRACE("(%p)->(count=%lu)\n",This, This->ref ); 105 dprintf(("SHELL32:folders IExtractIconA_fnAddRef(%p)->(count=%lu)\n", 106 This, 107 This->ref)); 87 108 88 109 shell32_ObjCount++; … … 97 118 ICOM_THIS(IExtractIconAImpl,iface); 98 119 99 TRACE("(%p)->()\n",This); 120 dprintf(("SHELL32:folders IExtractIconA_fnRelease(%p)->()\n", 121 This)); 100 122 101 123 shell32_ObjCount--; 102 124 103 125 if (!--(This->ref)) 104 { TRACE(" destroying IExtractIcon(%p)\n",This); 126 { dprintf(("SHELL32:folders IExtractIconA_fnRelease destroying IExtractIcon(%p)\n", 127 This)); 105 128 SHFree(This->pidl); 106 129 HeapFree(GetProcessHeap(),0,This); … … 129 152 LPITEMIDLIST pSimplePidl = ILFindLastID(This->pidl); 130 153 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)); 132 161 133 162 if (pwFlags) … … 206 235 } 207 236 208 TRACE("-- %s %x\n", szIconFile, *piIndex); 237 dprintf(("SHELL32:folders IExtractIconA_fnGetIconLocation -- %s %x\n", 238 szIconFile, 239 *piIndex)); 209 240 return NOERROR; 210 241 } … … 216 247 ICOM_THIS(IExtractIconAImpl,iface); 217 248 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)); 219 256 220 257 if (phiconLarge) … … 370 407 pdump(pidl); 371 408 372 TRACE("(%p)\n",ei); 409 dprintf(("SHELL32:folders IExtractIconA_Constructor(%p)\n", 410 ei)); 373 411 shell32_ObjCount++; 374 412 return (IExtractIconA *)ei;
Note:
See TracChangeset
for help on using the changeset viewer.