Partager via


CAtlTransactionManager::GetFileAttributesEx

Retrieves file system attributes for a specified file or directory as a transacted operation.

inline BOOL CAtlTransactionManager::GetFileAttributesEx(
   LPCTSTR lpFileName,
   GET_FILEEX_INFO_LEVELS fInfoLevelId,
   LPVOID lpFileInformation
);

Parameters

  • lpFileName
    The name of the file or directory.

  • fInfoLevelId
    The level of attribute information to retrieve.

  • lpFileInformation
    A pointer to a buffer that receives the attribute information. The type of attribute information that is stored into this buffer is determined by the value of fInfoLevelId. If the fInfoLevelId parameter is GetFileExInfoStandard then this parameter points to a WIN32_FILE_ATTRIBUTE_DATA structure.

Remarks

This wrapper calls the GetFileAttributesTransacted function.

Requirements

Header: atltransactionmanager.h

See Also

Reference

CAtlTransactionManager Class