Udostępnij za pośrednictwem


CAtlTransactionManager::SetFileAttributes

Sets the attributes for a file or directory as a transacted operation.

inline BOOL CAtlTransactionManager::SetFileAttributes(
   LPCTSTR lpFileName,
   DWORD dwAttributes
);

Parameters

  • lpFileName
    The name of the file or directory.

  • dwAttributes
    The file attributes to set for the file. For more information, see SetFileAttributesTransacted.

Remarks

This wrapper calls the SetFileAttributesTransacted function.

Requirements

Header: atltransactionmanager.h

See Also

Reference

CAtlTransactionManager Class