Ignore:
Timestamp:
Sep 2, 1999, 7:25:19 PM (26 years ago)
Author:
phaller
Message:

.

File:
1 edited

Legend:

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

    r791 r795  
    2929#include "shell32_main.h"
    3030
     31#include <heapstring.h>
    3132#include <misc.h>
    3233
     
    209210} IGenericSFImpl;
    210211
    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;
    214215
    215216static IShellFolder * ISF_MyComputer_Constructor(void);
     
    218219#define _ICOM_THIS_From_IPersistFolder(class, name) class* This = (class*)(((char*)name)-_IPersistFolder_Offset);
    219220       
    220 static struct ICOM_VTABLE(IDropTarget) dtvt;
    221221#define _IDropTarget_Offset ((int)(&(((IGenericSFImpl*)0)->lpvtblDropTarget)))
    222222#define _ICOM_THIS_From_IDropTarget(class, name) class* This = (class*)(((char*)name)-_IDropTarget_Offset);
     
    278278
    279279            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 */
    281281
    282282            if(!sf->sMyPath) return NULL;
     
    562562        else
    563563        {
    564           IShellFolder_BindToObject(pShellFolder, ILGetNext(pidl), NULL, &IID_IShellFolder, (LPVOID)&pSubFolder);
     564          IShellFolder_BindToObject(pShellFolder, ILGetNext(pidl), NULL, &IID_IShellFolder, (LPVOID*)&pSubFolder);
    565565          IShellFolder_Release(pShellFolder);
    566566          *ppvOut = pSubFolder;
     
    664664            _ILSimpleGetText(pidl1, szTemp1, MAX_PATH);
    665665            _ILSimpleGetText(pidl2, szTemp2, MAX_PATH);
    666             nReturn = strcasecmp(szTemp1, szTemp2);
     666            nReturn = strcmp(szTemp1, szTemp2);
    667667       
    668668            if (nReturn == 0)                           /* first pidl different ? */
     
    11781178        else                            /* go deeper */
    11791179        {
    1180           IShellFolder_BindToObject(pShellFolder, ILGetNext(pidl), NULL, riid, (LPVOID)&pSubFolder);
     1180          IShellFolder_BindToObject(pShellFolder, ILGetNext(pidl), NULL, riid, (LPVOID*)&pSubFolder);
    11811181          IShellFolder_Release(pShellFolder);
    11821182          *ppvOut = pSubFolder;
     
    14901490        else                            /* go deeper */
    14911491        {
    1492           IShellFolder_BindToObject(pShellFolder, ILGetNext(pidl), NULL, &IID_IShellFolder, (LPVOID)&pSubFolder);
     1492          IShellFolder_BindToObject(pShellFolder, ILGetNext(pidl), NULL, &IID_IShellFolder, (LPVOID*)&pSubFolder);
    14931493          IShellFolder_Release(pShellFolder);
    14941494          *ppvOut = pSubFolder;
Note: See TracChangeset for help on using the changeset viewer.