20{
23
24 switch (class)
25 {
26 case FileRemoteProtocolInfo:
27 case FileStorageInfo:
28 case FileDispositionInfoEx:
29 case FileRenameInfoEx:
30 case FileCaseSensitiveInfo:
31 case FileNormalizedNameInfo:
35
36 case FileStreamInfo:
38 break;
39
40 case FileCompressionInfo:
42 break;
43
44 case FileAlignmentInfo:
46 break;
47
48 case FileAttributeTagInfo:
50 break;
51
52 case FileBasicInfo:
54 break;
55
56 case FileStandardInfo:
58 break;
59
60 case FileNameInfo:
62 break;
63
64 case FileIdInfo:
66 break;
67
68 case FileIdBothDirectoryRestartInfo:
69 case FileIdBothDirectoryInfo:
72 (class == FileIdBothDirectoryRestartInfo));
73 break;
74
75 case FileFullDirectoryInfo:
76 case FileFullDirectoryRestartInfo:
79 (class == FileFullDirectoryRestartInfo));
80 break;
81
82 case FileIdExtdDirectoryInfo:
83 case FileIdExtdDirectoryRestartInfo:
86 (class == FileIdExtdDirectoryRestartInfo));
87 break;
88
89 case FileRenameInfo:
90 case FileDispositionInfo:
91 case FileAllocationInfo:
92 case FileIoPriorityHintInfo:
93 case FileEndOfFileInfo:
94 default:
97 }
98
99#ifdef __REACTOS__
101 {
104 }
105
107#else
109#endif
110}
#define FileIdExtdDirectoryInformation
#define NT_SUCCESS(StatCode)
static __inline BOOL set_ntstatus(NTSTATUS status)
#define ERROR_CALL_NOT_IMPLEMENTED
#define ERROR_INVALID_PARAMETER
#define FileIdInformation
@ FileCompressionInformation
@ FileAttributeTagInformation
@ FileAlignmentInformation
@ FileIdBothDirectoryInformation
@ FileFullDirectoryInformation
NTSYSAPI ULONG WINAPI RtlNtStatusToDosError(NTSTATUS)
NTSTATUS NTAPI NtQueryDirectoryFile(IN HANDLE FileHandle, IN HANDLE EventHandle OPTIONAL, IN PIO_APC_ROUTINE ApcRoutine OPTIONAL, IN PVOID ApcContext OPTIONAL, OUT PIO_STATUS_BLOCK IoStatusBlock, OUT PVOID FileInformation, IN ULONG Length, IN FILE_INFORMATION_CLASS FileInformationClass, IN BOOLEAN ReturnSingleEntry, IN PUNICODE_STRING FileName OPTIONAL, IN BOOLEAN RestartScan)
static HANDLE PIO_APC_ROUTINE PVOID PIO_STATUS_BLOCK io
NTSYSAPI NTSTATUS NTAPI NtQueryInformationFile(IN HANDLE hFile, OUT PIO_STATUS_BLOCK pIoStatusBlock, OUT PVOID FileInformationBuffer, IN ULONG FileInformationBufferLength, IN FILE_INFORMATION_CLASS FileInfoClass)
#define FileStandardInformation