Share via


CAtlTransactionManager Class

CAtlTransactionManager class provides a wrapper to Kernel Transaction Manager (KTM) functions.

class CAtlTransactionManager;

Members

Public Constructors

Name

Description

CAtlTransactionManager::~CAtlTransactionManager

CAtlTransactionManager destructor.

CAtlTransactionManager::CAtlTransactionManager

CAtlTransactionManager constructor.

Public Methods

Name

Description

CAtlTransactionManager::Close

Closes one the transaction handle.

CAtlTransactionManager::Commit

Requests that the transaction be committed.

CAtlTransactionManager::Create

Creates the transaction handle.

CAtlTransactionManager::CreateFile

Creates or opens a file, file stream, or directory as a transacted operation.

CAtlTransactionManager::DeleteFile

Deletes an existing file as a transacted operation.

CAtlTransactionManager::FindFirstFile

Searches a directory for a file or subdirectory as a transacted operation.

CAtlTransactionManager::GetFileAttributes

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

CAtlTransactionManager::GetFileAttributesEx

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

CAtlTransactionManager::GetHandle

Returns the transaction handle.

CAtlTransactionManager::IsFallback

Determines whether the fallback calls are enabled.

CAtlTransactionManager::MoveFile

Moves an existing file or a directory, including its children, as a transacted operation.

CAtlTransactionManager::RegCreateKeyEx

Creates the specified registry key and associates it with a transaction. If the key already exists, the function opens it.

CAtlTransactionManager::RegDeleteKey

Deletes a subkey and its values from the specified platform-specific view of the registry as a transacted operation.

CAtlTransactionManager::RegOpenKeyEx

Opens the specified registry key and associates it with a transaction.

CAtlTransactionManager::Rollback

Requests that the transaction be rolled back.

CAtlTransactionManager::SetFileAttributes

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

Protected Data Members

Name

Description

CAtlTransactionManager::m_bFallback

TRUE if the fallback is supported; FALSE otherwise.

CAtlTransactionManager::m_hTransaction

The transaction handle.

Inheritance Hierarchy

ATL::CAtlTransactionManager

Requirements

Header: atltransactionmanager.h

See Also

Other Resources

ATL Classes