Changeset 802 for trunk/src


Ignore:
Timestamp:
Sep 2, 1999, 9:13:34 PM (26 years ago)
Author:
phaller
Message:

.

File:
1 edited

Legend:

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

    r791 r802  
    6060} IShellViewImpl;
    6161
    62 static struct ICOM_VTABLE(IShellView) svvt;
    63 
    64 static struct ICOM_VTABLE(IOleCommandTarget) ctvt;
     62//static struct ICOM_VTABLE(IShellView) svvt;
     63//static struct ICOM_VTABLE(IOleCommandTarget) ctvt;
    6564#define _IOleCommandTarget_Offset ((int)(&(((IShellViewImpl*)0)->lpvtblOleCommandTarget)))
    66 #define _ICOM_THIS_From_IOleCommandTarget(class, name) class* This = (class*)(((char*)name)-_IOleCommandTarget_Offset);
     65#define _ICOM_THIS_From_IOleCommandTarget(myClass, name) myClass* This = (myClass*)(((char*)name)-_IOleCommandTarget_Offset);
    6766
    6867static struct ICOM_VTABLE(IDropTarget) dtvt;
    6968#define _IDropTarget_Offset ((int)(&(((IShellViewImpl*)0)->lpvtblDropTarget)))
    70 #define _ICOM_THIS_From_IDropTarget(class, name) class* This = (class*)(((char*)name)-_IDropTarget_Offset);
     69#define _ICOM_THIS_From_IDropTarget(myClass, name) myClass* This = (myClass*)(((char*)name)-_IDropTarget_Offset);
    7170
    7271static struct ICOM_VTABLE(IDropSource) dsvt;
    7372#define _IDropSource_Offset ((int)(&(((IShellViewImpl*)0)->lpvtblDropSource)))
    74 #define _ICOM_THIS_From_IDropSource(class, name) class* This = (class*)(((char*)name)-_IDropSource_Offset);
     73#define _ICOM_THIS_From_IDropSource(myClass, name) myClass* This = (myClass*)(((char*)name)-_IDropSource_Offset);
    7574
    7675static struct ICOM_VTABLE(IViewObject) vovt;
    7776#define _IViewObject_Offset ((int)(&(((IShellViewImpl*)0)->lpvtblViewObject)))
    78 #define _ICOM_THIS_From_IViewObject(class, name) class* This = (class*)(((char*)name)-_IViewObject_Offset);
     77#define _ICOM_THIS_From_IViewObject(myClass, name) myClass* This = (myClass*)(((char*)name)-_IViewObject_Offset);
    7978
    8079/*menu items */
     
    366365
    367366        /*sort the array*/
    368         pDPA_Sort(hdpa, ShellView_CompareItems, (LPARAM)This->pSFParent);
     367        pDPA_Sort(hdpa, (PFNDPACOMPARE)ShellView_CompareItems, (LPARAM)This->pSFParent);
    369368
    370369        /*turn the listview's redrawing off*/
     
    993992       
    994993          default:
    995             TRACE("-- %p WM_COMMAND %s unhandled\n", This, SPY_GetMsgName(lpnmh->code));
     994//          TRACE("-- %p WM_COMMAND %s unhandled\n", This, SPY_GetMsgName(lpnmh->code));
    996995            break;;
    997996        }
Note: See TracChangeset for help on using the changeset viewer.