#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IRemoteDebugApplicationThread "{51973C37-CB0C-11D0-B5C9-00A0244A0E7A}"
#usecom global IRemoteDebugApplicationThread IID_IRemoteDebugApplicationThread "{}"
#comfunc global IRemoteDebugApplicationThread_GetSystemThreadId 3 var
#comfunc global IRemoteDebugApplicationThread_GetApplication 4 sptr
#comfunc global IRemoteDebugApplicationThread_EnumStackFrames 5 sptr
#comfunc global IRemoteDebugApplicationThread_GetDescription 6 var,var
#comfunc global IRemoteDebugApplicationThread_SetNextStatement 7 sptr,sptr
#comfunc global IRemoteDebugApplicationThread_GetState 8 var
#comfunc global IRemoteDebugApplicationThread_Suspend 9 var
#comfunc global IRemoteDebugApplicationThread_Resume 10 var
#comfunc global IRemoteDebugApplicationThread_GetSuspendCount 11 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IRemoteDebugApplicationThread "{51973C37-CB0C-11D0-B5C9-00A0244A0E7A}"
#usecom global IRemoteDebugApplicationThread IID_IRemoteDebugApplicationThread "{}"
#comfunc global IRemoteDebugApplicationThread_GetSystemThreadId 3 sptr
#comfunc global IRemoteDebugApplicationThread_GetApplication 4 sptr
#comfunc global IRemoteDebugApplicationThread_EnumStackFrames 5 sptr
#comfunc global IRemoteDebugApplicationThread_GetDescription 6 sptr,sptr
#comfunc global IRemoteDebugApplicationThread_SetNextStatement 7 sptr,sptr
#comfunc global IRemoteDebugApplicationThread_GetState 8 sptr
#comfunc global IRemoteDebugApplicationThread_Suspend 9 sptr
#comfunc global IRemoteDebugApplicationThread_Resume 10 sptr
#comfunc global IRemoteDebugApplicationThread_GetSuspendCount 11 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。