SECFileSystem::GetFileStatus

BOOLSECFileSystem::GetFileStatus(const CString&FileName, CFileStatus&FileStatus)

Returns the file status.

Defined in: filesys.cpp

Return Value

Nonzero if successful; 0 if an error occurred.

Parameters

FileName

The name of the file.

FileStatus

The status information is returned in this struct.

Comments

To return the status information about the specified file. See the MFC help on the CFileStatus struct for more information.

Example

CFileStatus Status;
BOOL bRetVal = fs.GetFileStatus("c:\\test.txt", Status);

See Also

SECFileSystem  GetFileAccessTime  GetFileModifyTime  GetFileCreateTime  GetFileSize