Skip to content

Commit

Permalink
Opt, 修正kernel32模块中的几个API函数的系统起始支持版本号错误
Browse files Browse the repository at this point in the history
  • Loading branch information
sonyps5201314 authored and mingkuang-Chuyu committed Sep 14, 2024
1 parent 9be42a7 commit d1d401a
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 d1d401a

Please sign in to comment.