ホーム › System.ComponentServices › ITransactionProperty
ITransactionProperty
COM公式ドキュメント
トランザクションのリソースプールを取得するために使用します。
メソッド 18
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 3 void Reserved1()
vtbl 4 void Reserved2()
vtbl 5 void Reserved3()
vtbl 6 void Reserved4()
vtbl 7 void Reserved5()
vtbl 8 void Reserved6()
vtbl 9 void Reserved7()
vtbl 10 void Reserved8()
vtbl 11 void Reserved9()
vtbl 12 HRESULT GetTransactionResourcePool(ITransactionResourcePool** ppTxPool)
このコンテキストのトランザクションに関連付けられているリソースプールを取得します。
| ppTxPool | ITransactionResourcePool** | out | トランザクションのリソースプールへの参照。 |
戻り値
このメソッドは、標準の戻り値 E_INVALIDARG、E_OUTOFMEMORY、E_UNEXPECTED、E_FAIL、および S_OK を返すことがあります。
vtbl 13 void Reserved10()
vtbl 14 void Reserved11()
vtbl 15 void Reserved12()
vtbl 16 void Reserved13()
vtbl 17 void Reserved14()
vtbl 18 void Reserved15()
vtbl 19 void Reserved16()
vtbl 20 void Reserved17()
出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
#define global IID_ITransactionProperty "{788EA814-87B1-11D1-BBA6-00C04FC2FA5F}"
#usecom global ITransactionProperty IID_ITransactionProperty "{}"
#comfunc global ITransactionProperty_Reserved1 3
#comfunc global ITransactionProperty_Reserved2 4
#comfunc global ITransactionProperty_Reserved3 5
#comfunc global ITransactionProperty_Reserved4 6
#comfunc global ITransactionProperty_Reserved5 7
#comfunc global ITransactionProperty_Reserved6 8
#comfunc global ITransactionProperty_Reserved7 9
#comfunc global ITransactionProperty_Reserved8 10
#comfunc global ITransactionProperty_Reserved9 11
#comfunc global ITransactionProperty_GetTransactionResourcePool 12 sptr
#comfunc global ITransactionProperty_Reserved10 13
#comfunc global ITransactionProperty_Reserved11 14
#comfunc global ITransactionProperty_Reserved12 15
#comfunc global ITransactionProperty_Reserved13 16
#comfunc global ITransactionProperty_Reserved14 17
#comfunc global ITransactionProperty_Reserved15 18
#comfunc global ITransactionProperty_Reserved16 19
#comfunc global ITransactionProperty_Reserved17 20
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。