kernelbase: Support FileRenameInfo in SetFileInformationByHandle.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50756
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Gijs Vermeulen 2021-03-06 18:30:37 +01:00 committed by Alexandre Julliard
parent dabba3cc86
commit 5c86b9f1dc
1 changed files with 3 additions and 1 deletions

View File

@ -3526,7 +3526,6 @@ BOOL WINAPI DECLSPEC_HOTPATCH SetFileInformationByHandle( HANDLE file, FILE_INFO
switch (class)
{
case FileNameInfo:
case FileRenameInfo:
case FileAllocationInfo:
case FileStreamInfo:
case FileIdBothDirectoryInfo:
@ -3554,6 +3553,9 @@ BOOL WINAPI DECLSPEC_HOTPATCH SetFileInformationByHandle( HANDLE file, FILE_INFO
case FileIoPriorityHintInfo:
status = NtSetInformationFile( file, &io, info, size, FileIoPriorityHintInformation );
break;
case FileRenameInfo:
status = NtSetInformationFile( file, &io, info, size, FileRenameInformation );
break;
case FileStandardInfo:
case FileCompressionInfo:
case FileAttributeTagInfo: