ホーム › Media.DirectShow.Tv › IComponent
IComponent
COMIDispatch (デュアル)✅ IDispatch を実装(デュアルインターフェース)。HSP では
comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。メソッド 9
vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。
| vtbl | メソッド |
|---|---|
| 7 | HRESULT get_Type(IComponentType** CT) |
| 8 | HRESULT put_Type(IComponentType* CT) |
| 9 | HRESULT get_DescLangID(INT* LangID) |
| 10 | HRESULT put_DescLangID(INT LangID) |
| 11 | HRESULT get_Status(ComponentStatus* Status) |
| 12 | HRESULT put_Status(ComponentStatus Status) |
| 13 | HRESULT get_Description(LPWSTR* Description) |
| 14 | HRESULT put_Description(LPWSTR Description) |
| 15 | HRESULT Clone(IComponent** NewComponent) |