#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IDvbSubtitlingDescriptor "{9B25FE1D-FA23-4E50-9784-6DF8B26F8A49}"
#usecom global IDvbSubtitlingDescriptor IID_IDvbSubtitlingDescriptor "{}"
#comfunc global IDvbSubtitlingDescriptor_GetTag 3 var
#comfunc global IDvbSubtitlingDescriptor_GetLength 4 var
#comfunc global IDvbSubtitlingDescriptor_GetCountOfRecords 5 var
#comfunc global IDvbSubtitlingDescriptor_GetRecordLangId 6 int,var
#comfunc global IDvbSubtitlingDescriptor_GetRecordSubtitlingType 7 int,var
#comfunc global IDvbSubtitlingDescriptor_GetRecordCompositionPageID 8 int,var
#comfunc global IDvbSubtitlingDescriptor_GetRecordAncillaryPageID 9 int,var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。#define global IID_IDvbSubtitlingDescriptor "{9B25FE1D-FA23-4E50-9784-6DF8B26F8A49}"
#usecom global IDvbSubtitlingDescriptor IID_IDvbSubtitlingDescriptor "{}"
#comfunc global IDvbSubtitlingDescriptor_GetTag 3 sptr
#comfunc global IDvbSubtitlingDescriptor_GetLength 4 sptr
#comfunc global IDvbSubtitlingDescriptor_GetCountOfRecords 5 sptr
#comfunc global IDvbSubtitlingDescriptor_GetRecordLangId 6 int,sptr
#comfunc global IDvbSubtitlingDescriptor_GetRecordSubtitlingType 7 int,sptr
#comfunc global IDvbSubtitlingDescriptor_GetRecordCompositionPageID 8 int,sptr
#comfunc global IDvbSubtitlingDescriptor_GetRecordAncillaryPageID 9 int,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。