ホーム › Media.MediaFoundation › IMFPMediaPlayer
IMFPMediaPlayer
COMメソッド 36
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
| vtbl | メソッド |
|---|---|
| 3 | HRESULT Play() |
| 4 | HRESULT Pause() |
| 5 | HRESULT Stop() |
| 6 | HRESULT FrameStep() |
| 7 | HRESULT SetPosition(GUID* guidPositionType, PROPVARIANT* pvPositionValue) |
| 8 | HRESULT GetPosition(GUID* guidPositionType, PROPVARIANT* pvPositionValue) |
| 9 | HRESULT GetDuration(GUID* guidPositionType, PROPVARIANT* pvDurationValue) |
| 10 | HRESULT SetRate(FLOAT flRate) |
| 11 | HRESULT GetRate(FLOAT* pflRate) |
| 12 | HRESULT GetSupportedRates(BOOL fForwardDirection, FLOAT* pflSlowestRate, FLOAT* pflFastestRate) |
| 13 | HRESULT GetState(MFP_MEDIAPLAYER_STATE* peState) |
| 14 | HRESULT CreateMediaItemFromURL(LPWSTR pwszURL, BOOL fSync, UINT_PTR dwUserData, IMFPMediaItem** ppMediaItem) |
| 15 | HRESULT CreateMediaItemFromObject(IUnknown* pIUnknownObj, BOOL fSync, UINT_PTR dwUserData, IMFPMediaItem** ppMediaItem) |
| 16 | HRESULT SetMediaItem(IMFPMediaItem* pIMFPMediaItem) |
| 17 | HRESULT ClearMediaItem() |
| 18 | HRESULT GetMediaItem(IMFPMediaItem** ppIMFPMediaItem) |
| 19 | HRESULT GetVolume(FLOAT* pflVolume) |
| 20 | HRESULT SetVolume(FLOAT flVolume) |
| 21 | HRESULT GetBalance(FLOAT* pflBalance) |
| 22 | HRESULT SetBalance(FLOAT flBalance) |
| 23 | HRESULT GetMute(BOOL* pfMute) |
| 24 | HRESULT SetMute(BOOL fMute) |
| 25 | HRESULT GetNativeVideoSize(SIZE* pszVideo, SIZE* pszARVideo) |
| 26 | HRESULT GetIdealVideoSize(SIZE* pszMin, SIZE* pszMax) |
| 27 | HRESULT SetVideoSourceRect(MFVideoNormalizedRect* pnrcSource) |
| 28 | HRESULT GetVideoSourceRect(MFVideoNormalizedRect* pnrcSource) |
| 29 | HRESULT SetAspectRatioMode(DWORD dwAspectRatioMode) |
| 30 | HRESULT GetAspectRatioMode(DWORD* pdwAspectRatioMode) |
| 31 | HRESULT GetVideoWindow(HWND* phwndVideo) |
| 32 | HRESULT UpdateVideo() |
| 33 | HRESULT SetBorderColor(COLORREF Clr) |
| 34 | HRESULT GetBorderColor(COLORREF* pClr) |
| 35 | HRESULT InsertEffect(IUnknown* pEffect, BOOL fOptional) |
| 36 | HRESULT RemoveEffect(IUnknown* pEffect) |
| 37 | HRESULT RemoveAllEffects() |
| 38 | HRESULT Shutdown() |