diff --git a/dlls/shell32/brsfolder.c b/dlls/shell32/brsfolder.c index ff5c1f0b362..7f73becb1cf 100644 --- a/dlls/shell32/brsfolder.c +++ b/dlls/shell32/brsfolder.c @@ -179,7 +179,7 @@ static void InitializeTreeView( browse_info *info ) IShellFolder_Release(lpsfParent); } -static int GetIcon(LPITEMIDLIST lpi, UINT uFlags) +static int GetIcon(LPCITEMIDLIST lpi, UINT uFlags) { SHFILEINFOW sfi; SHGetFileInfoW((LPCWSTR)lpi, 0 ,&sfi, sizeof(SHFILEINFOW), uFlags); diff --git a/dlls/shell32/changenotify.c b/dlls/shell32/changenotify.c index 9f827eb53ab..c88ca1f2a7e 100644 --- a/dlls/shell32/changenotify.c +++ b/dlls/shell32/changenotify.c @@ -105,7 +105,7 @@ static const char * DumpEvent( LONG event ) #undef DUMPEV } -static const char * NodeName(LPNOTIFICATIONLIST item) +static const char * NodeName(const NOTIFICATIONLIST *item) { const char *str; WCHAR path[MAX_PATH]; diff --git a/dlls/shell32/cpanelfolder.c b/dlls/shell32/cpanelfolder.c index fef45b5ce7e..aa09edf62c2 100644 --- a/dlls/shell32/cpanelfolder.c +++ b/dlls/shell32/cpanelfolder.c @@ -917,7 +917,7 @@ static const IPersistFolder2Vtbl vt_PersistFolder2 = ICPanel_PersistFolder2_GetCurFolder }; -HRESULT CPanel_GetIconLocationW(LPITEMIDLIST pidl, +HRESULT CPanel_GetIconLocationW(LPCITEMIDLIST pidl, LPWSTR szIconFile, UINT cchMax, int* piIndex) { PIDLCPanelStruct* pcpanel = _ILGetCPanelPointer(pidl); diff --git a/dlls/shell32/shell32_main.h b/dlls/shell32/shell32_main.h index c974c8ea46b..f5fcf37916c 100644 --- a/dlls/shell32/shell32_main.h +++ b/dlls/shell32/shell32_main.h @@ -99,7 +99,7 @@ HRESULT WINAPI FolderShortcut_Constructor(IUnknown * pUnkOuter, REFIID riid, LPV HRESULT WINAPI MyDocuments_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID *ppv); HRESULT WINAPI RecycleBin_Constructor(IUnknown * pUnkOuter, REFIID riif, LPVOID *ppv); HRESULT WINAPI ShellFSFolder_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID *ppv); -extern HRESULT CPanel_GetIconLocationW(LPITEMIDLIST, LPWSTR, UINT, int*); +extern HRESULT CPanel_GetIconLocationW(LPCITEMIDLIST, LPWSTR, UINT, int*); HRESULT WINAPI CPanel_ExtractIconA(LPITEMIDLIST pidl, LPCSTR pszFile, UINT nIconIndex, HICON *phiconLarge, HICON *phiconSmall, UINT nIconSize); HRESULT WINAPI CPanel_ExtractIconW(LPITEMIDLIST pidl, LPCWSTR pszFile, UINT nIconIndex, HICON *phiconLarge, HICON *phiconSmall, UINT nIconSize);