ホーム › System.Diagnostics.Debug.ActiveScript › IApplicationDebuggerUI
IApplicationDebuggerUI
COMメソッド 2
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 3 HRESULT BringDocumentToTop(IDebugDocumentText* pddt)
| pddt | IDebugDocumentText* | in | デバッガ UI で最前面に表示する対象ドキュメント IDebugDocumentText へのポインタである。 |
vtbl 4 HRESULT BringDocumentContextToTop(IDebugDocumentContext* pddc)
| pddc | IDebugDocumentContext* | in | デバッガ UI で最前面に表示する対象 IDebugDocumentContext へのポインタである。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
#define global IID_IApplicationDebuggerUI "{51973C2B-CB0C-11D0-B5C9-00A0244A0E7A}"
#usecom global IApplicationDebuggerUI IID_IApplicationDebuggerUI "{}"
#comfunc global IApplicationDebuggerUI_BringDocumentToTop 3 sptr
#comfunc global IApplicationDebuggerUI_BringDocumentContextToTop 4 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。