[Win32utils-devel] Playing with NtQueryInformationFile

Heesob Park phasis at gmail.com
Wed May 7 02:51:51 EDT 2008


2008/5/7 Berger, Daniel <Daniel.Berger at qwest.com>:
> Many thanks, that works.
> The AllocationSize returns the sectors, but I don't see a structure that
> gives me bytes per sector. Or is it always 512?
The AllocationSize returns not sectors but bytes.
In my case, it returns 4096.

A file has two size. One is actual file size and the other is disk
allocation size.
Why do you want to get allocation size?


Park Heesob

More information about the win32utils-devel mailing list