mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +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
1 changed files with 4 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue