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

IDataModelScriptDebugBreakpoint

COM
IID6bb27b35-02e6-47cb-90a0-5371244032de継承元IUnknown自前メソッド開始 vtbl3

メソッド 6

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

vtbl 3 ULONGLONG GetId()
vtbl 4 BOOLEAN IsEnabled()
vtbl 5 void Enable()
vtbl 6 void Disable()
vtbl 7 void Remove()
vtbl 8 HRESULT GetPosition(ScriptDebugPosition* position, ScriptDebugPosition* positionSpanEnd, LPWSTR* lineText)
positionScriptDebugPosition*outこのブレークポイントの位置(開始)を表す ScriptDebugPosition を受け取る出力ポインタである。
positionSpanEndScriptDebugPosition*outoptional位置範囲の終端を表す ScriptDebugPosition を受け取る出力ポインタである。不要なら NULL を指定できる。
lineTextLPWSTR*outoptionalブレークポイントが設定された行のソーステキストを受け取る出力ポインタである。不要なら NULL を指定できる。

HSP用 COM定義

#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"

出力引数:
#define global IID_IDataModelScriptDebugBreakpoint "{6BB27B35-02E6-47CB-90A0-5371244032DE}"
#usecom global IDataModelScriptDebugBreakpoint IID_IDataModelScriptDebugBreakpoint "{}"
#comfunc global IDataModelScriptDebugBreakpoint_GetId        3
#comfunc global IDataModelScriptDebugBreakpoint_IsEnabled    4
#comfunc global IDataModelScriptDebugBreakpoint_Enable       5
#comfunc global IDataModelScriptDebugBreakpoint_Disable      6
#comfunc global IDataModelScriptDebugBreakpoint_Remove       7
#comfunc global IDataModelScriptDebugBreakpoint_GetPosition  8 var,var,var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。