CFileStatus

The CFileStatus structure is used by the CFile::GetStatus function to retrieve status information about a file.

Syntax

struct CFileStatus
{
CTime
m_ctime;
CTime
m_mtime;
CTime
m_atime;
LONG
m_size;
BYTE
m_attribute;
TCHAR
m_szFullName[_MAX_PATH];
};

At a Glance

Header File Afx.h
Platforms
Versions 1.0 and later

Parameters

m_ctime
The date and time the file was created.
m_mtime
The date and time the file was last modified.
m_atime
The date and time the file was last accessed.
m_size
The logical size of the file in bytes, as reported by the DIR command.
m_attribute
The attribute byte of the file. This is the logical OR of the following enumerated values.

enum Attribute {

normal,
readOnly,
hidden,
system,
volume,
directory,
archive

};

m_szFullName
The absolute path name.

See Also

Structures, CFile::GetStatus