Winapi.Mtx

提供: RAD Studio API Documentation
移動先: 案内検索

Provides access to Windows mutex functionality.

パッケージ rtl280.bpl

クラス

IEnumNames
IGetContextProperties
IObjectContext
IObjectContextActivity
IObjectControl
ISecurityProperty
ISharedProperty
ISharedPropertyGroup
ISharedPropertyGroupManager
ITransactionContext
ITransactionContextEx

ルーチン

CreateSharedPropertyGroupサーバープロセス内の MTS オブジェクトが状態を共有できるようにする SharedPropertyGroup のインターフェースを返します。
CreateSharedPropertyGroupManagerMTS オブジェクトの共有プロパティを作成および調整する共有プロパティグループマネージャのインターフェースを返します。
CreateTransactionContextMTS トランザクションを開始します。
CreateTransactionContextExトランザクションの開始をマーキングする TransactionContextEx オブジェクトをインスタンス化します。
GetObjectContext現在のスレッドの IObjectContext インターフェースを取り出します。
SafeRefオブジェクトによって,コンテキストの外部に安全に渡すことができるトランザクションオブジェクトへの参照を返します。

定数

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;