MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / ComInitialization

Method ComInitialization

Win32Lib/Com.cpp:15–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13namespace Win32 {
14
15ComInitialization::ComInitialization(CoInit init)
16{
17 HRESULT hr = CoInitializeEx(nullptr, init); //DrMemory: LEAK 264 direct bytes
18 if (FAILED(hr))
19 throw Win32Error(hr, "CoInitializeEx");
20}
21
22ComInitialization::~ComInitialization()
23{

Callers

nothing calls this directly

Calls 1

Win32ErrorClass · 0.85

Tested by

no test coverage detected