#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IDVB_SIT "{68CDCE53-8BEA-45C2-9D9D-ACF575A089B5}"
#usecom global IDVB_SIT IID_IDVB_SIT "{}"
#comfunc global IDVB_SIT_Initialize 3 sptr,sptr
#comfunc global IDVB_SIT_GetVersionNumber 4 var
#comfunc global IDVB_SIT_GetCountOfTableDescriptors 5 var
#comfunc global IDVB_SIT_GetTableDescriptorByIndex 6 int,sptr
#comfunc global IDVB_SIT_GetTableDescriptorByTag 7 int,var,sptr
#comfunc global IDVB_SIT_GetCountOfRecords 8 var
#comfunc global IDVB_SIT_GetRecordServiceId 9 int,var
#comfunc global IDVB_SIT_GetRecordRunningStatus 10 int,var
#comfunc global IDVB_SIT_GetRecordCountOfDescriptors 11 int,var
#comfunc global IDVB_SIT_GetRecordDescriptorByIndex 12 int,int,sptr
#comfunc global IDVB_SIT_GetRecordDescriptorByTag 13 int,int,var,sptr
#comfunc global IDVB_SIT_RegisterForNextTable 14 sptr
#comfunc global IDVB_SIT_GetNextTable 15 int,sptr
#comfunc global IDVB_SIT_RegisterForWhenCurrent 16 sptr
#comfunc global IDVB_SIT_ConvertNextToCurrent 17
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IDVB_SIT "{68CDCE53-8BEA-45C2-9D9D-ACF575A089B5}"
#usecom global IDVB_SIT IID_IDVB_SIT "{}"
#comfunc global IDVB_SIT_Initialize 3 sptr,sptr
#comfunc global IDVB_SIT_GetVersionNumber 4 sptr
#comfunc global IDVB_SIT_GetCountOfTableDescriptors 5 sptr
#comfunc global IDVB_SIT_GetTableDescriptorByIndex 6 int,sptr
#comfunc global IDVB_SIT_GetTableDescriptorByTag 7 int,sptr,sptr
#comfunc global IDVB_SIT_GetCountOfRecords 8 sptr
#comfunc global IDVB_SIT_GetRecordServiceId 9 int,sptr
#comfunc global IDVB_SIT_GetRecordRunningStatus 10 int,sptr
#comfunc global IDVB_SIT_GetRecordCountOfDescriptors 11 int,sptr
#comfunc global IDVB_SIT_GetRecordDescriptorByIndex 12 int,int,sptr
#comfunc global IDVB_SIT_GetRecordDescriptorByTag 13 int,int,sptr,sptr
#comfunc global IDVB_SIT_RegisterForNextTable 14 sptr
#comfunc global IDVB_SIT_GetNextTable 15 int,sptr
#comfunc global IDVB_SIT_RegisterForWhenCurrent 16 sptr
#comfunc global IDVB_SIT_ConvertNextToCurrent 17
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。