mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Fixed returned file length in GetFileInformationByHandle.
svn path=/trunk/; revision=2986
This commit is contained in:
parent
69494ad0b8
commit
5d9e939c65
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: file.c,v 1.32 2002/05/07 22:21:47 hbirr Exp $
|
||||
/* $Id: file.c,v 1.33 2002/05/27 18:23:49 hbirr Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
|
@ -487,8 +487,8 @@ GetFileInformationByHandle(HANDLE hFile,
|
|||
}
|
||||
|
||||
lpFileInformation->nNumberOfLinks = FileStandard.NumberOfLinks;
|
||||
lpFileInformation->nFileSizeHigh = FileStandard.AllocationSize.u.HighPart;
|
||||
lpFileInformation->nFileSizeLow = FileStandard.AllocationSize.u.LowPart;
|
||||
lpFileInformation->nFileSizeHigh = FileStandard.EndOfFile.u.HighPart;
|
||||
lpFileInformation->nFileSizeLow = FileStandard.EndOfFile.u.LowPart;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue