Commit a010e3b3 authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

CoInitialize(Ex) should return S_FALSE when COM is already initialized

for the current thread.
parent d7b4d60c
......@@ -543,6 +543,8 @@ HRESULT WINAPI CoInitializeEx(
COM_ApartmentRelease(apt);
return RPC_E_CHANGED_MODE;
}
else
hr = S_FALSE;
COM_CurrentInfo()->inits++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment