ホーム › Media.DirectShow.Tv › IDVBTLocator
IDVBTLocator
COMIDispatch (デュアル)✅ IDispatch を実装(デュアルインターフェース)。HSP では
comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。メソッド 14
vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。
| BandWidthVal | INT* | out | チャンネル帯域幅(MHz)を返すINTの受け取りポインタ。-1で無指定。 |
| BandwidthVal | INT | in | 設定するチャンネル帯域幅(MHz)。-1で無指定を表す。 |
| FEC | FECMethod* | out | 低優先ストリームの内側FEC方式(FECMethod列挙)を返す受け取りポインタ。 |
| FEC | FECMethod | in | 設定する低優先ストリームの内側FEC方式(FECMethod列挙)。 |
vtbl 26 HRESULT get_LPInnerFECRate(BinaryConvolutionCodeRate* FEC)
| FEC | BinaryConvolutionCodeRate* | out | 低優先ストリームの内側FEC符号化率(BinaryConvolutionCodeRate列挙)を返す受け取りポインタ。 |
vtbl 27 HRESULT put_LPInnerFECRate(BinaryConvolutionCodeRate FEC)
| FEC | BinaryConvolutionCodeRate | in | 設定する低優先ストリームの内側FEC符号化率(BinaryConvolutionCodeRate列挙)。 |
vtbl 28 HRESULT get_HAlpha(HierarchyAlpha* Alpha)
| Alpha | HierarchyAlpha* | out | 階層変調のα値(HierarchyAlpha列挙)を返す受け取りポインタ。 |
vtbl 29 HRESULT put_HAlpha(HierarchyAlpha Alpha)
| Alpha | HierarchyAlpha | in | 設定する階層変調のα値(HierarchyAlpha列挙)。 |
vtbl 30 HRESULT get_Guard(GuardInterval* GI)
| GI | GuardInterval* | out | ガードインターバル(GuardInterval列挙)を返す受け取りポインタ。 |
vtbl 31 HRESULT put_Guard(GuardInterval GI)
| GI | GuardInterval | in | 設定するガードインターバル(GuardInterval列挙)。 |
vtbl 32 HRESULT get_Mode(TransmissionMode* mode)
| mode | TransmissionMode* | out | 伝送モード(TransmissionMode列挙、2K/8K等)を返す受け取りポインタ。 |
vtbl 33 HRESULT put_Mode(TransmissionMode mode)
| mode | TransmissionMode | in | 設定する伝送モード(TransmissionMode列挙)。 |
vtbl 34 HRESULT get_OtherFrequencyInUse(VARIANT_BOOL* OtherFrequencyInUseVal)
| OtherFrequencyInUseVal | VARIANT_BOOL* | out | 他周波数の使用有無を返すVARIANT_BOOLの受け取りポインタ。VARIANT_TRUEで使用中。 |
vtbl 35 HRESULT put_OtherFrequencyInUse(VARIANT_BOOL OtherFrequencyInUseVal)
| OtherFrequencyInUseVal | VARIANT_BOOL | in | 設定する他周波数使用有無(VARIANT_BOOL)。VARIANT_TRUEで使用中とする。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IDVBTLocator "{8664DA16-DDA2-42AC-926A-C18F9127C302}" #usecom global IDVBTLocator IID_IDVBTLocator "{9CD64701-BDF3-4D14-8E03-F12983D86664}" #comfunc global IDVBTLocator_get_Bandwidth 22 var #comfunc global IDVBTLocator_put_Bandwidth 23 int #comfunc global IDVBTLocator_get_LPInnerFEC 24 var #comfunc global IDVBTLocator_put_LPInnerFEC 25 int #comfunc global IDVBTLocator_get_LPInnerFECRate 26 var #comfunc global IDVBTLocator_put_LPInnerFECRate 27 int #comfunc global IDVBTLocator_get_HAlpha 28 var #comfunc global IDVBTLocator_put_HAlpha 29 int #comfunc global IDVBTLocator_get_Guard 30 var #comfunc global IDVBTLocator_put_Guard 31 int #comfunc global IDVBTLocator_get_Mode 32 var #comfunc global IDVBTLocator_put_Mode 33 int #comfunc global IDVBTLocator_get_OtherFrequencyInUse 34 var #comfunc global IDVBTLocator_put_OtherFrequencyInUse 35 int ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。 ; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。 ; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_IDVBTLocator "{8664DA16-DDA2-42AC-926A-C18F9127C302}" #usecom global IDVBTLocator IID_IDVBTLocator "{9CD64701-BDF3-4D14-8E03-F12983D86664}" #comfunc global IDVBTLocator_get_Bandwidth 22 sptr #comfunc global IDVBTLocator_put_Bandwidth 23 int #comfunc global IDVBTLocator_get_LPInnerFEC 24 sptr #comfunc global IDVBTLocator_put_LPInnerFEC 25 int #comfunc global IDVBTLocator_get_LPInnerFECRate 26 sptr #comfunc global IDVBTLocator_put_LPInnerFECRate 27 int #comfunc global IDVBTLocator_get_HAlpha 28 sptr #comfunc global IDVBTLocator_put_HAlpha 29 int #comfunc global IDVBTLocator_get_Guard 30 sptr #comfunc global IDVBTLocator_put_Guard 31 int #comfunc global IDVBTLocator_get_Mode 32 sptr #comfunc global IDVBTLocator_put_Mode 33 int #comfunc global IDVBTLocator_get_OtherFrequencyInUse 34 sptr #comfunc global IDVBTLocator_put_OtherFrequencyInUse 35 int ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。 ; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。