1
0
mirror of https://github.com/valinet/ExplorerPatcher.git synced 2024-11-24 07:30:22 +01:00

Built-in support for build 22000.318

This commit is contained in:
Valentin Radu 2021-11-09 23:19:06 +02:00
parent 241fde9c4f
commit 742f946198
4 changed files with 20 additions and 9 deletions

View File

@ -2,6 +2,14 @@
This document includes the same release notes as in the [Releases](https://github.com/valinet/ExplorerPatcher/releases) section on GitHub.
## 22000.318.34
Tested on build 22000.318.
#### Feature enhancements
* Built-in support for build 22000.318
## 22000.282.33
Tested on build 22000.282.

View File

@ -51,8 +51,8 @@ END
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 22000,282,33,0
PRODUCTVERSION 22000,282,33,0
FILEVERSION 22000,318,34,0
PRODUCTVERSION 22000,318,34,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -69,12 +69,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "VALINET Solutions SRL"
VALUE "FileDescription", "ExplorerPatcher"
VALUE "FileVersion", "22000.282.33.0"
VALUE "FileVersion", "22000.318.34.0"
VALUE "InternalName", "ExplorerPatcher.dll"
VALUE "LegalCopyright", "Copyright (C) 2006-2021 VALINET Solutions SRL. All rights reserved."
VALUE "OriginalFilename", "ExplorerPatcher.dll"
VALUE "ProductName", "ExplorerPatcher"
VALUE "ProductVersion", "22000.282.33.0"
VALUE "ProductVersion", "22000.318.34.0"
END
END
BLOCK "VarFileInfo"

View File

@ -539,7 +539,7 @@ BOOL LoadSymbols(symbols_addr* symbols_PTRS, HMODULE hModule)
ubr
);
if (IsBuild22000_282(rovi, ubr))
if (IsBuild(rovi, ubr, 22000, 282) || IsBuild(rovi, ubr, 22000, 318))
{
symbols_PTRS->twinui_pcshell_PTRS[0] = 0x217CE6;
symbols_PTRS->twinui_pcshell_PTRS[1] = 0x5CC570;
@ -728,7 +728,10 @@ BOOL LoadSymbols(symbols_addr* symbols_PTRS, HMODULE hModule)
&dwSize
);
RegCloseKey(hKey);
if (!bNeedToDownload && !IsBuild22000_282(rovi, ubr))
if (!bNeedToDownload &&
!IsBuild(rovi, ubr, 22000, 282) &&
!IsBuild(rovi, ubr, 22000, 318)
)
{
bNeedToDownload = wcscmp(szReportedVersion, szStoredVersion);
}

View File

@ -42,11 +42,11 @@ DWORD DownloadSymbols(DownloadSymbolsParams* params);
BOOL LoadSymbols(symbols_addr* symbols_PTRS, HMODULE hModule);
inline BOOL IsBuild22000_282(RTL_OSVERSIONINFOW rovi, DWORD32 ubr)
inline BOOL IsBuild(RTL_OSVERSIONINFOW rovi, DWORD32 ubr, DWORD BuildNumber, DWORD BuildMinor)
{
return (rovi.dwMajorVersion == 10 &&
rovi.dwMinorVersion == 0 &&
rovi.dwBuildNumber == 22000 &&
ubr == 282);
rovi.dwBuildNumber == BuildNumber &&
ubr == BuildMinor);
}
#endif