#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IDvbSiParser "{B758A7BD-14DC-449D-B828-35909ACB3B1E}"
#usecom global IDvbSiParser IID_IDvbSiParser "{}"
#comfunc global IDvbSiParser_Initialize 3 sptr
#comfunc global IDvbSiParser_GetPAT 4 sptr
#comfunc global IDvbSiParser_GetCAT 5 int,sptr
#comfunc global IDvbSiParser_GetPMT 6 int,var,sptr
#comfunc global IDvbSiParser_GetTSDT 7 sptr
#comfunc global IDvbSiParser_GetNIT 8 int,var,sptr
#comfunc global IDvbSiParser_GetSDT 9 int,var,sptr
#comfunc global IDvbSiParser_GetEIT 10 int,var,sptr
#comfunc global IDvbSiParser_GetBAT 11 var,sptr
#comfunc global IDvbSiParser_GetRST 12 int,sptr
#comfunc global IDvbSiParser_GetST 13 int,int,sptr
#comfunc global IDvbSiParser_GetTDT 14 sptr
#comfunc global IDvbSiParser_GetTOT 15 sptr
#comfunc global IDvbSiParser_GetDIT 16 int,sptr
#comfunc global IDvbSiParser_GetSIT 17 int,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IDvbSiParser "{B758A7BD-14DC-449D-B828-35909ACB3B1E}"
#usecom global IDvbSiParser IID_IDvbSiParser "{}"
#comfunc global IDvbSiParser_Initialize 3 sptr
#comfunc global IDvbSiParser_GetPAT 4 sptr
#comfunc global IDvbSiParser_GetCAT 5 int,sptr
#comfunc global IDvbSiParser_GetPMT 6 int,sptr,sptr
#comfunc global IDvbSiParser_GetTSDT 7 sptr
#comfunc global IDvbSiParser_GetNIT 8 int,sptr,sptr
#comfunc global IDvbSiParser_GetSDT 9 int,sptr,sptr
#comfunc global IDvbSiParser_GetEIT 10 int,sptr,sptr
#comfunc global IDvbSiParser_GetBAT 11 sptr,sptr
#comfunc global IDvbSiParser_GetRST 12 int,sptr
#comfunc global IDvbSiParser_GetST 13 int,int,sptr
#comfunc global IDvbSiParser_GetTDT 14 sptr
#comfunc global IDvbSiParser_GetTOT 15 sptr
#comfunc global IDvbSiParser_GetDIT 16 int,sptr
#comfunc global IDvbSiParser_GetSIT 17 int,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。