flat assembler
Message board for the users of flat assembler.
Index
> Windows > Get File Size With Native API |
Author |
|
bcdsys 12 Oct 2008, 18:49
Is there any efficient way get file size with native API? Or is only way read to end with ZwOpenFile or ZwCreateFile and count bytes read?
|
|||
12 Oct 2008, 18:49 |
|
windwakr 12 Oct 2008, 19:00
I did 5 seconds of google and found this, maybe It can help? GetFileAttributesEx
Theres also GetFileSizeEx....but that requires an open file |
|||
12 Oct 2008, 19:00 |
|
asmfan 12 Oct 2008, 19:11
ZwQueryInformationFile (FileStandardInformation / FILE_STANDARD_INFORMATION)
|
|||
12 Oct 2008, 19:11 |
|
windwakr 12 Oct 2008, 19:14
Oh, sorry...didn't understand what you wanted.
|
|||
12 Oct 2008, 19:14 |
|
asmfan 12 Oct 2008, 19:17
I did
|
|||
12 Oct 2008, 19:17 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.