-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fea #29,FindFirstFileEx,添加Windows XP、Vista兼容 FIND_FIRST_EX_LARGE_FETC…
…H、FindExInfoStandard参数。
- Loading branch information
1 parent
9847db4
commit 79fdd60
Showing
13 changed files
with
233 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
namespace YY | ||
{ | ||
namespace Thunks | ||
{ | ||
#if (YY_Thunks_Support_Version < NTDDI_WIN6) | ||
|
||
// 最低受支持的客户端 Windows Vista [桌面应用|UWP 应用] | ||
// 最低受支持的服务器 Windows Server 2008[桌面应用 | UWP 应用] | ||
__DEFINE_THUNK( | ||
ntdll, | ||
12, | ||
NTSTATUS, | ||
NTAPI, | ||
NtCancelIoFileEx, | ||
HANDLE handle, | ||
IO_STATUS_BLOCK* io, | ||
IO_STATUS_BLOCK* io_status | ||
) | ||
{ | ||
if (const auto _pfnNtCancelIoFileEx = try_get_NtCancelIoFileEx()) | ||
{ | ||
return _pfnNtCancelIoFileEx(handle, io, io_status); | ||
} | ||
|
||
// 最坏打算,清除所有的调用 | ||
if (const auto _pfnNtCancelIoFile = try_get_NtCancelIoFile()) | ||
{ | ||
return _pfnNtCancelIoFile(handle, io_status); | ||
} | ||
|
||
// 正常来说不应该走到这里 | ||
return STATUS_NOT_SUPPORTED; | ||
} | ||
#endif | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.