Aric Stewart : shell32: Initial stub for SHCreateShellItem. It returns E_NOINTERFACE until shell32 version 6.0 or later.

Alexandre Julliard julliard at winehq.org
Wed Jan 21 06:39:27 CST 2009


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

Author: Aric Stewart <aric at codeweavers.com>
Date:   Tue Jan 20 13:04:50 2009 -0600

shell32: Initial stub for SHCreateShellItem. It returns E_NOINTERFACE until shell32 version 6.0 or later.

---

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

diff --git a/dlls/shell32/pidl.c b/dlls/shell32/pidl.c
index 54ecc5a..bee7166 100644
--- a/dlls/shell32/pidl.c
+++ b/dlls/shell32/pidl.c
@@ -2363,3 +2363,10 @@ LPITEMIDLIST* _ILCopyCidaToaPidl(LPITEMIDLIST* pidl, const CIDA * cida)
 
     return dst;
 }
+
+HRESULT WINAPI SHCreateShellItem(LPCITEMIDLIST pidlParent,
+    IShellFolder *psfParent, LPCITEMIDLIST pidl, void **ppsi)
+{
+    FIXME("STUB: %p %p %p %p\n",pidlParent, psfParent, pidl, ppsi);
+    return E_NOINTERFACE;
+}
diff --git a/dlls/shell32/shell32.spec b/dlls/shell32/shell32.spec
index 396227c..6a51bcd 100644
--- a/dlls/shell32/shell32.spec
+++ b/dlls/shell32/shell32.spec
@@ -328,6 +328,7 @@
 @ stdcall SHCreateDirectoryExA(long str ptr)
 @ stdcall SHCreateDirectoryExW(long wstr ptr)
 @ stub SHCreateProcessAsUserW
+@ stdcall SHCreateShellItem(ptr ptr ptr ptr)
 @ stdcall SHEmptyRecycleBinA(long str long)
 @ stdcall SHEmptyRecycleBinW(long wstr long)
 @ stub SHExtractIconsW




More information about the wine-cvs mailing list