ホーム › Media.DirectShow › IBasicVideo
IBasicVideo
COMIDispatch (デュアル)✅ IDispatch を実装(デュアルインターフェース)。HSP では
comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。メソッド 32
vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。
| vtbl | メソッド |
|---|---|
| 7 | HRESULT get_AvgTimePerFrame(DOUBLE* pAvgTimePerFrame) |
| 8 | HRESULT get_BitRate(INT* pBitRate) |
| 9 | HRESULT get_BitErrorRate(INT* pBitErrorRate) |
| 10 | HRESULT get_VideoWidth(INT* pVideoWidth) |
| 11 | HRESULT get_VideoHeight(INT* pVideoHeight) |
| 12 | HRESULT put_SourceLeft(INT SourceLeft) |
| 13 | HRESULT get_SourceLeft(INT* pSourceLeft) |
| 14 | HRESULT put_SourceWidth(INT SourceWidth) |
| 15 | HRESULT get_SourceWidth(INT* pSourceWidth) |
| 16 | HRESULT put_SourceTop(INT SourceTop) |
| 17 | HRESULT get_SourceTop(INT* pSourceTop) |
| 18 | HRESULT put_SourceHeight(INT SourceHeight) |
| 19 | HRESULT get_SourceHeight(INT* pSourceHeight) |
| 20 | HRESULT put_DestinationLeft(INT DestinationLeft) |
| 21 | HRESULT get_DestinationLeft(INT* pDestinationLeft) |
| 22 | HRESULT put_DestinationWidth(INT DestinationWidth) |
| 23 | HRESULT get_DestinationWidth(INT* pDestinationWidth) |
| 24 | HRESULT put_DestinationTop(INT DestinationTop) |
| 25 | HRESULT get_DestinationTop(INT* pDestinationTop) |
| 26 | HRESULT put_DestinationHeight(INT DestinationHeight) |
| 27 | HRESULT get_DestinationHeight(INT* pDestinationHeight) |
| 28 | HRESULT SetSourcePosition(INT Left, INT Top, INT Width, INT Height) |
| 29 | HRESULT GetSourcePosition(INT* pLeft, INT* pTop, INT* pWidth, INT* pHeight) |
| 30 | HRESULT SetDefaultSourcePosition() |
| 31 | HRESULT SetDestinationPosition(INT Left, INT Top, INT Width, INT Height) |
| 32 | HRESULT GetDestinationPosition(INT* pLeft, INT* pTop, INT* pWidth, INT* pHeight) |
| 33 | HRESULT SetDefaultDestinationPosition() |
| 34 | HRESULT GetVideoSize(INT* pWidth, INT* pHeight) |
| 35 | HRESULT GetVideoPaletteEntries(INT StartIndex, INT Entries, INT* pRetrieved, INT* pPalette) |
| 36 | HRESULT GetCurrentImage(INT* pBufferSize, INT* pDIBImage) |
| 37 | HRESULT IsUsingDefaultSource() |
| 38 | HRESULT IsUsingDefaultDestination() |