mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 12:23:30 +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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user