Win32 API 日本語リファレンス
ホームMedia.DirectShow.Tv › IMSVidVRGraphSegment

IMSVidVRGraphSegment

COM
IIDdd47de3f-9874-4f7b-8b22-7cb2688461e7継承元IMSVidGraphSegment自前メソッド開始 vtbl19

メソッド 21

vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。

vtbl 19 HRESULT put__VMRendererMode(INT dwMode)
dwModeINTinビデオミキシングレンダラー(VMR)の動作モードを指定するINT。
vtbl 20 HRESULT put_Owner(HWND Window)
WindowHWNDinレンダリング出力先となる所有者ウィンドウのHWND。
vtbl 21 HRESULT get_Owner(HWND* Window)
WindowHWND*out現在の所有者ウィンドウのHWNDを受け取る出力。
vtbl 22 HRESULT get_UseOverlay(VARIANT_BOOL* UseOverlayVal)
UseOverlayValVARIANT_BOOL*outオーバーレイ表示を使用するかを受け取るVARIANT_BOOL出力。
vtbl 23 HRESULT put_UseOverlay(VARIANT_BOOL UseOverlayVal)
UseOverlayValVARIANT_BOOLinオーバーレイ表示を使用するか。VARIANT_TRUEで使用を指定するVARIANT_BOOL。
vtbl 24 HRESULT get_Visible(VARIANT_BOOL* Visible)
VisibleVARIANT_BOOL*out映像が表示中かを受け取るVARIANT_BOOL出力。
vtbl 25 HRESULT put_Visible(VARIANT_BOOL Visible)
VisibleVARIANT_BOOLin映像の表示/非表示を指定するVARIANT_BOOL。VARIANT_TRUEで表示。
vtbl 26 HRESULT get_ColorKey(DWORD* ColorKey)
ColorKeyDWORD*outオーバーレイのカラーキーRGB値を受け取るDWORD出力。
vtbl 27 HRESULT put_ColorKey(DWORD ColorKey)
ColorKeyDWORDinオーバーレイで透過に使うカラーキーRGB値。DWORDで指定する。
vtbl 28 HRESULT get_Source(RECT* r)
rRECT*outソース映像の切り出し矩形を受け取るRECT出力。
vtbl 29 HRESULT put_Source(RECT r)
rRECTinソース映像から切り出す矩形を指定するRECT。
vtbl 30 HRESULT get_Destination(RECT* r)
rRECT*out表示先の矩形を受け取るRECT出力。
vtbl 31 HRESULT put_Destination(RECT r)
rRECTin映像を表示する宛先矩形を指定するRECT。
vtbl 32 HRESULT get_NativeSize(SIZE* sizeval, SIZE* aspectratio)
sizevalSIZE*out映像本来のサイズを受け取るSIZE出力。
aspectratioSIZE*out映像のアスペクト比を受け取るSIZE出力。
vtbl 33 HRESULT get_BorderColor(DWORD* color)
colorDWORD*out余白部分の境界色RGB値を受け取るDWORD出力。
vtbl 34 HRESULT put_BorderColor(DWORD color)
colorDWORDin余白部分に描画する境界色RGB値。DWORDで指定する。
vtbl 35 HRESULT get_MaintainAspectRatio(VARIANT_BOOL* fMaintain)
fMaintainVARIANT_BOOL*outアスペクト比を維持するかを受け取るVARIANT_BOOL出力。
vtbl 36 HRESULT put_MaintainAspectRatio(VARIANT_BOOL fMaintain)
fMaintainVARIANT_BOOLinアスペクト比を維持するか。VARIANT_TRUEで維持を指定するVARIANT_BOOL。
vtbl 37 HRESULT Refresh()
vtbl 38 HRESULT DisplayChange()
vtbl 39 HRESULT RePaint(HDC hdc)
hdcHDCin再描画先のデバイスコンテキストHDC。

HSP用 COM定義

#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"

出力引数:
#define global IID_IMSVidVRGraphSegment "{DD47DE3F-9874-4F7B-8B22-7CB2688461E7}"
#usecom global IMSVidVRGraphSegment IID_IMSVidVRGraphSegment "{}"
#comfunc global IMSVidVRGraphSegment_put__VMRendererMode      19 int
#comfunc global IMSVidVRGraphSegment_put_Owner                20 sptr
#comfunc global IMSVidVRGraphSegment_get_Owner                21 sptr
#comfunc global IMSVidVRGraphSegment_get_UseOverlay           22 var
#comfunc global IMSVidVRGraphSegment_put_UseOverlay           23 int
#comfunc global IMSVidVRGraphSegment_get_Visible              24 var
#comfunc global IMSVidVRGraphSegment_put_Visible              25 int
#comfunc global IMSVidVRGraphSegment_get_ColorKey             26 var
#comfunc global IMSVidVRGraphSegment_put_ColorKey             27 int
#comfunc global IMSVidVRGraphSegment_get_Source               28 var
#comfunc global IMSVidVRGraphSegment_put_Source               29 int
#comfunc global IMSVidVRGraphSegment_get_Destination          30 var
#comfunc global IMSVidVRGraphSegment_put_Destination          31 int
#comfunc global IMSVidVRGraphSegment_get_NativeSize           32 var,var
#comfunc global IMSVidVRGraphSegment_get_BorderColor          33 var
#comfunc global IMSVidVRGraphSegment_put_BorderColor          34 int
#comfunc global IMSVidVRGraphSegment_get_MaintainAspectRatio  35 var
#comfunc global IMSVidVRGraphSegment_put_MaintainAspectRatio  36 int
#comfunc global IMSVidVRGraphSegment_Refresh                  37
#comfunc global IMSVidVRGraphSegment_DisplayChange            38
#comfunc global IMSVidVRGraphSegment_RePaint                  39 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。