[SHELL32] Remove unused function

This commit is contained in:
Mark Jansen 2022-10-15 00:01:45 +02:00
parent 6a9696f10b
commit 57d0e1d207
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B

View file

@ -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)