ntdll: Define more file information classes.
Signed-off-by: Jonathan Doron <jond@wizery.com> Signed-off-by: Sebastian Lackner <sebastian@fds-team.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8de06f12dd
commit
9c72376c8c
@ -2374,7 +2374,14 @@ NTSTATUS WINAPI NtQueryInformationFile( HANDLE hFile, PIO_STATUS_BLOCK io,
|
|||||||
0, /* FileNumaNodeInformation */
|
0, /* FileNumaNodeInformation */
|
||||||
0, /* FileStandardLinkInformation */
|
0, /* FileStandardLinkInformation */
|
||||||
0, /* FileRemoteProtocolInformation */
|
0, /* FileRemoteProtocolInformation */
|
||||||
|
0, /* FileRenameInformationBypassAccessCheck */
|
||||||
|
0, /* FileLinkInformationBypassAccessCheck */
|
||||||
|
0, /* FileVolumeNameInformation */
|
||||||
|
0, /* FileIdInformation */
|
||||||
|
0, /* FileIdExtdDirectoryInformation */
|
||||||
0, /* FileReplaceCompletionInformation */
|
0, /* FileReplaceCompletionInformation */
|
||||||
|
0, /* FileHardLinkFullIdInformation */
|
||||||
|
0, /* FileIdExtdBothDirectoryInformation */
|
||||||
};
|
};
|
||||||
|
|
||||||
struct stat st;
|
struct stat st;
|
||||||
|
@ -353,6 +353,8 @@ static void test_NtQueryDirectoryFile_classes( HANDLE handle, UNICODE_STRING *ma
|
|||||||
switch (class)
|
switch (class)
|
||||||
{
|
{
|
||||||
case FileIdGlobalTxDirectoryInformation:
|
case FileIdGlobalTxDirectoryInformation:
|
||||||
|
case FileIdExtdDirectoryInformation:
|
||||||
|
case FileIdExtdBothDirectoryInformation:
|
||||||
if (status == STATUS_INVALID_INFO_CLASS || status == STATUS_NOT_IMPLEMENTED) continue;
|
if (status == STATUS_INVALID_INFO_CLASS || status == STATUS_NOT_IMPLEMENTED) continue;
|
||||||
/* fall through */
|
/* fall through */
|
||||||
case FileDirectoryInformation:
|
case FileDirectoryInformation:
|
||||||
|
@ -441,7 +441,14 @@ typedef enum _FILE_INFORMATION_CLASS {
|
|||||||
FileNumaNodeInformation,
|
FileNumaNodeInformation,
|
||||||
FileStandardLinkInformation,
|
FileStandardLinkInformation,
|
||||||
FileRemoteProtocolInformation,
|
FileRemoteProtocolInformation,
|
||||||
|
FileRenameInformationBypassAccessCheck,
|
||||||
|
FileLinkInformationBypassAccessCheck,
|
||||||
|
FileVolumeNameInformation,
|
||||||
|
FileIdInformation,
|
||||||
|
FileIdExtdDirectoryInformation,
|
||||||
FileReplaceCompletionInformation,
|
FileReplaceCompletionInformation,
|
||||||
|
FileHardLinkFullIdInformation,
|
||||||
|
FileIdExtdBothDirectoryInformation,
|
||||||
FileMaximumInformation
|
FileMaximumInformation
|
||||||
} FILE_INFORMATION_CLASS, *PFILE_INFORMATION_CLASS;
|
} FILE_INFORMATION_CLASS, *PFILE_INFORMATION_CLASS;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user