Changeset 4032 for trunk/src/shell32/iconcache.cpp
- Timestamp:
- Aug 18, 2000, 4:01:27 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/shell32/iconcache.cpp
r3551 r4032 1 /* $Id: iconcache.cpp,v 1. 8 2000-05-18 14:16:02 sandervlExp $ */1 /* $Id: iconcache.cpp,v 1.9 2000-08-18 02:01:15 phaller Exp $ */ 2 2 3 3 /* … … 36 36 37 37 #include "shellapi.h" 38 #include "shlguid.h" 39 #include "shlwapi.h" 38 40 #include "pidl.h" 39 41 #include "shell32_main.h" 42 #include "wine/undocshell.h" 40 43 41 44 #include <heapstring.h> … … 765 768 * 766 769 */ 767 BOOL PidlToSicIndex (IShellFolder * sh, LPITEMIDLIST pidl, BOOL bBigIcon, UINT * pIndex) 770 BOOL PidlToSicIndex (IShellFolder * sh, 771 LPITEMIDLIST pidl, 772 BOOL bBigIcon, 773 UINT uFlags, 774 UINT * pIndex) 768 775 { 769 776 IExtractIcon *ei; … … 777 784 if (SUCCEEDED (IShellFolder_GetUIObjectOf(sh, 0, 1, &pidl, &IID_IExtractIconA, 0, (void **)&ei))) 778 785 { 779 if (NOERROR==IExtractIconA_GetIconLocation(ei, 0, szIconFile, MAX_PATH, &iSourceIndex, &dwFlags))786 if (NOERROR==IExtractIconA_GetIconLocation(ei, uFlags, szIconFile, MAX_PATH, &iSourceIndex, &dwFlags)) 780 787 { *pIndex = SIC_GetIconIndex(szIconFile, iSourceIndex); 781 788 ret = TRUE; … … 801 808 */ 802 809 803 ODINFUNCTION3(UINT,SHMapPIDLToSystemImageListIndex,LPSHELLFOLDER, sh, 804 LPITEMIDLIST, pidl, 805 UINT*, pIndex) 810 ODINFUNCTION3(int,SHMapPIDLToSystemImageListIndex, 811 LPSHELLFOLDER, sh, 812 LPITEMIDLIST, pidl, 813 UINT*, pIndex) 806 814 { 807 815 UINT Index; … … 810 818 811 819 if (pIndex) 812 PidlToSicIndex ( sh, pidl, 1, pIndex);813 PidlToSicIndex ( sh, pidl, 0, &Index);820 PidlToSicIndex ( sh, pidl, 1, 0, pIndex); 821 PidlToSicIndex ( sh, pidl, 0, 0, &Index); 814 822 return Index; 815 823 }
Note:
See TracChangeset
for help on using the changeset viewer.