From b7dc6dc3d99a8e50fb8978639d52732a99ddd700 Mon Sep 17 00:00:00 2001 From: Dmitry Chapyshev Date: Tue, 3 Feb 2009 09:29:48 +0000 Subject: [PATCH] - Add stub for SHGetIconOverlayIndexA/W - Remove "-noname" attribute from ILAppendID function svn path=/trunk/; revision=39303 --- reactos/dll/win32/shell32/iconcache.c | 24 ++++++++++++++++++++++++ reactos/dll/win32/shell32/shell32.spec | 6 +++--- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/reactos/dll/win32/shell32/iconcache.c b/reactos/dll/win32/shell32/iconcache.c index 3a3766e1cda..9e1ade7d438 100644 --- a/reactos/dll/win32/shell32/iconcache.c +++ b/reactos/dll/win32/shell32/iconcache.c @@ -843,3 +843,27 @@ HRESULT WINAPI SHDefExtractIconA(LPCSTR pszIconFile, int iIndex, UINT uFlags, HeapFree(GetProcessHeap(), 0, lpwstrFile); return ret; } + +/**************************************************************************** + * SHGetIconOverlayIndexA [SHELL32.@] + * + * Returns the index of the overlay icon in the system image list. + */ +INT WINAPI SHGetIconOverlayIndexA(LPCSTR pszIconPath, INT iIconIndex) +{ + FIXME("%s, %d\n", debugstr_a(pszIconPath), iIconIndex); + + return -1; +} + +/**************************************************************************** + * SHGetIconOverlayIndexW [SHELL32.@] + * + * Returns the index of the overlay icon in the system image list. + */ +INT WINAPI SHGetIconOverlayIndexW(LPCWSTR pszIconPath, INT iIconIndex) +{ + FIXME("%s, %d\n", debugstr_w(pszIconPath), iIconIndex); + + return -1; +} diff --git a/reactos/dll/win32/shell32/shell32.spec b/reactos/dll/win32/shell32/shell32.spec index f2c63b6f424..416e53ff6c9 100644 --- a/reactos/dll/win32/shell32/shell32.spec +++ b/reactos/dll/win32/shell32/shell32.spec @@ -151,7 +151,7 @@ 151 stdcall SHLoadOLE(long) 152 stdcall ILGetSize(ptr) 153 stdcall ILGetNext(ptr) -154 stdcall -noname ILAppendID(long long long) ILAppend +154 stdcall ILAppendID(long long long) ILAppend 155 stdcall ILFree(ptr) 156 stdcall -noname ILGlobalFree(ptr) 157 stdcall ILCreateFromPath(ptr) ILCreateFromPathAW @@ -304,8 +304,8 @@ 304 stdcall SHGetFolderPathAndSubDirA(long long long long str ptr) 305 stdcall SHGetFolderPathAndSubDirW(long long long long wstr ptr) 306 stdcall SHGetFolderPathW(long long long long ptr) -307 stub SHGetIconOverlayIndexA # Needed for sync with Wine -308 stub SHGetIconOverlayIndexW # Needed for sync with Wine +307 stdcall SHGetIconOverlayIndexA(str long) +308 stdcall SHGetIconOverlayIndexW(wstr long) 309 stdcall SHGetInstanceExplorer(long) 310 stdcall SHGetMalloc(ptr) 311 stdcall SHGetNewLinkInfo(str str ptr long long) SHGetNewLinkInfoA