[PATCH] Add SHGetLocalizedName stub

Nikolay Sivov nsivov at codeweavers.com
Thu May 20 14:31:55 CDT 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 7a5d4ed..c398f92 100644
--- a/dlls/shell32/shell32.spec
+++ b/dlls/shell32/shell32.spec
@@ -358,6 +358,7 @@
 @ stdcall SHGetIconOverlayIndexA(str long)
 @ stdcall SHGetIconOverlayIndexW(wstr long)
 @ stdcall SHGetInstanceExplorer(long)
+@ stdcall SHGetLocalizedName(wstr ptr long ptr)
 @ stdcall SHGetMalloc(ptr)
 @ stdcall SHGetNewLinkInfo(str str ptr long long) SHGetNewLinkInfoA
 @ stdcall SHGetPathFromIDList(ptr ptr) SHGetPathFromIDListA
diff --git a/dlls/shell32/shell32_main.c b/dlls/shell32/shell32_main.c
index dc71022..171a250 100644
--- a/dlls/shell32/shell32_main.c
+++ b/dlls/shell32/shell32_main.c
@@ -1225,3 +1225,10 @@ LRESULT CALLBACK ShellHookProc(DWORD a, DWORD b, DWORD c)
     FIXME("Stub\n");
     return 0;
 }
+
+HRESULT WINAPI SHGetLocalizedName(LPCWSTR path, LPWSTR module, UINT size, INT *res)
+{
+    FIXME("%s %p %u %p: stub\n", debugstr_w(path), module, size, res);
+    return E_NOTIMPL;
+}
+
-- 
1.5.6.5


--=-pv5zc6Ce1w8Hl4gvK+ZI--




More information about the wine-patches mailing list