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)
|
switch (class)
|
||||||
{
|
{
|
||||||
case FileNameInfo:
|
case FileNameInfo:
|
||||||
case FileRenameInfo:
|
|
||||||
case FileAllocationInfo:
|
case FileAllocationInfo:
|
||||||
case FileStreamInfo:
|
case FileStreamInfo:
|
||||||
case FileIdBothDirectoryInfo:
|
case FileIdBothDirectoryInfo:
|
||||||
|
@ -3554,6 +3553,9 @@ BOOL WINAPI DECLSPEC_HOTPATCH SetFileInformationByHandle( HANDLE file, FILE_INFO
|
||||||
case FileIoPriorityHintInfo:
|
case FileIoPriorityHintInfo:
|
||||||
status = NtSetInformationFile( file, &io, info, size, FileIoPriorityHintInformation );
|
status = NtSetInformationFile( file, &io, info, size, FileIoPriorityHintInformation );
|
||||||
break;
|
break;
|
||||||
|
case FileRenameInfo:
|
||||||
|
status = NtSetInformationFile( file, &io, info, size, FileRenameInformation );
|
||||||
|
break;
|
||||||
case FileStandardInfo:
|
case FileStandardInfo:
|
||||||
case FileCompressionInfo:
|
case FileCompressionInfo:
|
||||||
case FileAttributeTagInfo:
|
case FileAttributeTagInfo:
|
||||||
|
|
Loading…
Reference in New Issue