#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IATSC_MGT "{8877DABD-C137-4073-97E3-779407A5D87A}"
#usecom global IATSC_MGT IID_IATSC_MGT "{}"
#comfunc global IATSC_MGT_Initialize 3 sptr,sptr
#comfunc global IATSC_MGT_GetVersionNumber 4 var
#comfunc global IATSC_MGT_GetProtocolVersion 5 var
#comfunc global IATSC_MGT_GetCountOfRecords 6 var
#comfunc global IATSC_MGT_GetRecordType 7 int,var
#comfunc global IATSC_MGT_GetRecordTypePid 8 int,var
#comfunc global IATSC_MGT_GetRecordVersionNumber 9 int,var
#comfunc global IATSC_MGT_GetRecordCountOfDescriptors 10 int,var
#comfunc global IATSC_MGT_GetRecordDescriptorByIndex 11 int,int,sptr
#comfunc global IATSC_MGT_GetRecordDescriptorByTag 12 int,int,var,sptr
#comfunc global IATSC_MGT_GetCountOfTableDescriptors 13 var
#comfunc global IATSC_MGT_GetTableDescriptorByIndex 14 int,sptr
#comfunc global IATSC_MGT_GetTableDescriptorByTag 15 int,var,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IATSC_MGT "{8877DABD-C137-4073-97E3-779407A5D87A}"
#usecom global IATSC_MGT IID_IATSC_MGT "{}"
#comfunc global IATSC_MGT_Initialize 3 sptr,sptr
#comfunc global IATSC_MGT_GetVersionNumber 4 sptr
#comfunc global IATSC_MGT_GetProtocolVersion 5 sptr
#comfunc global IATSC_MGT_GetCountOfRecords 6 sptr
#comfunc global IATSC_MGT_GetRecordType 7 int,sptr
#comfunc global IATSC_MGT_GetRecordTypePid 8 int,sptr
#comfunc global IATSC_MGT_GetRecordVersionNumber 9 int,sptr
#comfunc global IATSC_MGT_GetRecordCountOfDescriptors 10 int,sptr
#comfunc global IATSC_MGT_GetRecordDescriptorByIndex 11 int,int,sptr
#comfunc global IATSC_MGT_GetRecordDescriptorByTag 12 int,int,sptr,sptr
#comfunc global IATSC_MGT_GetCountOfTableDescriptors 13 sptr
#comfunc global IATSC_MGT_GetTableDescriptorByIndex 14 int,sptr
#comfunc global IATSC_MGT_GetTableDescriptorByTag 15 int,sptr,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。