From 91479eed6fbe3080be97c8d0aa083caba6c72bd3 Mon Sep 17 00:00:00 2001 From: Lasha Khasaia Date: Tue, 11 Jun 2019 17:33:02 +0300 Subject: [PATCH] Add definition for NtQueryDirectoryFileEx def: https://docs.microsoft.com/en-us/previous-versions/mt812582(v%3dvs.85) Windows_versions: https://github.com/j00ru/windows-syscalls/blob/0c48cd8f365899157f5d08ca04eb569e5c47d5b1/x64/json/nt-per-syscall.json#L10004 --- ntioapi.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/ntioapi.h b/ntioapi.h index 9c556c1..a1e4b39 100644 --- a/ntioapi.h +++ b/ntioapi.h @@ -1230,6 +1230,24 @@ NtQueryDirectoryFile( _In_ BOOLEAN RestartScan ); +#if (PHNT_VERSION >= PHNT_REDSTONE3) +NTSYSCALLAPI +NTSTATUS +NTAPI +NtQueryDirectoryFileEx( + _In_ HANDLE FileHandle, + _In_opt_ HANDLE Event, + _In_opt_ PIO_APC_ROUTINE ApcRoutine, + _In_opt_ PVOID ApcContext, + _Out_ PIO_STATUS_BLOCK IoStatusBlock, + _Out_ PVOID FileInformation, + _In_ ULONG Length, + _In_ FILE_INFORMATION_CLASS FileInformationClass, + _In_ ULONG QueryFlags, + _In_opt_ PUNICODE_STRING FileName +); +#endif + NTSYSCALLAPI NTSTATUS NTAPI