#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IVMRWindowlessControl9 "{8F537D09-F85E-4414-B23B-502E54C79927}"
#usecom global IVMRWindowlessControl9 IID_IVMRWindowlessControl9 "{}"
#comfunc global IVMRWindowlessControl9_GetNativeVideoSize 3 var,var,var,var
#comfunc global IVMRWindowlessControl9_GetMinIdealVideoSize 4 var,var
#comfunc global IVMRWindowlessControl9_GetMaxIdealVideoSize 5 var,var
#comfunc global IVMRWindowlessControl9_SetVideoPosition 6 var,var
#comfunc global IVMRWindowlessControl9_GetVideoPosition 7 var,var
#comfunc global IVMRWindowlessControl9_GetAspectRatioMode 8 var
#comfunc global IVMRWindowlessControl9_SetAspectRatioMode 9 int
#comfunc global IVMRWindowlessControl9_SetVideoClippingWindow 10 sptr
#comfunc global IVMRWindowlessControl9_RepaintVideo 11 sptr,sptr
#comfunc global IVMRWindowlessControl9_DisplayModeChanged 12
#comfunc global IVMRWindowlessControl9_GetCurrentImage 13 var
#comfunc global IVMRWindowlessControl9_SetBorderColor 14 int
#comfunc global IVMRWindowlessControl9_GetBorderColor 15 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IVMRWindowlessControl9 "{8F537D09-F85E-4414-B23B-502E54C79927}"
#usecom global IVMRWindowlessControl9 IID_IVMRWindowlessControl9 "{}"
#comfunc global IVMRWindowlessControl9_GetNativeVideoSize 3 sptr,sptr,sptr,sptr
#comfunc global IVMRWindowlessControl9_GetMinIdealVideoSize 4 sptr,sptr
#comfunc global IVMRWindowlessControl9_GetMaxIdealVideoSize 5 sptr,sptr
#comfunc global IVMRWindowlessControl9_SetVideoPosition 6 sptr,sptr
#comfunc global IVMRWindowlessControl9_GetVideoPosition 7 sptr,sptr
#comfunc global IVMRWindowlessControl9_GetAspectRatioMode 8 sptr
#comfunc global IVMRWindowlessControl9_SetAspectRatioMode 9 int
#comfunc global IVMRWindowlessControl9_SetVideoClippingWindow 10 sptr
#comfunc global IVMRWindowlessControl9_RepaintVideo 11 sptr,sptr
#comfunc global IVMRWindowlessControl9_DisplayModeChanged 12
#comfunc global IVMRWindowlessControl9_GetCurrentImage 13 sptr
#comfunc global IVMRWindowlessControl9_SetBorderColor 14 int
#comfunc global IVMRWindowlessControl9_GetBorderColor 15 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。