[OLE] Fix for CoInitializeEx
Christian Costa
titan.costa at wanadoo.fr
Tue Jan 11 17:40:21 CST 2005
Hi,
Changelog:
CoInitialize(Ex) should return S_FALSE when COM is already initialized
for the current thread.
Christian Costa titan.costa at wanadoo.fr
-------------- next part --------------
Index: dlls/ole32/compobj.c
===================================================================
RCS file: /home/wine/wine/dlls/ole32/compobj.c,v
retrieving revision 1.122
diff -u -r1.122 compobj.c
--- dlls/ole32/compobj.c 11 Jan 2005 15:45:03 -0000 1.122
+++ dlls/ole32/compobj.c 11 Jan 2005 22:22:27 -0000
@@ -560,6 +560,8 @@
COM_ApartmentRelease(apt);
return RPC_E_CHANGED_MODE;
}
+ else
+ hr = S_FALSE;
COM_CurrentInfo()->inits++;
More information about the wine-patches
mailing list