Partager via


CFileFind::IsArchived

Call this member function to determine if the found file is archived.

BOOL IsArchived( ) const;

Return Value

Nonzero if successful; otherwise 0.

Remarks

Applications mark an archive file, which is to be backed up or removed, with FILE_ATTRIBUTE_ARCHIVE, a file attribute identified in the WIN32_FIND_DATA structure.

You must call FindNextFile at least once before calling IsArchived.

See the member function MatchesMask for a complete list of file attributes.

Example

See the example for CFileFind::GetLength.

Requirements

Header: afx.h

See Also

Concepts

CFileFind Class

CFileFind Members

Hierarchy Chart