#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IISDB_BIT "{537CD71E-0E46-4173-9001-BA043F3E49E2}"
#usecom global IISDB_BIT IID_IISDB_BIT "{}"
#comfunc global IISDB_BIT_Initialize 3 sptr,sptr
#comfunc global IISDB_BIT_GetVersionNumber 4 var
#comfunc global IISDB_BIT_GetOriginalNetworkId 5 var
#comfunc global IISDB_BIT_GetBroadcastViewPropriety 6 var
#comfunc global IISDB_BIT_GetCountOfTableDescriptors 7 var
#comfunc global IISDB_BIT_GetTableDescriptorByIndex 8 int,sptr
#comfunc global IISDB_BIT_GetTableDescriptorByTag 9 int,var,sptr
#comfunc global IISDB_BIT_GetCountOfRecords 10 var
#comfunc global IISDB_BIT_GetRecordBroadcasterId 11 int,var
#comfunc global IISDB_BIT_GetRecordCountOfDescriptors 12 int,var
#comfunc global IISDB_BIT_GetRecordDescriptorByIndex 13 int,int,sptr
#comfunc global IISDB_BIT_GetRecordDescriptorByTag 14 int,int,var,sptr
#comfunc global IISDB_BIT_GetVersionHash 15 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IISDB_BIT "{537CD71E-0E46-4173-9001-BA043F3E49E2}"
#usecom global IISDB_BIT IID_IISDB_BIT "{}"
#comfunc global IISDB_BIT_Initialize 3 sptr,sptr
#comfunc global IISDB_BIT_GetVersionNumber 4 sptr
#comfunc global IISDB_BIT_GetOriginalNetworkId 5 sptr
#comfunc global IISDB_BIT_GetBroadcastViewPropriety 6 sptr
#comfunc global IISDB_BIT_GetCountOfTableDescriptors 7 sptr
#comfunc global IISDB_BIT_GetTableDescriptorByIndex 8 int,sptr
#comfunc global IISDB_BIT_GetTableDescriptorByTag 9 int,sptr,sptr
#comfunc global IISDB_BIT_GetCountOfRecords 10 sptr
#comfunc global IISDB_BIT_GetRecordBroadcasterId 11 int,sptr
#comfunc global IISDB_BIT_GetRecordCountOfDescriptors 12 int,sptr
#comfunc global IISDB_BIT_GetRecordDescriptorByIndex 13 int,int,sptr
#comfunc global IISDB_BIT_GetRecordDescriptorByTag 14 int,int,sptr,sptr
#comfunc global IISDB_BIT_GetVersionHash 15 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。