mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 12:20:07 +00:00
shell32: Constify some variables.
This commit is contained in:
parent
039beff441
commit
c333402b7f
@ -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);
|
||||
|
@ -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];
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user