#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IDebugEventCallbacks "{337BE28B-5036-4D72-B6BF-C45FBB9F2EAA}"
#usecom global IDebugEventCallbacks IID_IDebugEventCallbacks "{}"
#comfunc global IDebugEventCallbacks_GetInterestMask 3 var
#comfunc global IDebugEventCallbacks_Breakpoint 4 sptr
#comfunc global IDebugEventCallbacks_Exception 5 var,int
#comfunc global IDebugEventCallbacks_CreateThread 6 int64,int64,int64
#comfunc global IDebugEventCallbacks_ExitThread 7 int
#comfunc global IDebugEventCallbacks_CreateProcessA 8 int64,int64,int64,int,str,str,int,int,int64,int64,int64
#comfunc global IDebugEventCallbacks_ExitProcess 9 int
#comfunc global IDebugEventCallbacks_LoadModule 10 int64,int64,int,str,str,int,int
#comfunc global IDebugEventCallbacks_UnloadModule 11 str,int64
#comfunc global IDebugEventCallbacks_SystemError 12 int,int
#comfunc global IDebugEventCallbacks_SessionStatus 13 int
#comfunc global IDebugEventCallbacks_ChangeDebuggeeState 14 int,int64
#comfunc global IDebugEventCallbacks_ChangeEngineState 15 int,int64
#comfunc global IDebugEventCallbacks_ChangeSymbolState 16 int,int64
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IDebugEventCallbacks "{337BE28B-5036-4D72-B6BF-C45FBB9F2EAA}"
#usecom global IDebugEventCallbacks IID_IDebugEventCallbacks "{}"
#comfunc global IDebugEventCallbacks_GetInterestMask 3 sptr
#comfunc global IDebugEventCallbacks_Breakpoint 4 sptr
#comfunc global IDebugEventCallbacks_Exception 5 sptr,int
#comfunc global IDebugEventCallbacks_CreateThread 6 int64,int64,int64
#comfunc global IDebugEventCallbacks_ExitThread 7 int
#comfunc global IDebugEventCallbacks_CreateProcessA 8 int64,int64,int64,int,str,str,int,int,int64,int64,int64
#comfunc global IDebugEventCallbacks_ExitProcess 9 int
#comfunc global IDebugEventCallbacks_LoadModule 10 int64,int64,int,str,str,int,int
#comfunc global IDebugEventCallbacks_UnloadModule 11 str,int64
#comfunc global IDebugEventCallbacks_SystemError 12 int,int
#comfunc global IDebugEventCallbacks_SessionStatus 13 int
#comfunc global IDebugEventCallbacks_ChangeDebuggeeState 14 int,int64
#comfunc global IDebugEventCallbacks_ChangeEngineState 15 int,int64
#comfunc global IDebugEventCallbacks_ChangeSymbolState 16 int,int64
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。