projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b95cbf
)
[SHELL32] Fix a crash in shell32:shelldispatch by returning an empty CFolderItems...
author
Mark Jansen
<mark.jansen@reactos.org>
Sun, 21 Aug 2016 18:48:48 +0000
(18:48 +0000)
committer
Mark Jansen
<mark.jansen@reactos.org>
Sun, 21 Aug 2016 18:48:48 +0000
(18:48 +0000)
svn path=/trunk/; revision=72415
reactos/dll/win32/shell32/CFolder.cpp
patch
|
blob
|
history
diff --git
a/reactos/dll/win32/shell32/CFolder.cpp
b/reactos/dll/win32/shell32/CFolder.cpp
index
37f6499
..
c7e8c2d
100644
(file)
--- a/
reactos/dll/win32/shell32/CFolder.cpp
+++ b/
reactos/dll/win32/shell32/CFolder.cpp
@@
-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)