#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IDebugDocumentHelper32 "{51973C26-CB0C-11D0-B5C9-00A0244A0E7A}"
#usecom global IDebugDocumentHelper32 IID_IDebugDocumentHelper32 "{}"
#comfunc global IDebugDocumentHelper32_Init 3 sptr,wstr,wstr,int
#comfunc global IDebugDocumentHelper32_Attach 4 sptr
#comfunc global IDebugDocumentHelper32_Detach 5
#comfunc global IDebugDocumentHelper32_AddUnicodeText 6 wstr
#comfunc global IDebugDocumentHelper32_AddDBCSText 7 str
#comfunc global IDebugDocumentHelper32_SetDebugDocumentHost 8 sptr
#comfunc global IDebugDocumentHelper32_AddDeferredText 9 int,int
#comfunc global IDebugDocumentHelper32_DefineScriptBlock 10 int,int,sptr,int,var
#comfunc global IDebugDocumentHelper32_SetDefaultTextAttr 11 int
#comfunc global IDebugDocumentHelper32_SetTextAttributes 12 int,int,var
#comfunc global IDebugDocumentHelper32_SetLongName 13 wstr
#comfunc global IDebugDocumentHelper32_SetShortName 14 wstr
#comfunc global IDebugDocumentHelper32_SetDocumentAttr 15 int
#comfunc global IDebugDocumentHelper32_GetDebugApplicationNode 16 sptr
#comfunc global IDebugDocumentHelper32_GetScriptBlockInfo 17 int,sptr,var,var
#comfunc global IDebugDocumentHelper32_CreateDebugDocumentContext 18 int,int,sptr
#comfunc global IDebugDocumentHelper32_BringDocumentToTop 19
#comfunc global IDebugDocumentHelper32_BringDocumentContextToTop 20 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IDebugDocumentHelper32 "{51973C26-CB0C-11D0-B5C9-00A0244A0E7A}"
#usecom global IDebugDocumentHelper32 IID_IDebugDocumentHelper32 "{}"
#comfunc global IDebugDocumentHelper32_Init 3 sptr,wstr,wstr,int
#comfunc global IDebugDocumentHelper32_Attach 4 sptr
#comfunc global IDebugDocumentHelper32_Detach 5
#comfunc global IDebugDocumentHelper32_AddUnicodeText 6 wstr
#comfunc global IDebugDocumentHelper32_AddDBCSText 7 str
#comfunc global IDebugDocumentHelper32_SetDebugDocumentHost 8 sptr
#comfunc global IDebugDocumentHelper32_AddDeferredText 9 int,int
#comfunc global IDebugDocumentHelper32_DefineScriptBlock 10 int,int,sptr,int,sptr
#comfunc global IDebugDocumentHelper32_SetDefaultTextAttr 11 int
#comfunc global IDebugDocumentHelper32_SetTextAttributes 12 int,int,sptr
#comfunc global IDebugDocumentHelper32_SetLongName 13 wstr
#comfunc global IDebugDocumentHelper32_SetShortName 14 wstr
#comfunc global IDebugDocumentHelper32_SetDocumentAttr 15 int
#comfunc global IDebugDocumentHelper32_GetDebugApplicationNode 16 sptr
#comfunc global IDebugDocumentHelper32_GetScriptBlockInfo 17 int,sptr,sptr,sptr
#comfunc global IDebugDocumentHelper32_CreateDebugDocumentContext 18 int,int,sptr
#comfunc global IDebugDocumentHelper32_BringDocumentToTop 19
#comfunc global IDebugDocumentHelper32_BringDocumentContextToTop 20 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。