ホーム › Media.DirectShow › IDistributorNotify
IDistributorNotify
COMメソッド 5
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 3 HRESULT Stop()
vtbl 4 HRESULT Pause()
| tStart | LONGLONG | in | 実行開始の基準時刻(REFERENCE_TIME、100ナノ秒単位)。 |
vtbl 6 HRESULT SetSyncSource(IReferenceClock* pClock)
| pClock | IReferenceClock* | in | 通知に用いる基準クロックを指定する。NULL可。 |
vtbl 7 HRESULT NotifyGraphChange()
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
#define global IID_IDistributorNotify "{56A868AF-0AD4-11CE-B03A-0020AF0BA770}"
#usecom global IDistributorNotify IID_IDistributorNotify "{}"
#comfunc global IDistributorNotify_Stop 3
#comfunc global IDistributorNotify_Pause 4
#comfunc global IDistributorNotify_Run 5 int64
#comfunc global IDistributorNotify_SetSyncSource 6 sptr
#comfunc global IDistributorNotify_NotifyGraphChange 7
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。