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

IComponentType

COMIDispatch (デュアル)
IDispatch を実装(デュアルインターフェース)。HSP では comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。
IID6a340dc0-0311-11d3-9d8e-00c04f72d980継承元IDispatch呼び出し名前(IDispatch) または vtbl自前メソッド開始 vtbl7

メソッド 17

vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。

vtblメソッド
7HRESULT get_Category(ComponentCategory* Category)
8HRESULT put_Category(ComponentCategory Category)
9HRESULT get_MediaMajorType(LPWSTR* MediaMajorType)
10HRESULT put_MediaMajorType(LPWSTR MediaMajorType)
11HRESULT get__MediaMajorType(GUID* MediaMajorTypeGuid)
12HRESULT put__MediaMajorType(GUID* MediaMajorTypeGuid)
13HRESULT get_MediaSubType(LPWSTR* MediaSubType)
14HRESULT put_MediaSubType(LPWSTR MediaSubType)
15HRESULT get__MediaSubType(GUID* MediaSubTypeGuid)
16HRESULT put__MediaSubType(GUID* MediaSubTypeGuid)
17HRESULT get_MediaFormatType(LPWSTR* MediaFormatType)
18HRESULT put_MediaFormatType(LPWSTR MediaFormatType)
19HRESULT get__MediaFormatType(GUID* MediaFormatTypeGuid)
20HRESULT put__MediaFormatType(GUID* MediaFormatTypeGuid)
21HRESULT get_MediaType(AM_MEDIA_TYPE* MediaType)
22HRESULT put_MediaType(AM_MEDIA_TYPE* MediaType)
23HRESULT Clone(IComponentType** NewCT)