mirror of
https://github.com/reactos/reactos.git
synced 2024-08-06 11:24:58 +00:00
[SHELL32] Fix a crash in shell32:shelldispatch by returning an empty CFolderItems object instead of nothing.
svn path=/trunk/; revision=72415
This commit is contained in:
parent
8b95cbf0e2
commit
63fae88fbc
|
@ -82,8 +82,10 @@ HRESULT STDMETHODCALLTYPE CFolder::get_ParentFolder(Folder **ppsf)
|
||||||
|
|
||||||
HRESULT STDMETHODCALLTYPE CFolder::Items(FolderItems **ppid)
|
HRESULT STDMETHODCALLTYPE CFolder::Items(FolderItems **ppid)
|
||||||
{
|
{
|
||||||
TRACE("(%p, %p)\n", this, ppid);
|
CFolderItems* item = new CComObject<CFolderItems>();
|
||||||
return E_NOTIMPL;
|
item->AddRef();
|
||||||
|
*ppid = item;
|
||||||
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT STDMETHODCALLTYPE CFolder::ParseName(BSTR bName, FolderItem **ppid)
|
HRESULT STDMETHODCALLTYPE CFolder::ParseName(BSTR bName, FolderItem **ppid)
|
||||||
|
|
Loading…
Reference in a new issue