bugfix: return shell link interface pointer
Martin Fuchs
martin-fuchs at gmx.net
Mon Mar 22 16:13:16 CST 2004
Changelog:
- fix for recent shelllink patch, which removed the important part of returning the result pointer from IShellLink_ConstructFromFile()
Index: shelllink.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/shelllink.c,v
retrieving revision 1.61
diff -u -p -d -r1.61 shelllink.c
--- shelllink.c 22 Mar 2004 21:12:39 -0000 1.61
+++ shelllink.c 22 Mar 2004 22:12:50 -0000
@@ -896,6 +896,9 @@ HRESULT WINAPI IShellLink_ConstructFromF
else
hr = E_FAIL;
+ if (SUCCEEDED(hr))
+ *ppv = (IUnknown*) psl;
+
IPersistFile_Release(ppf);
}
More information about the wine-patches
mailing list