#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IAMPlayListItem "{56A868FF-0AD4-11CE-B03A-0020AF0BA770}"
#usecom global IAMPlayListItem IID_IAMPlayListItem "{}"
#comfunc global IAMPlayListItem_GetFlags 3 var
#comfunc global IAMPlayListItem_GetSourceCount 4 var
#comfunc global IAMPlayListItem_GetSourceURL 5 int,var
#comfunc global IAMPlayListItem_GetSourceStart 6 int,var
#comfunc global IAMPlayListItem_GetSourceDuration 7 int,var
#comfunc global IAMPlayListItem_GetSourceStartMarker 8 int,var
#comfunc global IAMPlayListItem_GetSourceEndMarker 9 int,var
#comfunc global IAMPlayListItem_GetSourceStartMarkerName 10 int,var
#comfunc global IAMPlayListItem_GetSourceEndMarkerName 11 int,var
#comfunc global IAMPlayListItem_GetLinkURL 12 var
#comfunc global IAMPlayListItem_GetScanDuration 13 int,var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。#define global IID_IAMPlayListItem "{56A868FF-0AD4-11CE-B03A-0020AF0BA770}"
#usecom global IAMPlayListItem IID_IAMPlayListItem "{}"
#comfunc global IAMPlayListItem_GetFlags 3 sptr
#comfunc global IAMPlayListItem_GetSourceCount 4 sptr
#comfunc global IAMPlayListItem_GetSourceURL 5 int,sptr
#comfunc global IAMPlayListItem_GetSourceStart 6 int,sptr
#comfunc global IAMPlayListItem_GetSourceDuration 7 int,sptr
#comfunc global IAMPlayListItem_GetSourceStartMarker 8 int,sptr
#comfunc global IAMPlayListItem_GetSourceEndMarker 9 int,sptr
#comfunc global IAMPlayListItem_GetSourceStartMarkerName 10 int,sptr
#comfunc global IAMPlayListItem_GetSourceEndMarkerName 11 int,sptr
#comfunc global IAMPlayListItem_GetLinkURL 12 sptr
#comfunc global IAMPlayListItem_GetScanDuration 13 int,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。