#define global IID_IDXGIDecodeSwapChain "{2633066B-4514-4C7A-8FD8-12EA98059D18}"
#usecom global IDXGIDecodeSwapChain IID_IDXGIDecodeSwapChain "{}"
#comfunc global IDXGIDecodeSwapChain_PresentBuffer 3 int,int,int
#comfunc global IDXGIDecodeSwapChain_SetSourceRect 4 var
#comfunc global IDXGIDecodeSwapChain_SetTargetRect 5 var
#comfunc global IDXGIDecodeSwapChain_SetDestSize 6 int,int
#comfunc global IDXGIDecodeSwapChain_GetSourceRect 7 var
#comfunc global IDXGIDecodeSwapChain_GetTargetRect 8 var
#comfunc global IDXGIDecodeSwapChain_GetDestSize 9 var,var
#comfunc global IDXGIDecodeSwapChain_SetColorSpace 10 int
#comfunc global IDXGIDecodeSwapChain_GetColorSpace 11
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。#define global IID_IDXGIDecodeSwapChain "{2633066B-4514-4C7A-8FD8-12EA98059D18}"
#usecom global IDXGIDecodeSwapChain IID_IDXGIDecodeSwapChain "{}"
#comfunc global IDXGIDecodeSwapChain_PresentBuffer 3 int,int,int
#comfunc global IDXGIDecodeSwapChain_SetSourceRect 4 sptr
#comfunc global IDXGIDecodeSwapChain_SetTargetRect 5 sptr
#comfunc global IDXGIDecodeSwapChain_SetDestSize 6 int,int
#comfunc global IDXGIDecodeSwapChain_GetSourceRect 7 sptr
#comfunc global IDXGIDecodeSwapChain_GetTargetRect 8 sptr
#comfunc global IDXGIDecodeSwapChain_GetDestSize 9 sptr,sptr
#comfunc global IDXGIDecodeSwapChain_SetColorSpace 10 int
#comfunc global IDXGIDecodeSwapChain_GetColorSpace 11
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。