Hi,
I'm writing an applications that reads from a HDD 1 sector at a time.
I set the file pointer to the beginning of the physical drive using
SetFilePointerEx(), and then increment liDistanceToMove by 512 bytes
after each access. However, I want to know what is the length of the
physical drive so I don't overshoot it. How do I do this?
GetFileSizeEx seems to work on a folder level but my drive is
unpartitioned/unformatted so I need something that works on the
physical level.
TIA.