MCPcopy Create free account
hub / github.com/TranslucentTB/TranslucentTB / InstallProxyStub

Method InstallProxyStub

ExplorerTAP/taskbarappearanceservice.cpp:280–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278}
279
280void TaskbarAppearanceService::InstallProxyStub()
281{
282 if (!s_ProxyStubRegistrationCookie)
283 {
284 winrt::com_ptr<IUnknown> proxyStub;
285 winrt::check_hresult(DLLGETCLASSOBJECT_ENTRY(PROXY_CLSID_IS, winrt::guid_of<decltype(proxyStub)::type>(), proxyStub.put_void()));
286 winrt::check_hresult(CoRegisterClassObject(PROXY_CLSID_IS, proxyStub.get(), CLSCTX_INPROC_SERVER, REGCLS_MULTIPLEUSE, &s_ProxyStubRegistrationCookie));
287
288 winrt::check_hresult(CoRegisterPSClsid(IID_ITaskbarAppearanceService, PROXY_CLSID_IS));
289 winrt::check_hresult(CoRegisterPSClsid(IID_IVersionedApi, PROXY_CLSID_IS));
290 }
291}
292
293void TaskbarAppearanceService::UninstallProxyStub()
294{

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected