From 3174ea94c13c4aca3963c0bcaa040c6a0d0dabf9 Mon Sep 17 00:00:00 2001 From: Austin English Date: Sun, 15 May 2011 13:13:21 -0500 Subject: [PATCH] shell32: Add a stub for SHOpenFolderAndSelectItems. --- dlls/shell32/shell32.spec | 1 + dlls/shell32/shlfolder.c | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/dlls/shell32/shell32.spec b/dlls/shell32/shell32.spec index b5debf14453..97e52e530b3 100644 --- a/dlls/shell32/shell32.spec +++ b/dlls/shell32/shell32.spec @@ -392,6 +392,7 @@ @ stdcall SHIsFileAvailableOffline(wstr ptr) @ stdcall SHLoadInProc(long) @ stdcall SHLoadNonloadedIconOverlayIdentifiers() +@ stdcall SHOpenFolderAndSelectItems(ptr long ptr long) @ stdcall SHParseDisplayName(wstr ptr ptr long ptr) @ stdcall SHPathPrepareForWriteA(long ptr str long) @ stdcall SHPathPrepareForWriteW(long ptr wstr long) diff --git a/dlls/shell32/shlfolder.c b/dlls/shell32/shlfolder.c index f905b703742..f663f4852af 100644 --- a/dlls/shell32/shlfolder.c +++ b/dlls/shell32/shlfolder.c @@ -580,3 +580,15 @@ HRESULT WINAPI SHCreateLinks( HWND hWnd, LPCSTR lpszDir, LPDATAOBJECT lpDataObje FIXME("%p %s %p %08x %p\n",hWnd,lpszDir,lpDataObject,uFlags,lppidlLinks); return E_NOTIMPL; } + +/*********************************************************************** + * SHOpenFolderAndSelectItems + * + * Added in XP. + */ +HRESULT WINAPI SHOpenFolderAndSelectItems( PCIDLIST_ABSOLUTE pidlFolder, UINT cidl, + PCUITEMID_CHILD_ARRAY *apidl, DWORD flags ) +{ + FIXME("%p %u %p 0x%x: stub\n", pidlFolder, cidl, apidl, flags); + return E_NOTIMPL; +}