[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    [PATCH 1/3] shell32: Add SHBindToFolderIDListParent semi-stub.
From:       Mohamad Al-Jaf <mohamadaljaf () gmail ! com>
Date:       2022-05-04 2:14:43
Message-ID: 20220504021446.165410-1-mohamadaljaf () gmail ! com
[Download RAW message or body]

Called by IE11.

Signed-off-by: Mohamad Al-Jaf <mohamadaljaf@gmail.com>
---
 dlls/shell32/pidl.c       | 9 +++++++++
 dlls/shell32/shell32.spec | 1 +
 include/shlobj.h          | 5 +++++
 3 files changed, 15 insertions(+)

diff --git a/dlls/shell32/pidl.c b/dlls/shell32/pidl.c
index 4c66a14c700..a87a8762a26 100644
--- a/dlls/shell32/pidl.c
+++ b/dlls/shell32/pidl.c
@@ -1285,6 +1285,15 @@ BOOL WINAPI SHGetPathFromIDListEx(LPCITEMIDLIST pidl, WCHAR \
*path, DWORD path_si  return SUCCEEDED(hr);
 }
 
+/*************************************************************************
+ * SHBindToFolderIDListParent             [SHELL32.@]
+ */
+HRESULT WINAPI SHBindToFolderIDListParent(IShellFolder *psf, LPCITEMIDLIST pidl, \
REFIID riid, LPVOID *ppv, LPCITEMIDLIST *ppidlLast) +{
+    FIXME("(%p, %p, %s, %p, %p) - semi-stub\n", psf, pidl, debugstr_guid(riid), ppv, \
ppidlLast); +    return SHBindToParent(pidl, riid, ppv, ppidlLast);
+}
+
 /*************************************************************************
  *    SHBindToParent        [shell version 5.0]
  */
diff --git a/dlls/shell32/shell32.spec b/dlls/shell32/shell32.spec
index f8bf8f246e8..6348fcb3a6d 100644
--- a/dlls/shell32/shell32.spec
+++ b/dlls/shell32/shell32.spec
@@ -333,6 +333,7 @@
 @ stdcall SHAppBarMessage(long ptr)
 @ stdcall SHAssocEnumHandlers(wstr long ptr)
 @ stdcall SHBindToObject(ptr ptr ptr ptr ptr)
+@ stdcall SHBindToFolderIDListParent(ptr ptr ptr ptr ptr)
 @ stdcall SHBindToParent(ptr ptr ptr ptr)
 @ stdcall SHBrowseForFolder(ptr) SHBrowseForFolderA
 @ stdcall SHBrowseForFolderA(ptr)
diff --git a/include/shlobj.h b/include/shlobj.h
index d30944662f7..f4ef2edf76b 100644
--- a/include/shlobj.h
+++ b/include/shlobj.h
@@ -1639,6 +1639,11 @@ HRESULT WINAPI SHGetFolderPathW(HWND hwnd, int nFolder, HANDLE \
                hToken, DWORD dwF
  */
 HRESULT WINAPI SHGetDesktopFolder(IShellFolder * *);
 
+/****************************************************************************
+ * SHBindToFolderIDListParent API
+ */
+HRESULT WINAPI SHBindToFolderIDListParent(IShellFolder *psf, LPCITEMIDLIST pidl, \
REFIID riid, LPVOID *ppv, LPCITEMIDLIST *ppidlLast); +
 /****************************************************************************
  * SHBindToParent API
  */
-- 
2.36.0


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic