Skip to content

Commit

Permalink
Bug #120, 修正kernel32模块中的几个API函数的系统起始支持版本号错误
Browse files Browse the repository at this point in the history
  • Loading branch information
sonyps5201314 authored and mingkuang-Chuyu committed Sep 24, 2024
1 parent 4ab29c2 commit 716f891
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions src/Thunks/api-ms-win-core-fibers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions src/Thunks/api-ms-win-core-localization.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/Thunks/api-ms-win-core-processthreads.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
12 changes: 6 additions & 6 deletions src/Thunks/api-ms-win-core-wow64.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 716f891

Please sign in to comment.