This method returns the attribute for the most recent found file or directory. You can use code as follows to test whether it is a directory:
pDirectory->FoundAttributes() & FILE_ATTRIBUTE_DIRECTORY
Related Topics
IDirectory Interface