From 5a384553bdcb61f02791d8d96b5d76805874f25e Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=A9=20van=20Geldorp?= Date: Mon, 20 Sep 2004 18:32:33 +0000 Subject: [PATCH] Robert Shearman - Add exports for missing ordinals 191-194. - Stub for SHUpdateImageW. svn path=/trunk/; revision=10945 --- reactos/lib/shell32/shell32.spec | 4 ++++ reactos/lib/shell32/shellord.c | 21 +++++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/reactos/lib/shell32/shell32.spec b/reactos/lib/shell32/shell32.spec index f93697fb5f6..f5e5fb6e667 100644 --- a/reactos/lib/shell32/shell32.spec +++ b/reactos/lib/shell32/shell32.spec @@ -182,6 +182,10 @@ 188 stub ShellDDEInit 189 stdcall ILCreateFromPathA(str) 190 stdcall ILCreateFromPathW(wstr) + 191 stub SHUpdateImageA + 192 stdcall SHUpdateImageW(wstr long long long) + 193 stub SHHandleUpdateImage + 194 stub SHCreatePropSheetExtArrayEx 195 stdcall SHFree(ptr) 196 stdcall SHAlloc(long) 197 stub SHGlobalDefect diff --git a/reactos/lib/shell32/shellord.c b/reactos/lib/shell32/shellord.c index e84c4c858c2..8c1ac691a1a 100644 --- a/reactos/lib/shell32/shellord.c +++ b/reactos/lib/shell32/shellord.c @@ -1518,3 +1518,24 @@ HRESULT WINAPI SHELL32_256(LPDWORD lpdw0, LPDWORD lpdw1) return ret; } + +/************************************************************************* + * SHUpdateImageW (SHELL32.192) + * + * Notifies the shell that an icon in the system image list has been changed. + * + * PARAMS + * pszHashItem [I] Path to file that contains the icon. + * iIndex [I] Zero-based index of the icon in the file. + * uFlags [I] Flags determining the icon attributes. See notes. + * iImageIndex [I] Index of the icon in the system image list. + * + * NOTES + * uFlags can be one or more of the following flags: + * GIL_NOTFILENAME - pszHashItem is not a file name. + * GIL_SIMULATEDOC - Create a document icon using the specified icon. + */ +void WINAPI SHUpdateImageW(LPCWSTR pszHashItem, int iIndex, UINT uFlags, int iImageIndex) +{ + FIXME("%s, %d, 0x%x, %d\n", debugstr_w(pszHashItem), iIndex, uFlags, iImageIndex); +} -- 2.17.1