From: Austin English Subject: shell32: add a stub for SHOpenFolderAndSelectItems Message-Id: Date: Sun, 15 May 2011 13:13:21 -0500 From the keeping Focht happy department. For http://bugs.winehq.org/show_bug.cgi?id=26193 -- -Austin diff --git a/dlls/shell32/shell32.spec b/dlls/shell32/shell32.spec index b5debf1..97e52e5 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 f905b70..d8bb250 100644 --- a/dlls/shell32/shlfolder.c +++ b/dlls/shell32/shlfolder.c @@ -580,3 +580,16 @@ 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; +} +