Skip to content

Commit

Permalink
Taskbar10: Fix Wi-Fi flyout buttons on 22621 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Amrsatrio committed Oct 2, 2023
1 parent 148e398 commit 0706393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ExplorerPatcher/dllmain.c
Original file line number Diff line number Diff line change
Expand Up @@ -13105,7 +13105,7 @@ void InjectShellExperienceHostFor22H2OrHigher() {
if (RegOpenKeyW(HKEY_CURRENT_USER, _T(SEH_REGPATH), &hKey) != ERROR_SUCCESS) return;
RegCloseKey(hKey);
HMODULE hQA = LoadLibraryW(L"Windows.UI.QuickActions.dll");
if (hQA) VnPatchIAT(hQA, "api-ms-win-core-sysinfo-l1-2-0.dll", "GetProductInfo", SEH_GetProductInfo);
//if (hQA) VnPatchIAT(hQA, "api-ms-win-core-sysinfo-l1-2-0.dll", "GetProductInfo", SEH_GetProductInfo);
//if (hQA) VnPatchIAT(hQA, "ntdll.dll", "RtlGetDeviceFamilyInfoEnum", SEH_RtlGetDeviceFamilyInfoEnum);
//if (hQA) VnPatchIAT(hQA, "api-ms-win-core-registry-l1-1-0.dll", "RegGetValueW", SEH_RegGetValueW);
#endif
Expand Down

1 comment on commit 0706393

@Amrsatrio
Copy link
Collaborator Author

@Amrsatrio Amrsatrio commented on 0706393 Oct 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This resulted in a crash when the user clicks the control center button while the Wi-Fi flyout is open, and then opening the Wi-Fi networks list. Fair trade I guess. I'll figure this out later.

障害が発生しているアプリケーション名: ShellExperienceHost.exe、バージョン: 10.0.22621.2361、タイム スタンプ: 0x73733076
障害が発生しているモジュール名: NetworkUX.dll、バージョン: 10.0.22621.2361、タイム スタンプ: 0x03e729e8
例外コード: 0xc000027b
障害オフセット: 0x000000000018f5f9
障害が発生しているプロセス ID: 0x0x1F58
障害が発生しているアプリケーションの開始時刻: 0x0x1D9F4EA9F7CC84A
障害が発生しているアプリケーション パス: C:\WINDOWS\SystemApps\ShellExperienceHost_cw5n1h2txyewy\ShellExperienceHost.exe
障害が発生しているモジュール パス: C:\Windows\ShellExperiences\NetworkUX.dll
レポート ID: aecee719-e43a-4706-8a47-d6cf5b837ce6
障害が発生しているパッケージの完全な名前: Microsoft.Windows.ShellExperienceHost_10.0.22621.2215_neutral_neutral_cw5n1h2txyewy
障害が発生しているパッケージに関連するアプリケーション ID: App

Before this commit, when the user clicks the control center button, action center opens instead which is jarring. But at least the user doesn't have to do that anymore to enable/disable Wi-Fi since the button in the flyout is functional now.

Please sign in to comment.