mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +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
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue