This topic has not yet been rated - Rate this topic

CGopherFileFind::GetLength

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).

See Also

CGopherFileFind Overview | Class Members | Hierarchy Chart | CFileFind

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.