Skip to content

Commit

Permalink
修正kernel32模块中的几个API函数的系统起始支持版本号
Browse files Browse the repository at this point in the history
  • Loading branch information
sonyps5201314 committed Sep 14, 2024
1 parent de3384d commit 9316ac0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 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
4 changes: 2 additions & 2 deletions src/Thunks/api-ms-win-core-wow64.hpp
Original file line number Diff line number Diff line change
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 9316ac0

Please sign in to comment.