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

IMFVideoDisplayControl

COM
IIDa490b1e4-ab84-4d31-a1b2-181e03b1077a継承元IUnknown自前メソッド開始 vtbl3

メソッド 16

vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。

vtblメソッド
3HRESULT GetNativeVideoSize(SIZE* pszVideo, SIZE* pszARVideo)
4HRESULT GetIdealVideoSize(SIZE* pszMin, SIZE* pszMax)
5HRESULT SetVideoPosition(MFVideoNormalizedRect* pnrcSource, RECT* prcDest)
6HRESULT GetVideoPosition(MFVideoNormalizedRect* pnrcSource, RECT* prcDest)
7HRESULT SetAspectRatioMode(DWORD dwAspectRatioMode)
8HRESULT GetAspectRatioMode(DWORD* pdwAspectRatioMode)
9HRESULT SetVideoWindow(HWND hwndVideo)
10HRESULT GetVideoWindow(HWND* phwndVideo)
11HRESULT RepaintVideo()
12HRESULT GetCurrentImage(BITMAPINFOHEADER* pBih, BYTE** pDib, DWORD* pcbDib, LONGLONG* pTimeStamp)
13HRESULT SetBorderColor(COLORREF Clr)
14HRESULT GetBorderColor(COLORREF* pClr)
15HRESULT SetRenderingPrefs(DWORD dwRenderFlags)
16HRESULT GetRenderingPrefs(DWORD* pdwRenderFlags)
17HRESULT SetFullscreen(BOOL fFullscreen)
18HRESULT GetFullscreen(BOOL* pfFullscreen)