MCPcopy Create free account
hub / github.com/WinDurango/WinDurango / EraAppActivateInstance

Function EraAppActivateInstance

projects/WinDurango.KernelX/src/Hooks.cpp:149–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149HRESULT __stdcall EraAppActivateInstance(IActivationFactory *thisptr, IInspectable **instance)
150{
151 IInspectable *pInstance = nullptr;
152 HRESULT hr = TrueActivateInstance(thisptr, &pInstance);
153 if (FAILED(hr))
154 return hr;
155
156 *instance = new EraLicenseInformationWrapper(reinterpret_cast<ILicenseInformation*>(pInstance));
157 return S_OK;
158}
159
160HRESULT __stdcall EraGetForCurrentThread(ICoreWindowStatic *pThis, CoreWindow **ppWindow)
161{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected