Home
last modified time | relevance | path

Searched refs:comInit (Results 1 – 2 of 2) sorted by relevance

/external/mdnsresponder/mDNSWindows/SystemService/
DFirewall.cpp390 HRESULT comInit = E_FAIL; in mDNSAddToFirewall() local
395 comInit = CoInitializeEx( 0, COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE ); in mDNSAddToFirewall()
400 if (comInit != RPC_E_CHANGED_MODE) in mDNSAddToFirewall()
402 err = comInit; in mDNSAddToFirewall()
427 if (SUCCEEDED(comInit)) in mDNSAddToFirewall()
440 HRESULT comInit = E_FAIL; in mDNSIsFileAndPrintSharingEnabled() local
447 comInit = CoInitializeEx( 0, COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE ); in mDNSIsFileAndPrintSharingEnabled()
452 if (comInit != RPC_E_CHANGED_MODE) in mDNSIsFileAndPrintSharingEnabled()
455 err = comInit; in mDNSIsFileAndPrintSharingEnabled()
478 if (SUCCEEDED(comInit)) in mDNSIsFileAndPrintSharingEnabled()
/external/webrtc/webrtc/modules/audio_device/win/
Daudio_device_core_win.cc238 ScopedCOMInitializer comInit(ScopedCOMInitializer::kMTA); in CoreAudioIsSupported() local
239 if (!comInit.succeeded()) { in CoreAudioIsSupported()
3385 ScopedCOMInitializer comInit(ScopedCOMInitializer::kMTA); in DoRenderThread() local
3386 if (!comInit.succeeded()) { in DoRenderThread()
3719 ScopedCOMInitializer comInit(ScopedCOMInitializer::kMTA); in DoCaptureThreadPollDMO() local
3720 if (!comInit.succeeded()) { in DoCaptureThreadPollDMO()
3877 ScopedCOMInitializer comInit(ScopedCOMInitializer::kMTA); in DoCaptureThread() local
3878 if (!comInit.succeeded()) { in DoCaptureThread()