Home » Category » Software & Application Miscellaneous

Software & Application Miscellaneous: ZwQueryInformationFile Returns Wrong File Size

205| Tue, 20 May 2008 07:36:00 GMT| anonymous| Comments (0)
I am using ZwQueryInformationFile to obtain the size of a binary file that contains firmware. Problem is that 3 of the files return the correct size, however two files return a file size off-by-one (-1). So currently I am just doing a cheap hack. I use StandardInformation.EndOfFile.LowPart to obtain the file size in bytes. I really hope this problem is just something simple.
Thanks!

Keywords & Tags: zwqueryinformationfile, returns, wrong, file, size, software, application

URL: http://software.itags.org/software-application/240746/
 
«« Prev - Next »» 0 helpful answers below.

Software & Application Miscellaneous Hot Answers

Software & Application Miscellaneous New questions

Software & Application Miscellaneous Related Categories