Compartilhar via


CFileFind::IsNormal

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

BOOL IsNormal( ) const;

Return Value

Nonzero if successful; otherwise 0.

Remarks

Files marked with FILE_ATTRIBUTE_NORMAL, a file attribute identified in the WIN32_FIND_DATA structure. A normal file has no other attributes set. All other file attributes override this attribute.

You must call FindNextFile at least once before calling IsNormal.

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

Reference

CFileFind Class

Hierarchy Chart