From 9b0be4980a2affcc2ff89a6fc889764263dc50f1 Mon Sep 17 00:00:00 2001 From: Aric Stewart Date: Tue, 20 Jan 2009 13:04:50 -0600 Subject: [PATCH] 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(+) diff --git a/dlls/shell32/pidl.c b/dlls/shell32/pidl.c index 54ecc5a21de..bee71664144 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 396227ccb45..6a51bcd29a0 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