#define global IID_IDirectDrawVideo "{36D39EB0-DD75-11CE-BF0E-00AA0055595A}"
#usecom global IDirectDrawVideo IID_IDirectDrawVideo "{}"
#comfunc global IDirectDrawVideo_GetSwitches 3 var
#comfunc global IDirectDrawVideo_SetSwitches 4 int
#comfunc global IDirectDrawVideo_GetCaps 5 var
#comfunc global IDirectDrawVideo_GetEmulatedCaps 6 var
#comfunc global IDirectDrawVideo_GetSurfaceDesc 7 var
#comfunc global IDirectDrawVideo_GetFourCCCodes 8 var,var
#comfunc global IDirectDrawVideo_SetDirectDraw 9 sptr
#comfunc global IDirectDrawVideo_GetDirectDraw 10 sptr
#comfunc global IDirectDrawVideo_GetSurfaceType 11 var
#comfunc global IDirectDrawVideo_SetDefault 12
#comfunc global IDirectDrawVideo_UseScanLine 13 int
#comfunc global IDirectDrawVideo_CanUseScanLine 14 var
#comfunc global IDirectDrawVideo_UseOverlayStretch 15 int
#comfunc global IDirectDrawVideo_CanUseOverlayStretch 16 var
#comfunc global IDirectDrawVideo_UseWhenFullScreen 17 int
#comfunc global IDirectDrawVideo_WillUseFullScreen 18 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IDirectDrawVideo "{36D39EB0-DD75-11CE-BF0E-00AA0055595A}"
#usecom global IDirectDrawVideo IID_IDirectDrawVideo "{}"
#comfunc global IDirectDrawVideo_GetSwitches 3 sptr
#comfunc global IDirectDrawVideo_SetSwitches 4 int
#comfunc global IDirectDrawVideo_GetCaps 5 sptr
#comfunc global IDirectDrawVideo_GetEmulatedCaps 6 sptr
#comfunc global IDirectDrawVideo_GetSurfaceDesc 7 sptr
#comfunc global IDirectDrawVideo_GetFourCCCodes 8 sptr,sptr
#comfunc global IDirectDrawVideo_SetDirectDraw 9 sptr
#comfunc global IDirectDrawVideo_GetDirectDraw 10 sptr
#comfunc global IDirectDrawVideo_GetSurfaceType 11 sptr
#comfunc global IDirectDrawVideo_SetDefault 12
#comfunc global IDirectDrawVideo_UseScanLine 13 int
#comfunc global IDirectDrawVideo_CanUseScanLine 14 sptr
#comfunc global IDirectDrawVideo_UseOverlayStretch 15 int
#comfunc global IDirectDrawVideo_CanUseOverlayStretch 16 sptr
#comfunc global IDirectDrawVideo_UseWhenFullScreen 17 int
#comfunc global IDirectDrawVideo_WillUseFullScreen 18 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。