I'm having difficulties to find a way (if there is any) to get the total file size of a windows (NTFS) file. What I'm trying to get is the size of the file including alternate data streams and security info ; default size only refers to the main stream (which contains the "real" data used by our applications). I know I could get it calling BackupRead() and see how much I can read, but my need is to know it before I perform any operation on this file.
Is FindFirstStream where you're looking for?
Or this?