CFileFind::CloseContext

Closes the file specified by the current search handle.

virtual void CloseContext( );

Remarks

Closes the file specified by the current value of the search handle. Override this function to change the default behavior.

You must call the FindFile or FindNextFile functions at least once to retrieve a valid search handle. The FindFile and FindNextFile functions use the search handle to locate files with names that match a given name.

Requirements

Header: afx.h

See Also

Concepts

CFileFind Class

CFileFind Members

Hierarchy Chart

CFileFind::FindNextFile

CFileFind::FindFile