9#if defined(SK_BUILD_FOR_WIN)
16SkAutoCoInitialize::SkAutoCoInitialize() :
18 CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE)
22SkAutoCoInitialize::~SkAutoCoInitialize() {
28bool SkAutoCoInitialize::succeeded() {
29 return SUCCEEDED(this->fHR) || RPC_E_CHANGED_MODE == this->fHR;