mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-27 03:43:36 +00:00
[SHELL32] Remove unused function
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user