次の方法で共有


CAtlTransactionManager::SetFileAttributes

トランザクション操作として、ファイルまたはディレクトリの属性を設定します。

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

パラメーター

  • lpFileName
    ファイルまたはディレクトリの名前。

  • dwAttributes
    ファイルに対して設定するファイル属性。 詳細については、「SetFileAttributesTransacted」を参照してください。

解説

このラッパーは、SetFileAttributesTransacted 関数を呼び出します。

必要条件

**ヘッダー:**atltransactionmanager.h

参照

その他の技術情報

CAtlTransactionManager クラス