Fix for recent shelllink patch, which removed the important part of
returning the result pointer from IShellLink_ConstructFromFile().
This commit is contained in:
parent
f6e1be6afe
commit
075d6a1238
|
@ -896,6 +896,9 @@ HRESULT WINAPI IShellLink_ConstructFromFile (
|
||||||
else
|
else
|
||||||
hr = E_FAIL;
|
hr = E_FAIL;
|
||||||
|
|
||||||
|
if (SUCCEEDED(hr))
|
||||||
|
*ppv = (IUnknown*) psl;
|
||||||
|
|
||||||
IPersistFile_Release(ppf);
|
IPersistFile_Release(ppf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue