summaryrefslogtreecommitdiffstats
path: root/win8/metro_driver/metro_driver_win7.cc
diff options
context:
space:
mode:
Diffstat (limited to 'win8/metro_driver/metro_driver_win7.cc')
-rw-r--r--win8/metro_driver/metro_driver_win7.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/win8/metro_driver/metro_driver_win7.cc b/win8/metro_driver/metro_driver_win7.cc
index 618cfb3..22d6034 100644
--- a/win8/metro_driver/metro_driver_win7.cc
+++ b/win8/metro_driver/metro_driver_win7.cc
@@ -1229,7 +1229,7 @@ class CoreApplicationWin7Emulation
mswr::ComPtr<winapp::Core::ICoreApplication> InitWindows7() {
- HRESULT hr = ::CoInitializeEx(NULL, COINIT_MULTITHREADED);
+ HRESULT hr = ::CoInitializeEx(NULL, COINIT_APARTMENTTHREADED);
if (FAILED(hr))
CHECK(false);
return mswr::Make<CoreApplicationWin7Emulation>();