ホーム › Media.DirectShow.Tv › IMSVidStreamBufferRecordingControl
IMSVidStreamBufferRecordingControl
COMIDispatch (デュアル)✅ IDispatch を実装(デュアルインターフェース)。HSP では
comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。メソッド 8
vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。
| rtStart | INT* | out | 録画の開始基準時刻を受け取る出力先。100ナノ秒単位の参照時間。 |
| rtStart | INT | in | 設定する録画の開始基準時刻。100ナノ秒単位の参照時間で指定する。 |
| rtStop | INT* | out | 録画の停止基準時刻を受け取る出力先。100ナノ秒単位の参照時間。 |
| rtStop | INT | in | 設定する録画の停止基準時刻。100ナノ秒単位の参照時間で指定する。 |
vtbl 11 HRESULT get_RecordingStopped(VARIANT_BOOL* phResult)
| phResult | VARIANT_BOOL* | out | 録画が停止済みかどうかを受け取る真偽値の出力先。 |
vtbl 12 HRESULT get_RecordingStarted(VARIANT_BOOL* phResult)
| phResult | VARIANT_BOOL* | out | 録画が開始済みかどうかを受け取る真偽値の出力先。 |
vtbl 13 HRESULT get_RecordingType(RecordingType* dwType)
| dwType | RecordingType* | out | 録画の種別(コンテンツ録画/参照録画等)を受け取る出力先。RecordingType型。 |
| pRecordingAttribute | IUnknown** | out | 録画の属性を設定/取得するインターフェイス(IUnknown)を受け取る出力先。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IMSVidStreamBufferRecordingControl "{160621AA-BBBC-4326-A824-C395AEBC6E74}" #usecom global IMSVidStreamBufferRecordingControl IID_IMSVidStreamBufferRecordingControl "{CAAFDD83-CEFC-4E3D-BA03-175F17A24F91}" #comfunc global IMSVidStreamBufferRecordingControl_get_StartTime 7 var #comfunc global IMSVidStreamBufferRecordingControl_put_StartTime 8 int #comfunc global IMSVidStreamBufferRecordingControl_get_StopTime 9 var #comfunc global IMSVidStreamBufferRecordingControl_put_StopTime 10 int #comfunc global IMSVidStreamBufferRecordingControl_get_RecordingStopped 11 var #comfunc global IMSVidStreamBufferRecordingControl_get_RecordingStarted 12 var #comfunc global IMSVidStreamBufferRecordingControl_get_RecordingType 13 var #comfunc global IMSVidStreamBufferRecordingControl_get_RecordingAttribute 14 sptr ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。 ; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。 ; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_IMSVidStreamBufferRecordingControl "{160621AA-BBBC-4326-A824-C395AEBC6E74}" #usecom global IMSVidStreamBufferRecordingControl IID_IMSVidStreamBufferRecordingControl "{CAAFDD83-CEFC-4E3D-BA03-175F17A24F91}" #comfunc global IMSVidStreamBufferRecordingControl_get_StartTime 7 sptr #comfunc global IMSVidStreamBufferRecordingControl_put_StartTime 8 int #comfunc global IMSVidStreamBufferRecordingControl_get_StopTime 9 sptr #comfunc global IMSVidStreamBufferRecordingControl_put_StopTime 10 int #comfunc global IMSVidStreamBufferRecordingControl_get_RecordingStopped 11 sptr #comfunc global IMSVidStreamBufferRecordingControl_get_RecordingStarted 12 sptr #comfunc global IMSVidStreamBufferRecordingControl_get_RecordingType 13 sptr #comfunc global IMSVidStreamBufferRecordingControl_get_RecordingAttribute 14 sptr ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。 ; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。