Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Call this member function to get the length, in bytes, of the found file.
virtual ULONGLONG GetLength( ) const;
Return Value
The length, in bytes, of the found file.
Remarks
GetLength uses the Win32 structure WIN32_FIND_DATA to get the value of the file size in bytes.
Note
As of MFC 7.0, GetLength supports 64-bit integer types. Previously-existing code built with this newer version of the library may result in truncation warnings.
Example
See the example for CFile::GetLength (the base class implementation).
Requirements
Header: afxinet.h