Fix for recent shelllink patch, which removed the important part of

returning the result pointer from IShellLink_ConstructFromFile().
This commit is contained in:
Martin Fuchs 2004-03-22 22:58:37 +00:00 committed by Alexandre Julliard
parent f6e1be6afe
commit 075d6a1238
1 changed files with 3 additions and 0 deletions

View File

@ -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);
} }