Browse Source

Built-in support for build 22000.318

pull/400/head 22000.318.34.0_742f946
Valentin Radu 4 years ago
parent
commit
742f946198
  1. 8
      CHANGELOG.md
  2. 8
      ExplorerPatcher/ExplorerPatcher.rc
  3. 7
      ExplorerPatcher/symbols.c
  4. 6
      ExplorerPatcher/symbols.h

8
CHANGELOG.md

@ -2,6 +2,14 @@
This document includes the same release notes as in the [Releases](https://github.com/valinet/ExplorerPatcher/releases) section on GitHub. 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 ## 22000.282.33
Tested on build 22000.282. Tested on build 22000.282.

8
ExplorerPatcher/ExplorerPatcher.rc

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

7
ExplorerPatcher/symbols.c

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

6
ExplorerPatcher/symbols.h

@ -42,11 +42,11 @@ DWORD DownloadSymbols(DownloadSymbolsParams* params);
BOOL LoadSymbols(symbols_addr* symbols_PTRS, HMODULE hModule); 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 && return (rovi.dwMajorVersion == 10 &&
rovi.dwMinorVersion == 0 && rovi.dwMinorVersion == 0 &&
rovi.dwBuildNumber == 22000 && rovi.dwBuildNumber == BuildNumber &&
ubr == 282); ubr == BuildMinor);
} }
#endif #endif
Loading…
Cancel
Save