From 2b0d204ff16076c88f2aa35fab7a363b86ad24e9 Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Tue, 16 Apr 2019 21:28:09 -0700 Subject: [PATCH] sys: FileStatInformation is missing on old WDK's --- src/sys/fileinfo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sys/fileinfo.c b/src/sys/fileinfo.c index 3398d532..a5c12c34 100644 --- a/src/sys/fileinfo.c +++ b/src/sys/fileinfo.c @@ -921,7 +921,7 @@ static NTSTATUS FspFsvolQueryInformation( case FileStandardInformation: Result = FspFsvolQueryStandardInformation(FileObject, &Buffer, BufferEnd, 0); break; - case FileStatInformation: + case 68/*FileStatInformation*/: Result = FspFsvolQueryStatInformation(FileObject, &Buffer, BufferEnd, 0); break; case 70/*FileStatLxInformation*/: @@ -974,7 +974,7 @@ static NTSTATUS FspFsvolQueryInformation( case FileStandardInformation: Result = FspFsvolQueryStandardInformation(FileObject, &Buffer, BufferEnd, &FileInfoBuf); break; - case FileStatInformation: + case 68/*FileStatInformation*/: Result = FspFsvolQueryStatInformation(FileObject, &Buffer, BufferEnd, &FileInfoBuf); break; case 70/*FileStatLxInformation*/: @@ -1090,7 +1090,7 @@ NTSTATUS FspFsvolQueryInformationComplete( case FileStandardInformation: Result = FspFsvolQueryStandardInformation(FileObject, &Buffer, BufferEnd, FileInfo); break; - case FileStatInformation: + case 68/*FileStatInformation*/: Result = FspFsvolQueryStatInformation(FileObject, &Buffer, BufferEnd, FileInfo); break; case 70/*FileStatLxInformation*/: