다음을 통해 공유


CFileFind::IsSystem

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

BOOL IsSystem( ) const;

Return Value

Nonzero if successful; otherwise 0.

Remarks

A system file is marked with FILE_ATTRIBUTE_SYSTEM, , a file attribute identified in the WIN32_FIND_DATA structure. A system file is part of, or is used exclusively by, the operating system.

You must call FindNextFile at least once before calling IsSystem.

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