mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 20:15:59 +00:00
[SHELL32] Remove unused function
This commit is contained in:
parent
6a9696f10b
commit
57d0e1d207
1 changed files with 0 additions and 17 deletions
|
@ -26,23 +26,6 @@
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(shell);
|
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)
|
* GetNextElement (internal function)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue