Win32 API 日本語リファレンス
ホームSystem.Diagnostics.Debug.Extensions › IDebugHostType2

IDebugHostType2

COM
IIDb28632b9-8506-4676-87ce-8f7e05e59876継承元IDebugHostType自前メソッド開始 vtbl29

メソッド 5

vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。

vtbl 29 HRESULT IsTypedef(BOOLEAN* isTypedef)
isTypedefBOOLEAN*outこの型が typedef(型エイリアス)であるかどうかの真偽値を受け取る BOOLEAN へのポインタである。[out] 引数である。
vtbl 30 HRESULT GetTypedefBaseType(IDebugHostType2** baseType)
baseTypeIDebugHostType2**outtypedef が直接参照する基底型を受け取る IDebugHostType2 ポインタへのポインタである。[out] 引数である。
vtbl 31 HRESULT GetTypedefFinalBaseType(IDebugHostType2** finalBaseType)
finalBaseTypeIDebugHostType2**outtypedef の連鎖を最後まで解決した最終的な基底型を受け取る IDebugHostType2 ポインタへのポインタである。[out] 引数である。
vtbl 32 HRESULT GetFunctionVarArgsKind(VarArgsKind* varArgsKind)
varArgsKindVarArgsKind*out関数型の可変長引数の種類を受け取る VarArgsKind へのポインタである。[out] 引数である。
vtbl 33 HRESULT GetFunctionInstancePointerType(IDebugHostType2** instancePointerType)
instancePointerTypeIDebugHostType2**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 指定が可能。