From 716f891a1797f1a861889f2180b65ec9588e0989 Mon Sep 17 00:00:00 2001 From: sonyps5201314 Date: Sat, 14 Sep 2024 17:23:47 +0800 Subject: [PATCH] =?UTF-8?q?Bug=20#120,=20=E4=BF=AE=E6=AD=A3kernel32?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E4=B8=AD=E7=9A=84=E5=87=A0=E4=B8=AAAPI?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E7=9A=84=E7=B3=BB=E7=BB=9F=E8=B5=B7=E5=A7=8B?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E7=89=88=E6=9C=AC=E5=8F=B7=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Thunks/api-ms-win-core-fibers.hpp | 4 ++-- src/Thunks/api-ms-win-core-localization.hpp | 4 ++-- src/Thunks/api-ms-win-core-processthreads.hpp | 2 +- src/Thunks/api-ms-win-core-wow64.hpp | 12 ++++++------ 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/Thunks/api-ms-win-core-fibers.hpp b/src/Thunks/api-ms-win-core-fibers.hpp index 047e9d4..5c8dc02 100644 --- a/src/Thunks/api-ms-win-core-fibers.hpp +++ b/src/Thunks/api-ms-win-core-fibers.hpp @@ -410,10 +410,10 @@ namespace YY::Thunks #endif -#if (YY_Thunks_Target < __WindowsNT6) +#if (YY_Thunks_Target < __WindowsNT5_2) //Minimum supported client Windows Vista [desktop apps | UWP apps] - //Minimum supported server Windows Server 2008 [desktop apps | UWP apps] + //Minimum supported server Windows Server 2003 [desktop apps | UWP apps] __DEFINE_THUNK( kernel32, 8, diff --git a/src/Thunks/api-ms-win-core-localization.hpp b/src/Thunks/api-ms-win-core-localization.hpp index 6010e48..9b6807a 100644 --- a/src/Thunks/api-ms-win-core-localization.hpp +++ b/src/Thunks/api-ms-win-core-localization.hpp @@ -2463,10 +2463,10 @@ #endif -#if (YY_Thunks_Target < __WindowsNT6) +#if (YY_Thunks_Target < __WindowsNT5_2) //Minimum supported client Windows Vista [desktop apps | UWP apps] - //Minimum supported server Windows Server 2008 [desktop apps | UWP apps] + //Minimum supported server Windows Server 2003 [desktop apps | UWP apps] __DEFINE_THUNK( kernel32, 20, diff --git a/src/Thunks/api-ms-win-core-processthreads.hpp b/src/Thunks/api-ms-win-core-processthreads.hpp index 93c642a..a5136b2 100644 --- a/src/Thunks/api-ms-win-core-processthreads.hpp +++ b/src/Thunks/api-ms-win-core-processthreads.hpp @@ -639,7 +639,7 @@ namespace YY ::Thunks #endif -#if (YY_Thunks_Target < __WindowsNT5_2) +#if (YY_Thunks_Target < __WindowsNT5_2_SP1) //Windows Vista, Windows XP Professional x64 Edition [desktop apps only] //Windows Server 2008, Windows Server 2003 with SP1 [desktop apps only] diff --git a/src/Thunks/api-ms-win-core-wow64.hpp b/src/Thunks/api-ms-win-core-wow64.hpp index c7c3385..0a229f1 100644 --- a/src/Thunks/api-ms-win-core-wow64.hpp +++ b/src/Thunks/api-ms-win-core-wow64.hpp @@ -2,9 +2,9 @@ namespace YY::Thunks { -#if (YY_Thunks_Target < __WindowsNT5_2) +#if (YY_Thunks_Target < __WindowsNT5_2_SP1) - //Windows XP Professional x64 Edition, Windows Server 2003 + //Windows XP Professional x64 Edition, Windows Server 2003 SP1 __DEFINE_THUNK( kernel32, 4, @@ -27,9 +27,9 @@ namespace YY::Thunks #endif -#if (YY_Thunks_Target < __WindowsNT5_2) +#if (YY_Thunks_Target < __WindowsNT5_2_SP1) - //Windows XP Professional x64 Edition, Windows Server 2003 + //Windows XP Professional x64 Edition, Windows Server 2003 SP1 __DEFINE_THUNK( kernel32, 4, @@ -78,9 +78,9 @@ namespace YY::Thunks #endif -#if (YY_Thunks_Target < __WindowsNT5_2_SP1) +#if (YY_Thunks_Target < __WindowsNT5_1) - //Windows XP with SP2, Windows Server 2003 with SP1 + //Windows XP, Windows Server 2003 __DEFINE_THUNK( kernel32, 8,