mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2025-02-07 14:51:28 +01:00
Added check to enable legacy menus only on newer builds that have
the new menus as well.
This commit is contained in:
parent
887b84c7f9
commit
ea42afb5be
@ -2724,7 +2724,12 @@ __declspec(dllexport) DWORD WINAPI main(
|
|||||||
0,
|
0,
|
||||||
wszSettingsPath
|
wszSettingsPath
|
||||||
);
|
);
|
||||||
if (!bAllowImmersiveContextMenus)
|
if (!bAllowImmersiveContextMenus &&
|
||||||
|
rovi.dwMajorVersion >= 10 &&
|
||||||
|
rovi.dwMinorVersion >= 0 &&
|
||||||
|
rovi.dwBuildNumber >= 22000 &&
|
||||||
|
ubr >= 65
|
||||||
|
)
|
||||||
{
|
{
|
||||||
rv = funchook_prepare(
|
rv = funchook_prepare(
|
||||||
funchook,
|
funchook,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user