ホーム › System.Diagnostics.Debug.Extensions › IDebugHostType2
IDebugHostType2
COMメソッド 5
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
| isTypedef | BOOLEAN* | out | この型が typedef(型エイリアス)であるかどうかの真偽値を受け取る BOOLEAN へのポインタである。[out] 引数である。 |
vtbl 30 HRESULT GetTypedefBaseType(IDebugHostType2** baseType)
| baseType | IDebugHostType2** | out | typedef が直接参照する基底型を受け取る IDebugHostType2 ポインタへのポインタである。[out] 引数である。 |
vtbl 31 HRESULT GetTypedefFinalBaseType(IDebugHostType2** finalBaseType)
| finalBaseType | IDebugHostType2** | out | typedef の連鎖を最後まで解決した最終的な基底型を受け取る IDebugHostType2 ポインタへのポインタである。[out] 引数である。 |
vtbl 32 HRESULT GetFunctionVarArgsKind(VarArgsKind* varArgsKind)
| varArgsKind | VarArgsKind* | out | 関数型の可変長引数の種類を受け取る VarArgsKind へのポインタである。[out] 引数である。 |
vtbl 33 HRESULT GetFunctionInstancePointerType(IDebugHostType2** instancePointerType)
| instancePointerType | IDebugHostType2** | out | メンバー関数のインスタンスポインタ(this ポインタ)の型を受け取る IDebugHostType2 ポインタへのポインタである。[out] 引数である。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IDebugHostType2 "{B28632B9-8506-4676-87CE-8F7E05E59876}" #usecom global IDebugHostType2 IID_IDebugHostType2 "{}" #comfunc global IDebugHostType2_IsTypedef 29 var #comfunc global IDebugHostType2_GetTypedefBaseType 30 sptr #comfunc global IDebugHostType2_GetTypedefFinalBaseType 31 sptr #comfunc global IDebugHostType2_GetFunctionVarArgsKind 32 var #comfunc global IDebugHostType2_GetFunctionInstancePointerType 33 sptr ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IDebugHostType2 "{B28632B9-8506-4676-87CE-8F7E05E59876}" #usecom global IDebugHostType2 IID_IDebugHostType2 "{}" #comfunc global IDebugHostType2_IsTypedef 29 sptr #comfunc global IDebugHostType2_GetTypedefBaseType 30 sptr #comfunc global IDebugHostType2_GetTypedefFinalBaseType 31 sptr #comfunc global IDebugHostType2_GetFunctionVarArgsKind 32 sptr #comfunc global IDebugHostType2_GetFunctionInstancePointerType 33 sptr ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。