#define global IID_IVMRWindowlessControl "{0EB1088C-4DCD-46F0-878F-39DAE86A51B7}"
#usecom global IVMRWindowlessControl IID_IVMRWindowlessControl "{}"
#comfunc global IVMRWindowlessControl_GetNativeVideoSize 3 var,var,var,var
#comfunc global IVMRWindowlessControl_GetMinIdealVideoSize 4 var,var
#comfunc global IVMRWindowlessControl_GetMaxIdealVideoSize 5 var,var
#comfunc global IVMRWindowlessControl_SetVideoPosition 6 var,var
#comfunc global IVMRWindowlessControl_GetVideoPosition 7 var,var
#comfunc global IVMRWindowlessControl_GetAspectRatioMode 8 var
#comfunc global IVMRWindowlessControl_SetAspectRatioMode 9 int
#comfunc global IVMRWindowlessControl_SetVideoClippingWindow 10 sptr
#comfunc global IVMRWindowlessControl_RepaintVideo 11 sptr,sptr
#comfunc global IVMRWindowlessControl_DisplayModeChanged 12
#comfunc global IVMRWindowlessControl_GetCurrentImage 13 var
#comfunc global IVMRWindowlessControl_SetBorderColor 14 int
#comfunc global IVMRWindowlessControl_GetBorderColor 15 var
#comfunc global IVMRWindowlessControl_SetColorKey 16 int
#comfunc global IVMRWindowlessControl_GetColorKey 17 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IVMRWindowlessControl "{0EB1088C-4DCD-46F0-878F-39DAE86A51B7}"
#usecom global IVMRWindowlessControl IID_IVMRWindowlessControl "{}"
#comfunc global IVMRWindowlessControl_GetNativeVideoSize 3 sptr,sptr,sptr,sptr
#comfunc global IVMRWindowlessControl_GetMinIdealVideoSize 4 sptr,sptr
#comfunc global IVMRWindowlessControl_GetMaxIdealVideoSize 5 sptr,sptr
#comfunc global IVMRWindowlessControl_SetVideoPosition 6 sptr,sptr
#comfunc global IVMRWindowlessControl_GetVideoPosition 7 sptr,sptr
#comfunc global IVMRWindowlessControl_GetAspectRatioMode 8 sptr
#comfunc global IVMRWindowlessControl_SetAspectRatioMode 9 int
#comfunc global IVMRWindowlessControl_SetVideoClippingWindow 10 sptr
#comfunc global IVMRWindowlessControl_RepaintVideo 11 sptr,sptr
#comfunc global IVMRWindowlessControl_DisplayModeChanged 12
#comfunc global IVMRWindowlessControl_GetCurrentImage 13 sptr
#comfunc global IVMRWindowlessControl_SetBorderColor 14 int
#comfunc global IVMRWindowlessControl_GetBorderColor 15 sptr
#comfunc global IVMRWindowlessControl_SetColorKey 16 int
#comfunc global IVMRWindowlessControl_GetColorKey 17 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。