#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IDVB_BAT "{ECE9BB0C-43B6-4558-A0EC-1812C34CD6CA}"
#usecom global IDVB_BAT IID_IDVB_BAT "{}"
#comfunc global IDVB_BAT_Initialize 3 sptr,sptr
#comfunc global IDVB_BAT_GetVersionNumber 4 var
#comfunc global IDVB_BAT_GetBouquetId 5 var
#comfunc global IDVB_BAT_GetCountOfTableDescriptors 6 var
#comfunc global IDVB_BAT_GetTableDescriptorByIndex 7 int,sptr
#comfunc global IDVB_BAT_GetTableDescriptorByTag 8 int,var,sptr
#comfunc global IDVB_BAT_GetCountOfRecords 9 var
#comfunc global IDVB_BAT_GetRecordTransportStreamId 10 int,var
#comfunc global IDVB_BAT_GetRecordOriginalNetworkId 11 int,var
#comfunc global IDVB_BAT_GetRecordCountOfDescriptors 12 int,var
#comfunc global IDVB_BAT_GetRecordDescriptorByIndex 13 int,int,sptr
#comfunc global IDVB_BAT_GetRecordDescriptorByTag 14 int,int,var,sptr
#comfunc global IDVB_BAT_RegisterForNextTable 15 sptr
#comfunc global IDVB_BAT_GetNextTable 16 sptr
#comfunc global IDVB_BAT_RegisterForWhenCurrent 17 sptr
#comfunc global IDVB_BAT_ConvertNextToCurrent 18
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IDVB_BAT "{ECE9BB0C-43B6-4558-A0EC-1812C34CD6CA}"
#usecom global IDVB_BAT IID_IDVB_BAT "{}"
#comfunc global IDVB_BAT_Initialize 3 sptr,sptr
#comfunc global IDVB_BAT_GetVersionNumber 4 sptr
#comfunc global IDVB_BAT_GetBouquetId 5 sptr
#comfunc global IDVB_BAT_GetCountOfTableDescriptors 6 sptr
#comfunc global IDVB_BAT_GetTableDescriptorByIndex 7 int,sptr
#comfunc global IDVB_BAT_GetTableDescriptorByTag 8 int,sptr,sptr
#comfunc global IDVB_BAT_GetCountOfRecords 9 sptr
#comfunc global IDVB_BAT_GetRecordTransportStreamId 10 int,sptr
#comfunc global IDVB_BAT_GetRecordOriginalNetworkId 11 int,sptr
#comfunc global IDVB_BAT_GetRecordCountOfDescriptors 12 int,sptr
#comfunc global IDVB_BAT_GetRecordDescriptorByIndex 13 int,int,sptr
#comfunc global IDVB_BAT_GetRecordDescriptorByTag 14 int,int,sptr,sptr
#comfunc global IDVB_BAT_RegisterForNextTable 15 sptr
#comfunc global IDVB_BAT_GetNextTable 16 sptr
#comfunc global IDVB_BAT_RegisterForWhenCurrent 17 sptr
#comfunc global IDVB_BAT_ConvertNextToCurrent 18
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。