I obtain the handle through
GetFileType returns FILE_TYPE_DISK and I can read it sequentially so it
looks like file pointer is advanced, but GetFileSize and SetFilePointer
aren't working (both return error 87 that is ERROR_INVALID_PARAMETER). Why?
How can I read some bytes at n offset of volume?
I try to seek to multiplies of 512 if it cares, but it still hasn't anything
to do with GetFileSize.
My OS WinXP SP1
PS. It's said to use FILE_SHARE_WRITE when opening volumes. Why? It works
like read share, without FILE_SHARE_WRITE I cannot enumerate volume files