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/modules/audio_device/win/
Daudio_device_core_win.cc228 ScopedCOMInitializer comInit(ScopedCOMInitializer::kMTA); in CoreAudioIsSupported() local
229 if (!comInit.succeeded()) { in CoreAudioIsSupported()
2643 ScopedCOMInitializer comInit(ScopedCOMInitializer::kMTA); in DoRenderThread() local
2644 if (!comInit.succeeded()) { in DoRenderThread()
2950 ScopedCOMInitializer comInit(ScopedCOMInitializer::kMTA); in DoCaptureThreadPollDMO() local
2951 if (!comInit.succeeded()) { in DoCaptureThreadPollDMO()
3082 ScopedCOMInitializer comInit(ScopedCOMInitializer::kMTA); in DoCaptureThread() local
3083 if (!comInit.succeeded()) { in DoCaptureThread()