Skip to content

Commit

Permalink
Start10: The Pin to Start/Unpin from Start patch should not run when …
Browse files Browse the repository at this point in the history
…the Windows 11 start menu is used
  • Loading branch information
Amrsatrio committed Oct 6, 2023
1 parent 29fda79 commit 21c288c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ExplorerPatcher/StartMenuSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<DummyExtensionFactory*>(&instanceof_WindowsUdk_ApplicationModel_AppExtensions_IExtensionFactoryStatics);
return S_OK;
Expand Down

0 comments on commit 21c288c

Please sign in to comment.