[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:
Mark Jansen 2016-08-21 18:48:48 +00:00
parent 8b95cbf0e2
commit 63fae88fbc

View file

@ -82,8 +82,10 @@ HRESULT STDMETHODCALLTYPE CFolder::get_ParentFolder(Folder **ppsf)
HRESULT STDMETHODCALLTYPE CFolder::Items(FolderItems **ppid)
{
TRACE("(%p, %p)\n", this, ppid);
return E_NOTIMPL;
CFolderItems* item = new CComObject<CFolderItems>();
item->AddRef();
*ppid = item;
return S_OK;
}
HRESULT STDMETHODCALLTYPE CFolder::ParseName(BSTR bName, FolderItem **ppid)