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:
parent
dabba3cc86
commit
5c86b9f1dc
|
@ -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