Searched refs:hr_ (Results 1 – 6 of 6) sorted by relevance
62 : hr_(CallRoInitialize(RO_INIT_MULTITHREADED)) { in ScopedWinrtInitializer()65 if (SUCCEEDED(hr_)) in ScopedWinrtInitializer()68 DCHECK_NE(RPC_E_CHANGED_MODE, hr_) << "Invalid COM thread model change"; in ScopedWinrtInitializer()74 if (SUCCEEDED(hr_)) in ~ScopedWinrtInitializer()79 return SUCCEEDED(hr_); in Succeeded()
37 return SUCCEEDED(hr_); in Succeeded()55 hr_ = ::CoInitializeEx(nullptr, init | COINIT_DISABLE_OLE1DDE); in Initialize()56 DCHECK_NE(RPC_E_CHANGED_MODE, hr_) << "Invalid COM thread model change"; in Initialize()
43 const HRESULT hr_;
68 HRESULT hr_ = S_OK; variable
40 hr_ = CoInitializeEx(NULL, init); in Initialize()41 RTC_CHECK_NE(RPC_E_CHANGED_MODE, hr_) in Initialize()48 if (hr_ == S_OK) { in Initialize()51 } else if (hr_ == S_FALSE) { in Initialize()
46 bool Succeeded() { return SUCCEEDED(hr_); } in Succeeded()51 HRESULT hr_; variable