Module: wine Branch: master Commit: 64c48d0e6382ca7a4af7337bf3a1b1f8856eacb9 URL: http://source.winehq.org/git/wine.git/?a=commit;h=64c48d0e6382ca7a4af7337bf3...
Author: Michael Müller michael@fds-team.de Date: Thu Feb 26 05:27:14 2015 +0100
ntdll: Define a couple more information classes.
---
dlls/ntdll/file.c | 20 +++++++++++--------- include/winternl.h | 28 +++++++++++++++++----------- 2 files changed, 28 insertions(+), 20 deletions(-)
diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c index 92e83dd..0dc5c13 100644 --- a/dlls/ntdll/file.c +++ b/dlls/ntdll/file.c @@ -2196,20 +2196,22 @@ NTSTATUS WINAPI NtQueryInformationFile( HANDLE hFile, PIO_STATUS_BLOCK io, 0, /* FileIdFullDirectoryInformation */ 0, /* FileValidDataLengthInformation */ 0, /* FileShortNameInformation */ - 0, - 0, - 0, + 0, /* FileIoCompletionNotificationInformation, */ + 0, /* FileIoStatusBlockRangeInformation */ + 0, /* FileIoPriorityHintInformation */ 0, /* FileSfioReserveInformation */ 0, /* FileSfioVolumeInformation */ 0, /* FileHardLinkInformation */ - 0, + 0, /* FileProcessIdsUsingFileInformation */ 0, /* FileNormalizedNameInformation */ - 0, + 0, /* FileNetworkPhysicalNameInformation */ 0, /* FileIdGlobalTxDirectoryInformation */ - 0, - 0, - 0, - 0 /* FileStandardLinkInformation */ + 0, /* FileIsRemoteDeviceInformation */ + 0, /* FileAttributeCacheInformation */ + 0, /* FileNumaNodeInformation */ + 0, /* FileStandardLinkInformation */ + 0, /* FileRemoteProtocolInformation */ + 0, /* FileReplaceCompletionInformation */ };
struct stat st; diff --git a/include/winternl.h b/include/winternl.h index f88001f..9231468 100644 --- a/include/winternl.h +++ b/include/winternl.h @@ -412,17 +412,23 @@ typedef enum _FILE_INFORMATION_CLASS { FileIdBothDirectoryInformation, FileIdFullDirectoryInformation, FileValidDataLengthInformation, - FileShortNameInformation = 40, - /* 41, 42, 43 undocumented */ - FileSfioReserveInformation = 44, - FileSfioVolumeInformation = 45, - FileHardLinkInformation = 46, - /* 47 undocumented */ - FileNormalizedNameInformation = 48, - /* 49 undocumented */ - FileIdGlobalTxDirectoryInformation = 50, - /* 51, 52, 53 undocumented */ - FileStandardLinkInformation = 54, + FileShortNameInformation, + FileIoCompletionNotificationInformation, + FileIoStatusBlockRangeInformation, + FileIoPriorityHintInformation, + FileSfioReserveInformation, + FileSfioVolumeInformation, + FileHardLinkInformation, + FileProcessIdsUsingFileInformation, + FileNormalizedNameInformation, + FileNetworkPhysicalNameInformation, + FileIdGlobalTxDirectoryInformation, + FileIsRemoteDeviceInformation, + FileAttributeCacheInformation, + FileNumaNodeInformation, + FileStandardLinkInformation, + FileRemoteProtocolInformation, + FileReplaceCompletionInformation, FileMaximumInformation } FILE_INFORMATION_CLASS, *PFILE_INFORMATION_CLASS;