mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +00:00
[PSDK][SHELLBTRFS] Get rid of FILE_INFO_BY_HANDLE_CLASS.MaximumFileInfoByHandlesClass (#6003)
Follow-up to commit 455f330
(see PR #5802).
'MaximumFileInfoByHandlesClass' was our typo.
This commit is contained in:
parent
5ee1dc6113
commit
d27ec14822
2 changed files with 3 additions and 4 deletions
|
@ -153,7 +153,7 @@ NTSTATUS WINAPI RtlUTF8ToUnicodeN(PWSTR uni_dest, ULONG uni_bytes_max,
|
|||
}
|
||||
|
||||
/* Quick and dirty table for conversion */
|
||||
FILE_INFORMATION_CLASS ConvertToFileInfo[MaximumFileInfoByHandlesClass] =
|
||||
FILE_INFORMATION_CLASS ConvertToFileInfo[MaximumFileInfoByHandleClass] =
|
||||
{
|
||||
FileBasicInformation, FileStandardInformation, FileNameInformation, FileRenameInformation,
|
||||
FileDispositionInformation, FileAllocationInformation, FileEndOfFileInformation, FileStreamInformation,
|
||||
|
@ -186,7 +186,7 @@ SetFileInformationByHandle(HANDLE hFile,
|
|||
FileInfoClass = (FILE_INFORMATION_CLASS)-1;
|
||||
|
||||
/* Attempt to convert the class */
|
||||
if (FileInformationClass < MaximumFileInfoByHandlesClass)
|
||||
if (FileInformationClass < MaximumFileInfoByHandleClass)
|
||||
{
|
||||
FileInfoClass = ConvertToFileInfo[FileInformationClass];
|
||||
}
|
||||
|
|
|
@ -1018,8 +1018,7 @@ typedef enum _FILE_INFO_BY_HANDLE_CLASS {
|
|||
FileCaseSensitiveInfo,
|
||||
FileNormalizedNameInfo,
|
||||
#endif
|
||||
MaximumFileInfoByHandleClass,
|
||||
MaximumFileInfoByHandlesClass = MaximumFileInfoByHandleClass // Old name
|
||||
MaximumFileInfoByHandleClass
|
||||
} FILE_INFO_BY_HANDLE_CLASS, *PFILE_INFO_BY_HANDLE_CLASS;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue