SECFileSystem::GetFileSize
BOOLSECFileSystem::GetFileSize(const CString&FileName, unsigned long&lSize)
Returns the size of the file in bytes.
Defined in: filesys.cpp
Return Value
Nonzero if successful; 0 if an error occurred.
Parameters
FileName
The name of the file
lSize
If no error, the size of the file in bytes.
Comments
To return the size (in bytes) of the specified file.
Example
unsigned long lSize;
BOOL bRetVal = fs.GetFileSize("c:\\foo\\bar\\what.txt", lSize);
See Also