mirror of
https://github.com/reactos/wine.git
synced 2025-01-22 20:04:59 +00:00
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.
This commit is contained in:
parent
aecbb11e40
commit
a0ad8f38c7
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user