Commit 1d36532d authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

kernelbase: Support FileEndOfFileInfo in SetFileInformationByHandle.

parent 14a9551a
......@@ -3528,7 +3528,6 @@ BOOL WINAPI DECLSPEC_HOTPATCH SetFileInformationByHandle( HANDLE file, FILE_INFO
case FileNameInfo:
case FileRenameInfo:
case FileAllocationInfo:
case FileEndOfFileInfo:
case FileStreamInfo:
case FileIdBothDirectoryInfo:
case FileIdBothDirectoryRestartInfo:
......@@ -3543,6 +3542,9 @@ BOOL WINAPI DECLSPEC_HOTPATCH SetFileInformationByHandle( HANDLE file, FILE_INFO
SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
return FALSE;
case FileEndOfFileInfo:
status = NtSetInformationFile( file, &io, info, size, FileEndOfFileInformation );
break;
case FileBasicInfo:
status = NtSetInformationFile( file, &io, info, size, FileBasicInformation );
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment