Tech Note: WINAPI_PARTITION_GAMES compilation error with version 4.27

Dec 6, 2021.Knowledge
Compiling version 4.27 from source using VS2017 and WinSDK older than 18362 will result in a compilation error. The problem is related to the WINAPI_PARTITION_GAMES macro that was introduced in SDK18326.

Potential Impact:
[Major]: The title will not compile.

We recommend using VS2019 with UE4.27
If migrating to VS2019 is not possible, download and install “Windows 10 SDK, version 1903 (10.0.18362.1)” from the Microsoft SDK archive: Windows SDK archive - Windows app development