From 21c288c3c0ac98446e0c8a3d03f1c19e452a8f36 Mon Sep 17 00:00:00 2001 From: Amrsatrio Date: Fri, 6 Oct 2023 16:41:27 +0700 Subject: [PATCH] Start10: The Pin to Start/Unpin from Start patch should not run when the Windows 11 start menu is used --- ExplorerPatcher/StartMenuSettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ExplorerPatcher/StartMenuSettings.cpp b/ExplorerPatcher/StartMenuSettings.cpp index 0da5c99..b0866a8 100644 --- a/ExplorerPatcher/StartMenuSettings.cpp +++ b/ExplorerPatcher/StartMenuSettings.cpp @@ -194,7 +194,7 @@ static const DummyExtensionFactory instanceof_WindowsUdk_ApplicationModel_AppExt extern "C" HRESULT AppResolver_StartTileData_RoGetActivationFactory(HSTRING activatableClassId, REFIID iid, void** factory) { - if (IsEqualGUID(iid, __uuidof(ABI::WindowsUdk::ApplicationModel::AppExtensions::IExtensionFactoryStatics))) + if (dwStartShowClassicMode && IsEqualGUID(iid, __uuidof(ABI::WindowsUdk::ApplicationModel::AppExtensions::IExtensionFactoryStatics))) { *factory = const_cast(&instanceof_WindowsUdk_ApplicationModel_AppExtensions_IExtensionFactoryStatics); return S_OK;