MCPcopy Create free account
hub / github.com/LegacyUpdate/LegacyUpdate / CoCreateInstance

Method CoCreateInstance

include/com/ComPtr.h:133–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131 }
132
133 HRESULT CoCreateInstance(REFCLSID rclsid, LPUNKNOWN pUnkOuter = NULL, DWORD dwClsContext = CLSCTX_ALL) {
134 return ::CoCreateInstance(rclsid, pUnkOuter, dwClsContext, __uuidof(TInterface), (void **)&this->pointer);
135 }
136
137 HRESULT CoCreateInstance(REFCLSID rclsid, REFIID riid, LPUNKNOWN pUnkOuter = NULL, DWORD dwClsContext = CLSCTX_ALL) {
138 return ::CoCreateInstance(rclsid, pUnkOuter, dwClsContext, riid, (void **)&this->pointer);

Callers 4

get_IsRebootRequiredMethod · 0.80
CreateObjectMethod · 0.80
RebootMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected