Stefan Leichter : shell32: Stub for SHParseDisplayName.

Alexandre Julliard julliard at winehq.org
Thu Apr 30 11:01:10 CDT 2009


Module: wine
Branch: master
Commit: 946f3f998f80e21995214bd0fddd2054cb9ef26b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=946f3f998f80e21995214bd0fddd2054cb9ef26b

Author: Stefan Leichter <Stefan.Leichter at camline.com>
Date:   Wed Apr 29 17:49:24 2009 +0200

shell32: Stub for SHParseDisplayName.

---

 dlls/shell32/pidl.c       |   11 +++++++++++
 dlls/shell32/shell32.spec |    1 +
 include/shlobj.h          |    1 +
 3 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/dlls/shell32/pidl.c b/dlls/shell32/pidl.c
index f3534d1..3e61144 100644
--- a/dlls/shell32/pidl.c
+++ b/dlls/shell32/pidl.c
@@ -1320,6 +1320,17 @@ HRESULT WINAPI SHBindToParent(LPCITEMIDLIST pidl, REFIID riid, LPVOID *ppv, LPCI
     return hr;
 }
 
+/*************************************************************************
+ * SHParseDisplayName             [SHELL32.@]
+ */
+HRESULT WINAPI SHParseDisplayName(LPCWSTR name, IBindCtx *bindctx, LPITEMIDLIST *pidlist,
+                                  SFGAOF attr_in, SFGAOF *attr_out)
+{
+    FIXME("%s %p %p %d %p stub!\n", debugstr_w(name), bindctx, pidlist, attr_in, attr_out);
+    if(pidlist) *pidlist = NULL;
+    return E_NOTIMPL;
+}
+
 /**************************************************************************
  *
  *        internal functions
diff --git a/dlls/shell32/shell32.spec b/dlls/shell32/shell32.spec
index 5713c49..b3fc762 100644
--- a/dlls/shell32/shell32.spec
+++ b/dlls/shell32/shell32.spec
@@ -373,6 +373,7 @@
 @ stdcall SHIsFileAvailableOffline(wstr ptr)
 @ stdcall SHLoadInProc(long)
 @ stdcall SHLoadNonloadedIconOverlayIdentifiers()
+@ stdcall SHParseDisplayName(wstr ptr ptr long ptr)
 @ stdcall SHPathPrepareForWriteA(long ptr str long)
 @ stdcall SHPathPrepareForWriteW(long ptr wstr long)
 @ stdcall SHQueryRecycleBinA(str ptr)
diff --git a/include/shlobj.h b/include/shlobj.h
index b7efc85..df3a959 100644
--- a/include/shlobj.h
+++ b/include/shlobj.h
@@ -64,6 +64,7 @@ BOOL         WINAPI SHGetPathFromIDListW(LPCITEMIDLIST,LPWSTR);
 INT          WINAPI SHHandleUpdateImage(LPCITEMIDLIST);
 HRESULT      WINAPI SHILCreateFromPath(LPCWSTR,LPITEMIDLIST*,DWORD*);
 HRESULT      WINAPI SHLoadOLE(LPARAM);
+HRESULT      WINAPI SHParseDisplayName(LPCWSTR,IBindCtx*,LPITEMIDLIST*,SFGAOF,SFGAOF*);
 HRESULT      WINAPI SHPathPrepareForWriteA(HWND,IUnknown*,LPCSTR,DWORD);
 HRESULT      WINAPI SHPathPrepareForWriteW(HWND,IUnknown*,LPCWSTR,DWORD);
 #define             SHPathPrepareForWrite WINELIB_NAME_AW(SHPathPrepareForWrite);




More information about the wine-cvs mailing list