Changeset 795 for trunk/src/shell32/new/shlfolder.cpp
- Timestamp:
- Sep 2, 1999, 7:25:19 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/shell32/new/shlfolder.cpp
r791 r795 29 29 #include "shell32_main.h" 30 30 31 #include <heapstring.h> 31 32 #include <misc.h> 32 33 … … 209 210 } IGenericSFImpl; 210 211 211 static struct ICOM_VTABLE(IShellFolder) sfvt;212 static struct ICOM_VTABLE(IPersistFolder) psfvt;213 static struct ICOM_VTABLE(IDropTarget) dtvt;212 //static struct ICOM_VTABLE(IShellFolder) sfvt; 213 //static struct ICOM_VTABLE(IPersistFolder) psfvt; 214 //static struct ICOM_VTABLE(IDropTarget) dtvt; 214 215 215 216 static IShellFolder * ISF_MyComputer_Constructor(void); … … 218 219 #define _ICOM_THIS_From_IPersistFolder(class, name) class* This = (class*)(((char*)name)-_IPersistFolder_Offset); 219 220 220 static struct ICOM_VTABLE(IDropTarget) dtvt;221 221 #define _IDropTarget_Offset ((int)(&(((IGenericSFImpl*)0)->lpvtblDropTarget))) 222 222 #define _ICOM_THIS_From_IDropTarget(class, name) class* This = (class*)(((char*)name)-_IDropTarget_Offset); … … 278 278 279 279 dwSize += _ILSimpleGetText(pidl,NULL,0); /* add the size of our name*/ 280 sf->sMyPath = SHAlloc(dwSize + 2); /* '\0' and backslash */280 sf->sMyPath = (char*)SHAlloc(dwSize + 2); /* '\0' and backslash */ 281 281 282 282 if(!sf->sMyPath) return NULL; … … 562 562 else 563 563 { 564 IShellFolder_BindToObject(pShellFolder, ILGetNext(pidl), NULL, &IID_IShellFolder, (LPVOID )&pSubFolder);564 IShellFolder_BindToObject(pShellFolder, ILGetNext(pidl), NULL, &IID_IShellFolder, (LPVOID*)&pSubFolder); 565 565 IShellFolder_Release(pShellFolder); 566 566 *ppvOut = pSubFolder; … … 664 664 _ILSimpleGetText(pidl1, szTemp1, MAX_PATH); 665 665 _ILSimpleGetText(pidl2, szTemp2, MAX_PATH); 666 nReturn = strc asecmp(szTemp1, szTemp2);666 nReturn = strcmp(szTemp1, szTemp2); 667 667 668 668 if (nReturn == 0) /* first pidl different ? */ … … 1178 1178 else /* go deeper */ 1179 1179 { 1180 IShellFolder_BindToObject(pShellFolder, ILGetNext(pidl), NULL, riid, (LPVOID )&pSubFolder);1180 IShellFolder_BindToObject(pShellFolder, ILGetNext(pidl), NULL, riid, (LPVOID*)&pSubFolder); 1181 1181 IShellFolder_Release(pShellFolder); 1182 1182 *ppvOut = pSubFolder; … … 1490 1490 else /* go deeper */ 1491 1491 { 1492 IShellFolder_BindToObject(pShellFolder, ILGetNext(pidl), NULL, &IID_IShellFolder, (LPVOID )&pSubFolder);1492 IShellFolder_BindToObject(pShellFolder, ILGetNext(pidl), NULL, &IID_IShellFolder, (LPVOID*)&pSubFolder); 1493 1493 IShellFolder_Release(pShellFolder); 1494 1494 *ppvOut = pSubFolder;
Note:
See TracChangeset
for help on using the changeset viewer.