[PATCH] Add SHCreateFileExtractIconW stub

Nikolay Sivov nsivov at codeweavers.com
Tue Mar 9 06:10:08 CST 2010


---
 dlls/shell32/shell32.spec   |    1 +
 dlls/shell32/shell32_main.c |    7 +++++++
 2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/dlls/shell32/shell32.spec b/dlls/shell32/shell32.spec
index fc1347e..7a5d4ed 100644
--- a/dlls/shell32/shell32.spec
+++ b/dlls/shell32/shell32.spec
@@ -258,6 +258,7 @@
  714 stdcall @(ptr) SHELL32_714 # PathIsTemporaryW
  727 stdcall SHGetImageList(long ptr ptr)
  730 stdcall -noname RestartDialogEx(long wstr long long)
+ 743 stdcall SHCreateFileExtractIconW(wstr long ptr ptr)
 
 1217 stub FOOBAR1217   # no joke! This is the real name!!
 
diff --git a/dlls/shell32/shell32_main.c b/dlls/shell32/shell32_main.c
index 969dfad..db63e16 100644
--- a/dlls/shell32/shell32_main.c
+++ b/dlls/shell32/shell32_main.c
@@ -795,6 +795,13 @@ HICON WINAPI ExtractIconW(HINSTANCE hInstance, LPCWSTR lpszFile, UINT nIconIndex
     return NULL;
 }
 
+HRESULT WINAPI SHCreateFileExtractIconW(LPCWSTR file, DWORD attribs, REFIID riid, void **ppv)
+{
+  FIXME("%s, %x, %s, %p\n", debugstr_w(file), attribs, debugstr_guid(riid), ppv);
+  *ppv = NULL;
+  return E_NOTIMPL;
+}
+
 /*************************************************************************
  * Printer_LoadIconsW        [SHELL32.205]
  */
-- 
1.5.6.5


--=-kp91S392DZsW0gAToHei--




More information about the wine-patches mailing list