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

IMSVidGraphSegmentContainer

COM
IID3dd2903d-e0aa-11d2-b63a-00c04f79498e継承元IUnknown自前メソッド開始 vtbl3

メソッド 11

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

vtbl 3 HRESULT get_Graph(IGraphBuilder** ppGraph)
ppGraphIGraphBuilder**outコンテナが管理するフィルターグラフのIGraphBuilderポインタを受け取る出力。
vtbl 4 HRESULT get_Input(IMSVidGraphSegment** ppInput)
ppInputIMSVidGraphSegment**out入力グラフセグメントのIMSVidGraphSegmentポインタを受け取る出力。
vtbl 5 HRESULT get_Outputs(IEnumMSVidGraphSegment** ppOutputs)
ppOutputsIEnumMSVidGraphSegment**out出力セグメント群を列挙するIEnumMSVidGraphSegmentポインタを受け取る出力。
vtbl 6 HRESULT get_VideoRenderer(IMSVidGraphSegment** ppVR)
ppVRIMSVidGraphSegment**outビデオレンダラーセグメントのIMSVidGraphSegmentポインタを受け取る出力。
vtbl 7 HRESULT get_AudioRenderer(IMSVidGraphSegment** ppAR)
ppARIMSVidGraphSegment**outオーディオレンダラーセグメントのIMSVidGraphSegmentポインタを受け取る出力。
vtbl 8 HRESULT get_Features(IEnumMSVidGraphSegment** ppFeatures)
ppFeaturesIEnumMSVidGraphSegment**out機能セグメント群を列挙するIEnumMSVidGraphSegmentポインタを受け取る出力。
vtbl 9 HRESULT get_Composites(IEnumMSVidGraphSegment** ppComposites)
ppCompositesIEnumMSVidGraphSegment**out合成セグメント群を列挙するIEnumMSVidGraphSegmentポインタを受け取る出力。
vtbl 10 HRESULT get_ParentContainer(IUnknown** ppContainer)
ppContainerIUnknown**out親コンテナのIUnknownポインタを受け取る出力。
vtbl 11 HRESULT Decompose(IMSVidGraphSegment* pSegment)
pSegmentIMSVidGraphSegment*inoptionalコンテナから分解・除去する対象のIMSVidGraphSegmentポインタ。
vtbl 12 HRESULT IsWindowless()
vtbl 13 HRESULT GetFocus()

HSP用 COM定義

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

#define global IID_IMSVidGraphSegmentContainer "{3DD2903D-E0AA-11D2-B63A-00C04F79498E}"
#usecom global IMSVidGraphSegmentContainer IID_IMSVidGraphSegmentContainer "{}"
#comfunc global IMSVidGraphSegmentContainer_get_Graph            3 sptr
#comfunc global IMSVidGraphSegmentContainer_get_Input            4 sptr
#comfunc global IMSVidGraphSegmentContainer_get_Outputs          5 sptr
#comfunc global IMSVidGraphSegmentContainer_get_VideoRenderer    6 sptr
#comfunc global IMSVidGraphSegmentContainer_get_AudioRenderer    7 sptr
#comfunc global IMSVidGraphSegmentContainer_get_Features         8 sptr
#comfunc global IMSVidGraphSegmentContainer_get_Composites       9 sptr
#comfunc global IMSVidGraphSegmentContainer_get_ParentContainer  10 sptr
#comfunc global IMSVidGraphSegmentContainer_Decompose            11 sptr
#comfunc global IMSVidGraphSegmentContainer_IsWindowless         12
#comfunc global IMSVidGraphSegmentContainer_GetFocus             13
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。