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

Method OnPackageUninstalling

ExplorerTAP/taskbarappearanceservice.cpp:315–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313}
314
315void TaskbarAppearanceService::OnPackageUninstalling(const wam::PackageCatalog&, const wam::PackageUninstallingEventArgs &args)
316{
317 if (args.Package().Id().FullName() == m_PackageBeingWatched)
318 {
319 // kill explorer to force the system to restart it, thereby unloading our DLL.
320 TerminateProcess(GetCurrentProcess(), 0);
321 }
322}
323
324std::optional<TaskbarAppearanceService::TaskbarInfo> TaskbarAppearanceService::GetTaskbarInfo(HWND taskbar)
325{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected