int GetFileSize(string sFilename)
Return values
Size of file in number of bytes if the function is successful; if the file cannot be accessed the return value is -1.
Parameters
Remarks
The function is limited to files smaller then 2^31 bytes.