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

IBasicVideo

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

メソッド 32

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

vtblメソッド
7HRESULT get_AvgTimePerFrame(DOUBLE* pAvgTimePerFrame)
8HRESULT get_BitRate(INT* pBitRate)
9HRESULT get_BitErrorRate(INT* pBitErrorRate)
10HRESULT get_VideoWidth(INT* pVideoWidth)
11HRESULT get_VideoHeight(INT* pVideoHeight)
12HRESULT put_SourceLeft(INT SourceLeft)
13HRESULT get_SourceLeft(INT* pSourceLeft)
14HRESULT put_SourceWidth(INT SourceWidth)
15HRESULT get_SourceWidth(INT* pSourceWidth)
16HRESULT put_SourceTop(INT SourceTop)
17HRESULT get_SourceTop(INT* pSourceTop)
18HRESULT put_SourceHeight(INT SourceHeight)
19HRESULT get_SourceHeight(INT* pSourceHeight)
20HRESULT put_DestinationLeft(INT DestinationLeft)
21HRESULT get_DestinationLeft(INT* pDestinationLeft)
22HRESULT put_DestinationWidth(INT DestinationWidth)
23HRESULT get_DestinationWidth(INT* pDestinationWidth)
24HRESULT put_DestinationTop(INT DestinationTop)
25HRESULT get_DestinationTop(INT* pDestinationTop)
26HRESULT put_DestinationHeight(INT DestinationHeight)
27HRESULT get_DestinationHeight(INT* pDestinationHeight)
28HRESULT SetSourcePosition(INT Left, INT Top, INT Width, INT Height)
29HRESULT GetSourcePosition(INT* pLeft, INT* pTop, INT* pWidth, INT* pHeight)
30HRESULT SetDefaultSourcePosition()
31HRESULT SetDestinationPosition(INT Left, INT Top, INT Width, INT Height)
32HRESULT GetDestinationPosition(INT* pLeft, INT* pTop, INT* pWidth, INT* pHeight)
33HRESULT SetDefaultDestinationPosition()
34HRESULT GetVideoSize(INT* pWidth, INT* pHeight)
35HRESULT GetVideoPaletteEntries(INT StartIndex, INT Entries, INT* pRetrieved, INT* pPalette)
36HRESULT GetCurrentImage(INT* pBufferSize, INT* pDIBImage)
37HRESULT IsUsingDefaultSource()
38HRESULT IsUsingDefaultDestination()