Winapi.Mtx

From RAD Studio API Documentation
Jump to: navigation, search

Provides access to Windows mutex functionality.

Package rtl280.bpl

Classes

IEnumNames
IGetContextProperties
IObjectContext
IObjectContextActivity
IObjectControl
ISecurityProperty
ISharedProperty
ISharedPropertyGroup
ISharedPropertyGroupManager
ITransactionContext
ITransactionContextEx

Routines

CreateSharedPropertyGroupReturns the interface for a SharedPropertyGroup that allows MTS objects within a server process to share state.
CreateSharedPropertyGroupManagerReturns an interface for a new shared property group manager that creates and coordinates shared properties of MTS objects.
CreateTransactionContextStarts an MTS transaction.
CreateTransactionContextExInstantiates a TransactionContextEx object, which marks the beginning of a transaction.
GetObjectContextFetches the IObjectContext interface for the current thread.
SafeRefReturns a reference to a transactional object that is safe to pass outside its context.

Constants

CLASS_SharedPropertyGroupManagerCLASS_SharedPropertyGroupManager: TGUID;
CLASS_TransactionContextCLASS_TransactionContext: TGUID;
CLASS_TransactionContextExCLASS_TransactionContextEx: TGUID;
LockMethodLockMethod: Integer = 1;
LockSetGetLockSetGet: Integer = 0;
mtsErrCtxAbortedmtsErrCtxAborted: Integer = $8004E002;
mtsErrCtxAbortingmtsErrCtxAborting: Integer = $8004E003;
mtsErrCtxActivityTimeoutmtsErrCtxActivityTimeout: Integer = $8004E006;
mtsErrCtxNoContextmtsErrCtxNoContext: Integer = $8004E004;
mtsErrCtxNoSecuritymtsErrCtxNoSecurity: Integer = $8004E00D;
mtsErrCtxNotRegisteredmtsErrCtxNotRegistered: Integer = $8004E005;
mtsErrCtxOldReferencemtsErrCtxOldReference: Integer = $8004E007;
mtsErrCtxRoleNotFoundmtsErrCtxRoleNotFound: Integer = $8004E00C;
mtsErrCtxTMNotAvailablemtsErrCtxTMNotAvailable: Integer = $8004E00F;
mtsErrCtxWrongThreadmtsErrCtxWrongThread: Integer = $8004E00E;
ProcessProcess: Integer = 1;
StandardStandard: Integer = 0;