ホーム › Media.DirectShow.Tv › IMSVidGraphSegmentUserInput
IMSVidGraphSegmentUserInput
COMメソッド 8
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 3 HRESULT Click()
vtbl 4 HRESULT DblClick()
| KeyCode | SHORT* | in | 押下された仮想キーコード。参照渡しのSHORTで処理後に変更可。 |
| ShiftState | SHORT | in | Shift/Ctrl/Altの修飾キー状態を表すSHORTビットフラグ。 |
| KeyAscii | SHORT* | in | 入力された文字のASCIIコード。参照渡しのSHORTで処理後に変更可。 |
| KeyCode | SHORT* | in | 離された仮想キーコード。参照渡しのSHORTで処理後に変更可。 |
| ShiftState | SHORT | in | Shift/Ctrl/Altの修飾キー状態を表すSHORTビットフラグ。 |
| ButtonState | SHORT | in | 押下されたマウスボタンの状態を表すSHORTビットフラグ。 |
| ShiftState | SHORT | in | 修飾キーの状態を表すSHORTビットフラグ。 |
| x | INT | in | マウスのX座標。単位はピクセルのINT。 |
| y | INT | in | マウスのY座標。単位はピクセルのINT。 |
| ButtonState | SHORT | in | 移動中に押されているマウスボタンの状態を表すSHORTビットフラグ。 |
| ShiftState | SHORT | in | 修飾キーの状態を表すSHORTビットフラグ。 |
| x | INT | in | マウスのX座標。単位はピクセルのINT。 |
| y | INT | in | マウスのY座標。単位はピクセルのINT。 |
| ButtonState | SHORT | in | 離されたマウスボタンの状態を表すSHORTビットフラグ。 |
| ShiftState | SHORT | in | 修飾キーの状態を表すSHORTビットフラグ。 |
| x | INT | in | マウスのX座標。単位はピクセルのINT。 |
| y | INT | in | マウスのY座標。単位はピクセルのINT。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IMSVidGraphSegmentUserInput "{301C060E-20D9-4587-9B03-F82ED9A9943C}" #usecom global IMSVidGraphSegmentUserInput IID_IMSVidGraphSegmentUserInput "{}" #comfunc global IMSVidGraphSegmentUserInput_Click 3 #comfunc global IMSVidGraphSegmentUserInput_DblClick 4 #comfunc global IMSVidGraphSegmentUserInput_KeyDown 5 var,int #comfunc global IMSVidGraphSegmentUserInput_KeyPress 6 var #comfunc global IMSVidGraphSegmentUserInput_KeyUp 7 var,int #comfunc global IMSVidGraphSegmentUserInput_MouseDown 8 int,int,int,int #comfunc global IMSVidGraphSegmentUserInput_MouseMove 9 int,int,int,int #comfunc global IMSVidGraphSegmentUserInput_MouseUp 10 int,int,int,int ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。#define global IID_IMSVidGraphSegmentUserInput "{301C060E-20D9-4587-9B03-F82ED9A9943C}" #usecom global IMSVidGraphSegmentUserInput IID_IMSVidGraphSegmentUserInput "{}" #comfunc global IMSVidGraphSegmentUserInput_Click 3 #comfunc global IMSVidGraphSegmentUserInput_DblClick 4 #comfunc global IMSVidGraphSegmentUserInput_KeyDown 5 sptr,int #comfunc global IMSVidGraphSegmentUserInput_KeyPress 6 sptr #comfunc global IMSVidGraphSegmentUserInput_KeyUp 7 sptr,int #comfunc global IMSVidGraphSegmentUserInput_MouseDown 8 int,int,int,int #comfunc global IMSVidGraphSegmentUserInput_MouseMove 9 int,int,int,int #comfunc global IMSVidGraphSegmentUserInput_MouseUp 10 int,int,int,int ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。