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

IApplicationDebuggerUI

COM
IID51973c2b-cb0c-11d0-b5c9-00a0244a0e7a継承元IUnknown自前メソッド開始 vtbl3

メソッド 2

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

vtbl 3 HRESULT BringDocumentToTop(IDebugDocumentText* pddt)
pddtIDebugDocumentText*inデバッガ UI で最前面に表示する対象ドキュメント IDebugDocumentText へのポインタである。
vtbl 4 HRESULT BringDocumentContextToTop(IDebugDocumentContext* pddc)
pddcIDebugDocumentContext*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 指定が可能。