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>
(cherry picked from commit 5c86b9f1dc
)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
This commit is contained in:
parent
678d118c42
commit
c130d3ad74
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue