Winapi.Mtx
Provides access to Windows mutex functionality.
| Package | rtl290.bpl |
|---|
Classes
Routines
| CreateSharedPropertyGroup | Returns the interface for a SharedPropertyGroup that allows MTS objects within a server process to share state. |
| CreateSharedPropertyGroupManager | Returns an interface for a new shared property group manager that creates and coordinates shared properties of MTS objects. |
| CreateTransactionContext | Starts an MTS transaction. |
| CreateTransactionContextEx | Instantiates a TransactionContextEx object, which marks the beginning of a transaction. |
| GetObjectContext | Fetches the IObjectContext interface for the current thread. |
| SafeRef | Returns a reference to a transactional object that is safe to pass outside its context. |
Constants
| CLASS_SharedPropertyGroupManager | CLASS_SharedPropertyGroupManager: TGUID; |
| CLASS_TransactionContext | CLASS_TransactionContext: TGUID; |
| CLASS_TransactionContextEx | CLASS_TransactionContextEx: TGUID; |
| LockMethod | LockMethod: Integer = 1; |
| LockSetGet | LockSetGet: Integer = 0; |
| mtsErrCtxAborted | mtsErrCtxAborted: Integer = $8004E002; |
| mtsErrCtxAborting | mtsErrCtxAborting: Integer = $8004E003; |
| mtsErrCtxActivityTimeout | mtsErrCtxActivityTimeout: Integer = $8004E006; |
| mtsErrCtxNoContext | mtsErrCtxNoContext: Integer = $8004E004; |
| mtsErrCtxNoSecurity | mtsErrCtxNoSecurity: Integer = $8004E00D; |
| mtsErrCtxNotRegistered | mtsErrCtxNotRegistered: Integer = $8004E005; |
| mtsErrCtxOldReference | mtsErrCtxOldReference: Integer = $8004E007; |
| mtsErrCtxRoleNotFound | mtsErrCtxRoleNotFound: Integer = $8004E00C; |
| mtsErrCtxTMNotAvailable | mtsErrCtxTMNotAvailable: Integer = $8004E00F; |
| mtsErrCtxWrongThread | mtsErrCtxWrongThread: Integer = $8004E00E; |
| Process | Process: Integer = 1; |
| Standard | Standard: Integer = 0; |