SECFileSystem::GetFileAttribute
BOOLSECFileSystem::GetFileAttribute(const CString&FileName, BYTE&nAttribute)
Returns the attribute bits for the file.
Defined in: filesys.cpp
Return Value
Nonzero if successful; 0 if an error occurred.
Parameters
FileName
The name of the file.
nAttribute
If successful, the attribute byte specifying file info. (See Attribute).
Comments
To return the attribute byte for the specified file. See the Attribute enum in filesys.h for specific attributes.
Example
BOOL bRetVal = fs.GetFileAttribute("c:\\test.txt", bAttr);
See Also
SECFileSystem GetFileStatus GetFileModifyTime GetFileAccessTime GetFileSize Attribute