#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IDVB_NIT "{C64935F4-29E4-4E22-911A-63F7F55CB097}"
#usecom global IDVB_NIT IID_IDVB_NIT "{}"
#comfunc global IDVB_NIT_Initialize 3 sptr,sptr
#comfunc global IDVB_NIT_GetVersionNumber 4 var
#comfunc global IDVB_NIT_GetNetworkId 5 var
#comfunc global IDVB_NIT_GetCountOfTableDescriptors 6 var
#comfunc global IDVB_NIT_GetTableDescriptorByIndex 7 int,sptr
#comfunc global IDVB_NIT_GetTableDescriptorByTag 8 int,var,sptr
#comfunc global IDVB_NIT_GetCountOfRecords 9 var
#comfunc global IDVB_NIT_GetRecordTransportStreamId 10 int,var
#comfunc global IDVB_NIT_GetRecordOriginalNetworkId 11 int,var
#comfunc global IDVB_NIT_GetRecordCountOfDescriptors 12 int,var
#comfunc global IDVB_NIT_GetRecordDescriptorByIndex 13 int,int,sptr
#comfunc global IDVB_NIT_GetRecordDescriptorByTag 14 int,int,var,sptr
#comfunc global IDVB_NIT_RegisterForNextTable 15 sptr
#comfunc global IDVB_NIT_GetNextTable 16 sptr
#comfunc global IDVB_NIT_RegisterForWhenCurrent 17 sptr
#comfunc global IDVB_NIT_ConvertNextToCurrent 18
#comfunc global IDVB_NIT_GetVersionHash 19 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IDVB_NIT "{C64935F4-29E4-4E22-911A-63F7F55CB097}"
#usecom global IDVB_NIT IID_IDVB_NIT "{}"
#comfunc global IDVB_NIT_Initialize 3 sptr,sptr
#comfunc global IDVB_NIT_GetVersionNumber 4 sptr
#comfunc global IDVB_NIT_GetNetworkId 5 sptr
#comfunc global IDVB_NIT_GetCountOfTableDescriptors 6 sptr
#comfunc global IDVB_NIT_GetTableDescriptorByIndex 7 int,sptr
#comfunc global IDVB_NIT_GetTableDescriptorByTag 8 int,sptr,sptr
#comfunc global IDVB_NIT_GetCountOfRecords 9 sptr
#comfunc global IDVB_NIT_GetRecordTransportStreamId 10 int,sptr
#comfunc global IDVB_NIT_GetRecordOriginalNetworkId 11 int,sptr
#comfunc global IDVB_NIT_GetRecordCountOfDescriptors 12 int,sptr
#comfunc global IDVB_NIT_GetRecordDescriptorByIndex 13 int,int,sptr
#comfunc global IDVB_NIT_GetRecordDescriptorByTag 14 int,int,sptr,sptr
#comfunc global IDVB_NIT_RegisterForNextTable 15 sptr
#comfunc global IDVB_NIT_GetNextTable 16 sptr
#comfunc global IDVB_NIT_RegisterForWhenCurrent 17 sptr
#comfunc global IDVB_NIT_ConvertNextToCurrent 18
#comfunc global IDVB_NIT_GetVersionHash 19 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。