CAtlTransactionManager::SetFileAttributes

将文件或目录的属性为已处理的操作。

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

参数

  • lpFileName
    文件或目录的名称。

  • dwAttributes
    设置的文件属性用于文件。 有关更多信息,请参见 SetFileAttributesTransacted

备注

此包装调用 SetFileAttributesTransacted 功能。

要求

Header: atltransactionmanager.h

请参见

参考

CAtlTransactionManager选件类