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 ...@@ -3528,7 +3528,6 @@ BOOL WINAPI DECLSPEC_HOTPATCH SetFileInformationByHandle( HANDLE file, FILE_INFO
case FileNameInfo: case FileNameInfo:
case FileRenameInfo: case FileRenameInfo:
case FileAllocationInfo: case FileAllocationInfo:
case FileEndOfFileInfo:
case FileStreamInfo: case FileStreamInfo:
case FileIdBothDirectoryInfo: case FileIdBothDirectoryInfo:
case FileIdBothDirectoryRestartInfo: case FileIdBothDirectoryRestartInfo:
...@@ -3543,6 +3542,9 @@ BOOL WINAPI DECLSPEC_HOTPATCH SetFileInformationByHandle( HANDLE file, FILE_INFO ...@@ -3543,6 +3542,9 @@ BOOL WINAPI DECLSPEC_HOTPATCH SetFileInformationByHandle( HANDLE file, FILE_INFO
SetLastError( ERROR_CALL_NOT_IMPLEMENTED ); SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
return FALSE; return FALSE;
case FileEndOfFileInfo:
status = NtSetInformationFile( file, &io, info, size, FileEndOfFileInformation );
break;
case FileBasicInfo: case FileBasicInfo:
status = NtSetInformationFile( file, &io, info, size, FileBasicInformation ); status = NtSetInformationFile( file, &io, info, size, FileBasicInformation );
break; 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