#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IDVB_SDT "{02CAD8D3-FE43-48E2-90BD-450ED9A8A5FD}"
#usecom global IDVB_SDT IID_IDVB_SDT "{}"
#comfunc global IDVB_SDT_Initialize 3 sptr,sptr
#comfunc global IDVB_SDT_GetVersionNumber 4 var
#comfunc global IDVB_SDT_GetTransportStreamId 5 var
#comfunc global IDVB_SDT_GetOriginalNetworkId 6 var
#comfunc global IDVB_SDT_GetCountOfRecords 7 var
#comfunc global IDVB_SDT_GetRecordServiceId 8 int,var
#comfunc global IDVB_SDT_GetRecordEITScheduleFlag 9 int,var
#comfunc global IDVB_SDT_GetRecordEITPresentFollowingFlag 10 int,var
#comfunc global IDVB_SDT_GetRecordRunningStatus 11 int,var
#comfunc global IDVB_SDT_GetRecordFreeCAMode 12 int,var
#comfunc global IDVB_SDT_GetRecordCountOfDescriptors 13 int,var
#comfunc global IDVB_SDT_GetRecordDescriptorByIndex 14 int,int,sptr
#comfunc global IDVB_SDT_GetRecordDescriptorByTag 15 int,int,var,sptr
#comfunc global IDVB_SDT_RegisterForNextTable 16 sptr
#comfunc global IDVB_SDT_GetNextTable 17 sptr
#comfunc global IDVB_SDT_RegisterForWhenCurrent 18 sptr
#comfunc global IDVB_SDT_ConvertNextToCurrent 19
#comfunc global IDVB_SDT_GetVersionHash 20 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IDVB_SDT "{02CAD8D3-FE43-48E2-90BD-450ED9A8A5FD}"
#usecom global IDVB_SDT IID_IDVB_SDT "{}"
#comfunc global IDVB_SDT_Initialize 3 sptr,sptr
#comfunc global IDVB_SDT_GetVersionNumber 4 sptr
#comfunc global IDVB_SDT_GetTransportStreamId 5 sptr
#comfunc global IDVB_SDT_GetOriginalNetworkId 6 sptr
#comfunc global IDVB_SDT_GetCountOfRecords 7 sptr
#comfunc global IDVB_SDT_GetRecordServiceId 8 int,sptr
#comfunc global IDVB_SDT_GetRecordEITScheduleFlag 9 int,sptr
#comfunc global IDVB_SDT_GetRecordEITPresentFollowingFlag 10 int,sptr
#comfunc global IDVB_SDT_GetRecordRunningStatus 11 int,sptr
#comfunc global IDVB_SDT_GetRecordFreeCAMode 12 int,sptr
#comfunc global IDVB_SDT_GetRecordCountOfDescriptors 13 int,sptr
#comfunc global IDVB_SDT_GetRecordDescriptorByIndex 14 int,int,sptr
#comfunc global IDVB_SDT_GetRecordDescriptorByTag 15 int,int,sptr,sptr
#comfunc global IDVB_SDT_RegisterForNextTable 16 sptr
#comfunc global IDVB_SDT_GetNextTable 17 sptr
#comfunc global IDVB_SDT_RegisterForWhenCurrent 18 sptr
#comfunc global IDVB_SDT_ConvertNextToCurrent 19
#comfunc global IDVB_SDT_GetVersionHash 20 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。