- Timestamp:
- Sep 7, 1999, 8:45:12 PM (26 years ago)
- Location:
- trunk/src/shell32/new
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/shell32/new/makefile
r815 r857 1 # $Id: makefile,v 1. 2 1999-09-04 10:03:10 achimhaExp $1 # $Id: makefile,v 1.3 1999-09-07 18:45:12 phaller Exp $ 2 2 3 3 # … … 36 36 $(PDWIN32_LIB)/pmwinx.lib $(PDWIN32_LIB)/kernel32.lib \ 37 37 $(PDWIN32_LIB)/user32.lib $(PDWIN32_LIB)/advapi32.lib \ 38 $(PDWIN32_LIB)/gdi32.lib $(PDWIN32_LIB)/ole32.lib \ 38 39 $(PDWIN32_LIB)/odincrt.lib OS2386.LIB $(RTLLIB_O) 39 40 $(CP) $@ $(PDWIN32_BIN) -
trunk/src/shell32/new/shell.cpp
r855 r857 14 14 #define ICOM_CINTERFACE 1 15 15 #define CINTERFACE 1 16 #define INITGUID 16 17 17 18 //#include "wine/winuser16.h" -
trunk/src/shell32/new/shell32_main.cpp
r800 r857 640 640 info.szOtherStuff = szOtherStuff; 641 641 info.hIcon = hIcon; 642 if (!hIcon) info.hIcon = LoadIcon 16( 0, MAKEINTRESOURCE16(OIC_WINEICON));642 if (!hIcon) info.hIcon = LoadIconA( 0, (LPCSTR)OIC_WINEICON ); 643 643 return DialogBoxIndirectParamA( GetWindowLongA( hWnd, GWL_HINSTANCE ), 644 644 (DLGTEMPLATE*)dlgTemplate , hWnd, AboutDlgProc, (LPARAM)&info ); … … 666 666 info.szOtherStuff = HEAP_strdupWtoA( GetProcessHeap(), 0, szOtherStuff ); 667 667 info.hIcon = hIcon; 668 if (!hIcon) info.hIcon = LoadIcon 16( 0, MAKEINTRESOURCE16(OIC_WINEICON));668 if (!hIcon) info.hIcon = LoadIconA( 0, (LPCSTR)OIC_WINEICON ); 669 669 ret = DialogBoxIndirectParamA( GetWindowLongA( hWnd, GWL_HINSTANCE ), 670 670 (DLGTEMPLATE*)dlgTemplate, hWnd, AboutDlgProc, (LPARAM)&info ); -
trunk/src/shell32/new/shell32_main.h
r791 r857 17 17 #include "wine/obj_shelllink.h" 18 18 #include "wine/obj_extracticon.h" 19 20 #ifdef __cplusplus 21 extern "C" { 22 #endif /* defined(__cplusplus) */ 23 24 19 25 20 26 /******************************************* … … 39 45 extern COLORREF (WINAPI *pImageList_SetBkColor)(HIMAGELIST, COLORREF); 40 46 41 extern LPVOID (WINAPI* pCOMCTL32_Alloc) (INT); 42 extern BOOL (WINAPI* pCOMCTL32_Free) (LPVOID); 47 extern LPVOID (WINAPI* pCOMCTL32_Alloc) (INT); 48 extern BOOL (WINAPI* pCOMCTL32_Free) (LPVOID); 43 49 44 extern HDPA (WINAPI* pDPA_Create) (INT); 45 extern INT (WINAPI* pDPA_InsertPtr) (const HDPA, INT, LPVOID); 46 extern BOOL (WINAPI* pDPA_Sort) (const HDPA, PFNDPACOMPARE, LPARAM); 47 extern LPVOID (WINAPI* pDPA_GetPtr) (const HDPA, INT); 48 extern BOOL (WINAPI* pDPA_Destroy) (const HDPA); 50 extern HDPA (WINAPI* pDPA_Create) (INT); 51 extern INT (WINAPI* pDPA_InsertPtr) (const HDPA, INT, LPVOID); 52 extern BOOL (WINAPI* pDPA_Sort) (const HDPA, PFNDPACOMPARE, LPARAM); 53 extern LPVOID (WINAPI* pDPA_GetPtr) (const HDPA, INT); 54 extern BOOL (WINAPI* pDPA_Destroy) (const HDPA); 49 55 extern INT (WINAPI* pDPA_Search) (const HDPA, LPVOID, INT, PFNDPACOMPARE, LPARAM, UINT); 50 56 extern LPVOID (WINAPI* pDPA_DeletePtr) (const HDPA hdpa, INT i); 51 #define pDPA_GetPtrCount(hdpa) (*(INT*)(hdpa)) 57 #define pDPA_GetPtrCount(hdpa) (*(INT*)(hdpa)) 52 58 53 59 extern HICON (WINAPI *pLookupIconIdFromDirectoryEx)(LPBYTE dir, BOOL bIcon, INT width, INT height, UINT cFlag); … … 71 77 72 78 /* Classes Root */ 73 BOOL HCR_MapTypeToValue ( LPCSTR szExtension, LPSTR szFileType, DWORDlen, BOOL bPrependDot);74 BOOL HCR_GetExecuteCommand ( LPCSTR szClass, LPCSTR szVerb, LPSTR szDest, DWORDlen );75 BOOL HCR_GetDefaultIcon (LPCSTR szClass, LPSTR szDest, DWORDlen, LPDWORD dwNr);79 BOOL HCR_MapTypeToValue ( LPCSTR szExtension, LPSTR szFileType, LONG len, BOOL bPrependDot); 80 BOOL HCR_GetExecuteCommand ( LPCSTR szClass, LPCSTR szVerb, LPSTR szDest, LONG len ); 81 BOOL HCR_GetDefaultIcon (LPCSTR szClass, LPSTR szDest, LONG len, LPDWORD dwNr); 76 82 BOOL HCR_GetClassName (REFIID riid, LPSTR szDest, DWORD len); 77 83 BOOL HCR_GetFolderAttributes (REFIID riid, LPDWORD szDest); … … 136 142 DROPEFFECT_MOVE) 137 143 144 #ifdef __cplusplus 145 } 146 #endif /* defined(__cplusplus) */ 147 148 149 138 150 #endif -
trunk/src/shell32/new/shlfolder.cpp
r815 r857 212 212 extern struct ICOM_VTABLE(IShellFolder) sfvt; 213 213 extern struct ICOM_VTABLE(IPersistFolder) psfvt; 214 extern struct ICOM_VTABLE(IDropTarget) dt vt;214 extern struct ICOM_VTABLE(IDropTarget) dt2vt; 215 215 216 216 static IShellFolder * ISF_MyComputer_Constructor(void); … … 255 255 sf->lpvtbl=&sfvt; 256 256 sf->lpvtblPersistFolder=&psfvt; 257 sf->lpvtblDropTarget=&dt vt;257 sf->lpvtblDropTarget=&dt2vt; 258 258 sf->pclsid = (CLSID*)&CLSID_SFFile; 259 259 sf->cfShellIDList=0; … … 1900 1900 } 1901 1901 1902 struct ICOM_VTABLE(IDropTarget) dt vt =1902 struct ICOM_VTABLE(IDropTarget) dt2vt = 1903 1903 { 1904 1904 ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
Note:
See TracChangeset
for help on using the changeset viewer.