#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IDebugDocumentHelper64 "{C4C7363C-20FD-47F9-BD82-4855E0150871}"
#usecom global IDebugDocumentHelper64 IID_IDebugDocumentHelper64 "{}"
#comfunc global IDebugDocumentHelper64_Init 3 sptr,wstr,wstr,int
#comfunc global IDebugDocumentHelper64_Attach 4 sptr
#comfunc global IDebugDocumentHelper64_Detach 5
#comfunc global IDebugDocumentHelper64_AddUnicodeText 6 wstr
#comfunc global IDebugDocumentHelper64_AddDBCSText 7 str
#comfunc global IDebugDocumentHelper64_SetDebugDocumentHost 8 sptr
#comfunc global IDebugDocumentHelper64_AddDeferredText 9 int,int
#comfunc global IDebugDocumentHelper64_DefineScriptBlock 10 int,int,sptr,int,var
#comfunc global IDebugDocumentHelper64_SetDefaultTextAttr 11 int
#comfunc global IDebugDocumentHelper64_SetTextAttributes 12 int,int,var
#comfunc global IDebugDocumentHelper64_SetLongName 13 wstr
#comfunc global IDebugDocumentHelper64_SetShortName 14 wstr
#comfunc global IDebugDocumentHelper64_SetDocumentAttr 15 int
#comfunc global IDebugDocumentHelper64_GetDebugApplicationNode 16 sptr
#comfunc global IDebugDocumentHelper64_GetScriptBlockInfo 17 int64,sptr,var,var
#comfunc global IDebugDocumentHelper64_CreateDebugDocumentContext 18 int,int,sptr
#comfunc global IDebugDocumentHelper64_BringDocumentToTop 19
#comfunc global IDebugDocumentHelper64_BringDocumentContextToTop 20 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IDebugDocumentHelper64 "{C4C7363C-20FD-47F9-BD82-4855E0150871}"
#usecom global IDebugDocumentHelper64 IID_IDebugDocumentHelper64 "{}"
#comfunc global IDebugDocumentHelper64_Init 3 sptr,wstr,wstr,int
#comfunc global IDebugDocumentHelper64_Attach 4 sptr
#comfunc global IDebugDocumentHelper64_Detach 5
#comfunc global IDebugDocumentHelper64_AddUnicodeText 6 wstr
#comfunc global IDebugDocumentHelper64_AddDBCSText 7 str
#comfunc global IDebugDocumentHelper64_SetDebugDocumentHost 8 sptr
#comfunc global IDebugDocumentHelper64_AddDeferredText 9 int,int
#comfunc global IDebugDocumentHelper64_DefineScriptBlock 10 int,int,sptr,int,sptr
#comfunc global IDebugDocumentHelper64_SetDefaultTextAttr 11 int
#comfunc global IDebugDocumentHelper64_SetTextAttributes 12 int,int,sptr
#comfunc global IDebugDocumentHelper64_SetLongName 13 wstr
#comfunc global IDebugDocumentHelper64_SetShortName 14 wstr
#comfunc global IDebugDocumentHelper64_SetDocumentAttr 15 int
#comfunc global IDebugDocumentHelper64_GetDebugApplicationNode 16 sptr
#comfunc global IDebugDocumentHelper64_GetScriptBlockInfo 17 int64,sptr,sptr,sptr
#comfunc global IDebugDocumentHelper64_CreateDebugDocumentContext 18 int,int,sptr
#comfunc global IDebugDocumentHelper64_BringDocumentToTop 19
#comfunc global IDebugDocumentHelper64_BringDocumentContextToTop 20 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。