Changeset 793 for trunk/src/shell32/new/iconcache.cpp
- Timestamp:
- Sep 2, 1999, 6:42:57 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/shell32/new/iconcache.cpp
r791 r793 12 12 #include "winuser.h" 13 13 #include "wingdi.h" 14 #include "wine/winuser16.h"15 #include "wine/winbase16.h"16 #include "neexe.h"14 //#include "wine/winuser16.h" 15 //#include "wine/winbase16.h" 16 //#include "neexe.h" 17 17 #include "cursoricon.h" 18 18 #include "module.h" … … 67 67 } 68 68 #endif 69 70 71 static HDPA sic_hdpa = 0; 72 static CRITICAL_SECTION SHELL32_SicCS; 73 74 75 69 76 /************************************************************************* 70 77 * SHELL_GetResourceTable … … 334 341 } 335 342 336 if ( !(peimage = MapViewOfFile(fmapping,FILE_MAP_READ,0,0,0)))343 if ( !(peimage = (BYTE*)MapViewOfFile(fmapping,FILE_MAP_READ,0,0,0))) 337 344 { WARN("failed to mmap filemap.\n"); 338 345 hRet = ICO_INVALID_FILE; … … 466 473 } SIC_ENTRY, * LPSIC_ENTRY; 467 474 468 static HDPA sic_hdpa = 0;469 static CRITICAL_SECTION SHELL32_SicCS;470 471 475 /***************************************************************************** 472 476 * SIC_CompareEntrys [called by comctl32.dll] … … 481 485 return 1; 482 486 483 if (strc asecmp(((LPSIC_ENTRY)p1)->sSourceFile,((LPSIC_ENTRY)p2)->sSourceFile))487 if (strcmp(((LPSIC_ENTRY)p1)->sSourceFile,((LPSIC_ENTRY)p2)->sSourceFile)) 484 488 return 1; 485 489 … … 787 791 INT WINAPI Shell_GetCachedImageIndexAW(LPCVOID szPath, INT nIndex, BOOL bSimulateDoc) 788 792 { if( VERSION_OsIsUnicode()) 789 return Shell_GetCachedImageIndexW( szPath, nIndex, bSimulateDoc);790 return Shell_GetCachedImageIndexA( szPath, nIndex, bSimulateDoc);793 return Shell_GetCachedImageIndexW((LPWSTR)szPath, nIndex, bSimulateDoc); 794 return Shell_GetCachedImageIndexA((LPSTR)szPath, nIndex, bSimulateDoc); 791 795 } 792 796 … … 796 800 HICON WINAPI ExtractIconExAW ( LPCVOID lpszFile, INT nIconIndex, HICON * phiconLarge, HICON * phiconSmall, UINT nIcons ) 797 801 { if (VERSION_OsIsUnicode()) 798 return ExtractIconExW ( lpszFile, nIconIndex, phiconLarge, phiconSmall, nIcons);799 return ExtractIconExA ( lpszFile, nIconIndex, phiconLarge, phiconSmall, nIcons);802 return ExtractIconExW ( (LPWSTR)lpszFile, nIconIndex, phiconLarge, phiconSmall, nIcons); 803 return ExtractIconExA ( (LPSTR)lpszFile, nIconIndex, phiconLarge, phiconSmall, nIcons); 800 804 } 801 805 /*************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.