Commit a0ad8f38 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

shell32: IShellLink::GetIDList fix.

IShellLink::GetIDList when it fails to generate a PIDL must set ppidl to NULL or some applications think it contains valid data.
parent aecbb11e
......@@ -1744,7 +1744,10 @@ static HRESULT WINAPI IShellLinkW_fnGetIDList(IShellLinkW * iface, LPITEMIDLIST
TRACE("(%p)->(ppidl=%p)\n",This, ppidl);
if (!This->pPidl)
{
*ppidl = NULL;
return S_FALSE;
}
*ppidl = ILClone(This->pPidl);
return S_OK;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment