https://git.reactos.org/?p=reactos.git;a=commitdiff;h=57d0e1d20797ccdcef9e9…
commit 57d0e1d20797ccdcef9e966445b7fefa317f9656
Author: Mark Jansen <mark.jansen(a)reactos.org>
AuthorDate: Sat Oct 15 00:01:45 2022 +0200
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Sat Oct 15 00:01:45 2022 +0200
[SHELL32] Remove unused function
---
dll/win32/shell32/shlfolder.cpp | 17 -----------------
1 file changed, 17 deletions(-)
diff --git a/dll/win32/shell32/shlfolder.cpp b/dll/win32/shell32/shlfolder.cpp
index 315ad7d74c1..ee6c78b47fd 100644
--- a/dll/win32/shell32/shlfolder.cpp
+++ b/dll/win32/shell32/shlfolder.cpp
@@ -26,23 +26,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(shell);
-static
-HRESULT WINAPI _SHBindToFolder(LPCITEMIDLIST path, IShellFolder** newFolder)
-{
- CComPtr<IShellFolder> desktop;
-
- HRESULT hr = ::SHGetDesktopFolder(&desktop);
- if (FAILED_UNEXPECTEDLY(hr))
- return E_FAIL;
- if (path == NULL || path->mkid.cb == 0)
- {
- *newFolder = desktop;
- desktop.p->AddRef();
- return S_OK;
- }
- return desktop->BindToObject(path, NULL, IID_PPV_ARG(IShellFolder, newFolder));
-}
-
/***************************************************************************
* GetNextElement (internal function)