CFileStatus

This structure is used by the CFile::GetStatus method to retrieve status information about a file.

At a Glance

Header file: Afx.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later

Syntax

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

Members

m_ctime
Specifies the date and time the file was created.
m_mtime
Specifies the date and time the file was last modified.
m_atime
Specifies the date and time the file was last accessed.
m_size
Specifies the logical size of the file in bytes, as reported by the DIR command.
m_attribute
Specifies 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
Specifies the absolute path name.

See Also

CFile::GetStatus