mirror of
https://github.com/reactos/reactos.git
synced 2024-06-22 22:11:39 +00:00
[SHELL32] CFolderItemVerb: Zero-initialize output parameters
This commit is contained in:
parent
9efa7cc498
commit
6a9696f10b
|
@ -42,12 +42,20 @@ void CFolderItemVerb::Init(IContextMenu* menu, BSTR name)
|
||||||
HRESULT STDMETHODCALLTYPE CFolderItemVerb::get_Application(IDispatch **ppid)
|
HRESULT STDMETHODCALLTYPE CFolderItemVerb::get_Application(IDispatch **ppid)
|
||||||
{
|
{
|
||||||
TRACE("(%p, %p)\n", this, ppid);
|
TRACE("(%p, %p)\n", this, ppid);
|
||||||
|
|
||||||
|
if (ppid)
|
||||||
|
*ppid = NULL;
|
||||||
|
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT STDMETHODCALLTYPE CFolderItemVerb::get_Parent(IDispatch **ppid)
|
HRESULT STDMETHODCALLTYPE CFolderItemVerb::get_Parent(IDispatch **ppid)
|
||||||
{
|
{
|
||||||
TRACE("(%p, %p)\n", this, ppid);
|
TRACE("(%p, %p)\n", this, ppid);
|
||||||
|
|
||||||
|
if (ppid)
|
||||||
|
*ppid = NULL;
|
||||||
|
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue