27 #ifndef SBAUTOCOMINITIALIZER_H_
28 #define SBAUTOCOMINITIALIZER_H_
84 HRESULT
Initialize(DWORD aInitFlags = COINIT_MULTITHREADED)
86 HRESULT result = S_OK;
91 result = ::CoInitializeEx(NULL, aInitFlags);
104 if (FAILED(result) && result != RPC_E_CHANGED_MODE) {
HRESULT Initialize(DWORD aInitFlags=COINIT_MULTITHREADED)
sbAutoCOMInitializer(DWORD aInitFlags)
HRESULT GetHRESULT() const