Commit b09610e1 authored by Fredrik Orderud's avatar Fredrik Orderud
Browse files

Replace CoInitialize calls with CoInitializeEx

Done to make single-threaded apartment (STA) usage more explicit.
CoInitializeEx(0, COINIT_APARTMENTTHREADED) does exactly the same as
CoInitialize(0), so there is no change in behavior.

REF: https://docs.microsoft.com/nb-no/windows/desktop/api/combaseapi/nf-combaseapi-coinitializeex



Change-Id: I2e2f77745b4360b1da1e6c284551d0f709aba546
Reviewed-by: default avatarAndre de la Rocha <andre.rocha@qt.io>
Reviewed-by: default avatarOliver Wolff <oliver.wolff@qt.io>
parent e977cfd5
No related merge requests found
Showing with 7 additions and 7 deletions
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