| mfplay.h (12.0.7601.17514-Windows_7.0) | | mfplay.h (12.0.9600.17415-Windows_8.1) |
| | |
| /* this ALWAYS GENERATED file contains the definitions for the interfaces */ | | /* this ALWAYS GENERATED file contains the definitions for the interfaces */ |
| | |
|
| /* File created by MIDL compiler version 7.00.0555 */ | | /* File created by MIDL compiler version 8.00.0603 */ |
| /* Compiler settings for mfplay.idl: | | |
| Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 7.00.0555 | | |
| protocol : dce , ms_ext, c_ext, robust | | |
| error checks: allocation ref bounds_check enum stub_data | | |
| VC __declspec() decoration level: | | |
| __declspec(uuid()), __declspec(selectany), __declspec(novtable) | | |
| DECLSPEC_UUID(), MIDL_INTERFACE() | | |
| */ | | |
| /* @@MIDL_FILE_HEADING( ) */ | | /* @@MIDL_FILE_HEADING( ) */ |
| | |
| #pragma warning( disable: 4049 ) /* more than 64k source lines */ | | #pragma warning( disable: 4049 ) /* more than 64k source lines */ |
| | |
| /* verify that the <rpcndr.h> version is high enough to compile this file*/ | | /* verify that the <rpcndr.h> version is high enough to compile this file*/ |
| #ifndef __REQUIRED_RPCNDR_H_VERSION__ | | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
| #define __REQUIRED_RPCNDR_H_VERSION__ 500 | | #define __REQUIRED_RPCNDR_H_VERSION__ 500 |
| #endif | | #endif |
| | |
| /* verify that the <rpcsal.h> version is high enough to compile this file*/ | | /* verify that the <rpcsal.h> version is high enough to compile this file*/ |
| | |
| skipping to change at line 76 | | skipping to change at line 71 |
| #include "mfidl.h" | | #include "mfidl.h" |
| #include "evr.h" | | #include "evr.h" |
| | |
| #ifdef __cplusplus | | #ifdef __cplusplus |
| extern "C"{ | | extern "C"{ |
| #endif | | #endif |
| | |
| /* interface __MIDL_itf_mfplay_0000_0000 */ | | /* interface __MIDL_itf_mfplay_0000_0000 */ |
| /* [local] */ | | /* [local] */ |
| | |
|
| | #include <winapifamily.h> |
| | #pragma region Desktop Family |
| | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) |
| #if (WINVER >= _WIN32_WINNT_WIN7) | | #if (WINVER >= _WIN32_WINNT_WIN7) |
| | |
| interface IMFMediaEvent; | | interface IMFMediaEvent; |
| interface IMFNetCredential; | | interface IMFNetCredential; |
| typedef UINT32 MFP_CREATION_OPTIONS; | | typedef UINT32 MFP_CREATION_OPTIONS; |
| | |
| typedef /* [v1_enum] */ | | typedef /* [v1_enum] */ |
| enum _MFP_CREATION_OPTIONS | | enum _MFP_CREATION_OPTIONS |
|
| { MFP_OPTION_NONE = 0, | | { |
| MFP_OPTION_FREE_THREADED_CALLBACK = 0x1, | | MFP_OPTION_NONE = 0, |
| MFP_OPTION_NO_MMCSS = 0x2, | | MFP_OPTION_FREE_THREADED_CALLBACK = 0x1, |
| MFP_OPTION_NO_REMOTE_DESKTOP_OPTIMIZATION = 0x4 | | MFP_OPTION_NO_MMCSS = 0x2, |
| | MFP_OPTION_NO_REMOTE_DESKTOP_OPTIMIZATION = 0x4 |
| } _MFP_CREATION_OPTIONS; | | } _MFP_CREATION_OPTIONS; |
| | |
| typedef /* [v1_enum] */ | | typedef /* [v1_enum] */ |
| enum MFP_MEDIAPLAYER_STATE | | enum MFP_MEDIAPLAYER_STATE |
|
| { MFP_MEDIAPLAYER_STATE_EMPTY = 0, | | { |
| MFP_MEDIAPLAYER_STATE_STOPPED = 0x1, | | MFP_MEDIAPLAYER_STATE_EMPTY = 0, |
| MFP_MEDIAPLAYER_STATE_PLAYING = 0x2, | | MFP_MEDIAPLAYER_STATE_STOPPED = 0x1, |
| MFP_MEDIAPLAYER_STATE_PAUSED = 0x3, | | MFP_MEDIAPLAYER_STATE_PLAYING = 0x2, |
| MFP_MEDIAPLAYER_STATE_SHUTDOWN = 0x4 | | MFP_MEDIAPLAYER_STATE_PAUSED = 0x3, |
| | MFP_MEDIAPLAYER_STATE_SHUTDOWN = 0x4 |
| } MFP_MEDIAPLAYER_STATE; | | } MFP_MEDIAPLAYER_STATE; |
| | |
| typedef UINT32 MFP_MEDIAITEM_CHARACTERISTICS; | | typedef UINT32 MFP_MEDIAITEM_CHARACTERISTICS; |
| | |
| typedef /* [v1_enum] */ | | typedef /* [v1_enum] */ |
| enum _MFP_MEDIAITEM_CHARACTERISTICS | | enum _MFP_MEDIAITEM_CHARACTERISTICS |
|
| { MFP_MEDIAITEM_IS_LIVE = 0x1, | | { |
| MFP_MEDIAITEM_CAN_SEEK = 0x2, | | MFP_MEDIAITEM_IS_LIVE = 0x1, |
| MFP_MEDIAITEM_CAN_PAUSE = 0x4, | | MFP_MEDIAITEM_CAN_SEEK = 0x2, |
| MFP_MEDIAITEM_HAS_SLOW_SEEK = 0x8 | | MFP_MEDIAITEM_CAN_PAUSE = 0x4, |
| | MFP_MEDIAITEM_HAS_SLOW_SEEK = 0x8 |
| } _MFP_MEDIAITEM_CHARACTERISTICS; | | } _MFP_MEDIAITEM_CHARACTERISTICS; |
| | |
| typedef UINT32 MFP_CREDENTIAL_FLAGS; | | typedef UINT32 MFP_CREDENTIAL_FLAGS; |
| | |
| typedef /* [v1_enum] */ | | typedef /* [v1_enum] */ |
| enum _MFP_CREDENTIAL_FLAGS | | enum _MFP_CREDENTIAL_FLAGS |
|
| { MFP_CREDENTIAL_PROMPT = 0x1, | | { |
| MFP_CREDENTIAL_SAVE = 0x2, | | MFP_CREDENTIAL_PROMPT = 0x1, |
| MFP_CREDENTIAL_DO_NOT_CACHE = 0x4, | | MFP_CREDENTIAL_SAVE = 0x2, |
| MFP_CREDENTIAL_CLEAR_TEXT = 0x8, | | MFP_CREDENTIAL_DO_NOT_CACHE = 0x4, |
| MFP_CREDENTIAL_PROXY = 0x10, | | MFP_CREDENTIAL_CLEAR_TEXT = 0x8, |
| MFP_CREDENTIAL_LOGGED_ON_USER = 0x20 | | MFP_CREDENTIAL_PROXY = 0x10, |
| | MFP_CREDENTIAL_LOGGED_ON_USER = 0x20 |
| } _MFP_CREDENTIAL_FLAGS; | | } _MFP_CREDENTIAL_FLAGS; |
| | |
| STDAPI MFPCreateMediaPlayer( | | STDAPI MFPCreateMediaPlayer( |
|
| __in_opt LPCWSTR pwszURL, | | _In_opt_ LPCWSTR pwszURL, |
| __in BOOL fStartPlayback, | | _In_ BOOL fStartPlayback, |
| __in_opt MFP_CREATION_OPTIONS creationOptions, | | _In_opt_ MFP_CREATION_OPTIONS creationOptions, |
| __in_opt IMFPMediaPlayerCallback * pCallback, | | _In_opt_ IMFPMediaPlayerCallback * pCallback, |
| __in_opt HWND hWnd, | | _In_opt_ HWND hWnd, |
| __out_opt IMFPMediaPlayer ** ppMediaPlayer ); | | _Out_opt_ IMFPMediaPlayer ** ppMediaPlayer ); |
| | |
| extern RPC_IF_HANDLE __MIDL_itf_mfplay_0000_0000_v0_0_c_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_mfplay_0000_0000_v0_0_c_ifspec; |
| extern RPC_IF_HANDLE __MIDL_itf_mfplay_0000_0000_v0_0_s_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_mfplay_0000_0000_v0_0_s_ifspec; |
| | |
| #ifndef __IMFPMediaPlayer_INTERFACE_DEFINED__ | | #ifndef __IMFPMediaPlayer_INTERFACE_DEFINED__ |
| #define __IMFPMediaPlayer_INTERFACE_DEFINED__ | | #define __IMFPMediaPlayer_INTERFACE_DEFINED__ |
| | |
| /* interface IMFPMediaPlayer */ | | /* interface IMFPMediaPlayer */ |
| /* [uuid][object][local] */ | | /* [uuid][object][local] */ |
| | |
| | |
| skipping to change at line 156 | | skipping to change at line 158 |
| virtual HRESULT STDMETHODCALLTYPE Play( void) = 0; | | virtual HRESULT STDMETHODCALLTYPE Play( void) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE Pause( void) = 0; | | virtual HRESULT STDMETHODCALLTYPE Pause( void) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE Stop( void) = 0; | | virtual HRESULT STDMETHODCALLTYPE Stop( void) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE FrameStep( void) = 0; | | virtual HRESULT STDMETHODCALLTYPE FrameStep( void) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE SetPosition( | | virtual HRESULT STDMETHODCALLTYPE SetPosition( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in REFGUID guidPositionType, | | _In_ REFGUID guidPositionType, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in const PROPVARIANT *pvPositionValue) = 0; | | _In_ const PROPVARIANT *pvPositionValue) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetPosition( | | virtual HRESULT STDMETHODCALLTYPE GetPosition( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in REFGUID guidPositionType, | | _In_ REFGUID guidPositionType, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out PROPVARIANT *pvPositionValue) = 0; | | _Out_ PROPVARIANT *pvPositionValue) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetDuration( | | virtual HRESULT STDMETHODCALLTYPE GetDuration( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in REFGUID guidPositionType, | | _In_ REFGUID guidPositionType, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out PROPVARIANT *pvDurationValue) = 0; | | _Out_ PROPVARIANT *pvDurationValue) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE SetRate( | | virtual HRESULT STDMETHODCALLTYPE SetRate( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in float flRate) = 0; | | _In_ float flRate) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetRate( | | virtual HRESULT STDMETHODCALLTYPE GetRate( |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out float *pflRate) = 0; | | _Out_ float *pflRate) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetSupportedRates( | | virtual HRESULT STDMETHODCALLTYPE GetSupportedRates( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in BOOL fForwardDirection, | | _In_ BOOL fForwardDirection, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out float *pflSlowestRate, | | _Out_ float *pflSlowestRate, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out float *pflFastestRate) = 0; | | _Out_ float *pflFastestRate) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetState( | | virtual HRESULT STDMETHODCALLTYPE GetState( |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out MFP_MEDIAPLAYER_STATE *peState) = 0; | | _Out_ MFP_MEDIAPLAYER_STATE *peState) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE CreateMediaItemFromURL( | | virtual HRESULT STDMETHODCALLTYPE CreateMediaItemFromURL( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in LPCWSTR pwszURL, | | _In_ LPCWSTR pwszURL, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in BOOL fSync, | | _In_ BOOL fSync, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD_PTR dwUserData, | | _In_ DWORD_PTR dwUserData, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt IMFPMediaItem **ppMediaItem) = 0; | | _Out_opt_ IMFPMediaItem **ppMediaItem) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE CreateMediaItemFromObject( | | virtual HRESULT STDMETHODCALLTYPE CreateMediaItemFromObject( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in IUnknown *pIUnknownObj, | | _In_ IUnknown *pIUnknownObj, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in BOOL fSync, | | _In_ BOOL fSync, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD_PTR dwUserData, | | _In_ DWORD_PTR dwUserData, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt IMFPMediaItem **ppMediaItem) = 0; | | _Out_opt_ IMFPMediaItem **ppMediaItem) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE SetMediaItem( | | virtual HRESULT STDMETHODCALLTYPE SetMediaItem( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in IMFPMediaItem *pIMFPMediaItem) = 0; | | _In_ IMFPMediaItem *pIMFPMediaItem) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE ClearMediaItem( void) = 0; | | virtual HRESULT STDMETHODCALLTYPE ClearMediaItem( void) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetMediaItem( | | virtual HRESULT STDMETHODCALLTYPE GetMediaItem( |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out IMFPMediaItem **ppIMFPMediaItem) = 0; | | _Out_ IMFPMediaItem **ppIMFPMediaItem) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetVolume( | | virtual HRESULT STDMETHODCALLTYPE GetVolume( |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out float *pflVolume) = 0; | | _Out_ float *pflVolume) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE SetVolume( | | virtual HRESULT STDMETHODCALLTYPE SetVolume( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in float flVolume) = 0; | | _In_ float flVolume) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetBalance( | | virtual HRESULT STDMETHODCALLTYPE GetBalance( |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out float *pflBalance) = 0; | | _Out_ float *pflBalance) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE SetBalance( | | virtual HRESULT STDMETHODCALLTYPE SetBalance( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in float flBalance) = 0; | | _In_ float flBalance) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetMute( | | virtual HRESULT STDMETHODCALLTYPE GetMute( |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out BOOL *pfMute) = 0; | | _Out_ BOOL *pfMute) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE SetMute( | | virtual HRESULT STDMETHODCALLTYPE SetMute( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in BOOL fMute) = 0; | | _In_ BOOL fMute) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetNativeVideoSize( | | virtual HRESULT STDMETHODCALLTYPE GetNativeVideoSize( |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt SIZE *pszVideo, | | _Out_opt_ SIZE *pszVideo, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt SIZE *pszARVideo) = 0; | | _Out_opt_ SIZE *pszARVideo) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetIdealVideoSize( | | virtual HRESULT STDMETHODCALLTYPE GetIdealVideoSize( |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt SIZE *pszMin, | | _Out_opt_ SIZE *pszMin, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt SIZE *pszMax) = 0; | | _Out_opt_ SIZE *pszMax) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE SetVideoSourceRect( | | virtual HRESULT STDMETHODCALLTYPE SetVideoSourceRect( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in const MFVideoNormalizedRect *pnrcSource) = 0; | | _In_ const MFVideoNormalizedRect *pnrcSource) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetVideoSourceRect( | | virtual HRESULT STDMETHODCALLTYPE GetVideoSourceRect( |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out MFVideoNormalizedRect *pnrcSource) = 0; | | _Out_ MFVideoNormalizedRect *pnrcSource) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE SetAspectRatioMode( | | virtual HRESULT STDMETHODCALLTYPE SetAspectRatioMode( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwAspectRatioMode) = 0; | | _In_ DWORD dwAspectRatioMode) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetAspectRatioMode( | | virtual HRESULT STDMETHODCALLTYPE GetAspectRatioMode( |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out DWORD *pdwAspectRatioMode) = 0; | | _Out_ DWORD *pdwAspectRatioMode) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetVideoWindow( | | virtual HRESULT STDMETHODCALLTYPE GetVideoWindow( |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out HWND *phwndVideo) = 0; | | _Out_ HWND *phwndVideo) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE UpdateVideo( void) = 0; | | virtual HRESULT STDMETHODCALLTYPE UpdateVideo( void) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE SetBorderColor( | | virtual HRESULT STDMETHODCALLTYPE SetBorderColor( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in COLORREF Clr) = 0; | | _In_ COLORREF Clr) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetBorderColor( | | virtual HRESULT STDMETHODCALLTYPE GetBorderColor( |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out COLORREF *pClr) = 0; | | _Out_ COLORREF *pClr) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE InsertEffect( | | virtual HRESULT STDMETHODCALLTYPE InsertEffect( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in IUnknown *pEffect, | | _In_ IUnknown *pEffect, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in BOOL fOptional) = 0; | | _In_ BOOL fOptional) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE RemoveEffect( | | virtual HRESULT STDMETHODCALLTYPE RemoveEffect( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in IUnknown *pEffect) = 0; | | _In_ IUnknown *pEffect) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE RemoveAllEffects( void) = 0; | | virtual HRESULT STDMETHODCALLTYPE RemoveAllEffects( void) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE Shutdown( void) = 0; | | virtual HRESULT STDMETHODCALLTYPE Shutdown( void) = 0; |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IMFPMediaPlayerVtbl | | typedef struct IMFPMediaPlayerVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
| IMFPMediaPlayer * This, | | IMFPMediaPlayer * This, |
| /* [in] */ REFIID riid, | | /* [in] */ REFIID riid, |
| /* [annotation][iid_is][out] */ | | /* [annotation][iid_is][out] */ |
|
| __RPC__deref_out void **ppvObject); | | _COM_Outptr_ void **ppvObject); |
| | |
| ULONG ( STDMETHODCALLTYPE *AddRef )( | | ULONG ( STDMETHODCALLTYPE *AddRef )( |
| IMFPMediaPlayer * This); | | IMFPMediaPlayer * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
| IMFPMediaPlayer * This); | | IMFPMediaPlayer * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *Play )( | | HRESULT ( STDMETHODCALLTYPE *Play )( |
| IMFPMediaPlayer * This); | | IMFPMediaPlayer * This); |
| | |
| | |
| skipping to change at line 337 | | skipping to change at line 339 |
| | |
| HRESULT ( STDMETHODCALLTYPE *Stop )( | | HRESULT ( STDMETHODCALLTYPE *Stop )( |
| IMFPMediaPlayer * This); | | IMFPMediaPlayer * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *FrameStep )( | | HRESULT ( STDMETHODCALLTYPE *FrameStep )( |
| IMFPMediaPlayer * This); | | IMFPMediaPlayer * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetPosition )( | | HRESULT ( STDMETHODCALLTYPE *SetPosition )( |
| IMFPMediaPlayer * This, | | IMFPMediaPlayer * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in REFGUID guidPositionType, | | _In_ REFGUID guidPositionType, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in const PROPVARIANT *pvPositionValue); | | _In_ const PROPVARIANT *pvPositionValue); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetPosition )( | | HRESULT ( STDMETHODCALLTYPE *GetPosition )( |
| IMFPMediaPlayer * This, | | IMFPMediaPlayer * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in REFGUID guidPositionType, | | _In_ REFGUID guidPositionType, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out PROPVARIANT *pvPositionValue); | | _Out_ PROPVARIANT *pvPositionValue); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetDuration )( | | HRESULT ( STDMETHODCALLTYPE *GetDuration )( |
| IMFPMediaPlayer * This, | | IMFPMediaPlayer * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in REFGUID guidPositionType, | | _In_ REFGUID guidPositionType, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out PROPVARIANT *pvDurationValue); | | _Out_ PROPVARIANT *pvDurationValue); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetRate )( | | HRESULT ( STDMETHODCALLTYPE *SetRate )( |
| IMFPMediaPlayer * This, | | IMFPMediaPlayer * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in float flRate); | | _In_ float flRate); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetRate )( | | HRESULT ( STDMETHODCALLTYPE *GetRate )( |
| IMFPMediaPlayer * This, | | IMFPMediaPlayer * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out float *pflRate); | | _Out_ float *pflRate); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetSupportedRates )( | | HRESULT ( STDMETHODCALLTYPE *GetSupportedRates )( |
| IMFPMediaPlayer * This, | | IMFPMediaPlayer * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in BOOL fForwardDirection, | | _In_ BOOL fForwardDirection, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out float *pflSlowestRate, | | _Out_ float *pflSlowestRate, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out float *pflFastestRate); | | _Out_ float *pflFastestRate); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetState )( | | HRESULT ( STDMETHODCALLTYPE *GetState )( |
| IMFPMediaPlayer * This, | | IMFPMediaPlayer * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out MFP_MEDIAPLAYER_STATE *peState); | | _Out_ MFP_MEDIAPLAYER_STATE *peState); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateMediaItemFromURL )( | | HRESULT ( STDMETHODCALLTYPE *CreateMediaItemFromURL )( |
| IMFPMediaPlayer * This, | | IMFPMediaPlayer * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in LPCWSTR pwszURL, | | _In_ LPCWSTR pwszURL, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in BOOL fSync, | | _In_ BOOL fSync, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD_PTR dwUserData, | | _In_ DWORD_PTR dwUserData, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt IMFPMediaItem **ppMediaItem); | | _Out_opt_ IMFPMediaItem **ppMediaItem); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateMediaItemFromObject )( | | HRESULT ( STDMETHODCALLTYPE *CreateMediaItemFromObject )( |
| IMFPMediaPlayer * This, | | IMFPMediaPlayer * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in IUnknown *pIUnknownObj, | | _In_ IUnknown *pIUnknownObj, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in BOOL fSync, | | _In_ BOOL fSync, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD_PTR dwUserData, | | _In_ DWORD_PTR dwUserData, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt IMFPMediaItem **ppMediaItem); | | _Out_opt_ IMFPMediaItem **ppMediaItem); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetMediaItem )( | | HRESULT ( STDMETHODCALLTYPE *SetMediaItem )( |
| IMFPMediaPlayer * This, | | IMFPMediaPlayer * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in IMFPMediaItem *pIMFPMediaItem); | | _In_ IMFPMediaItem *pIMFPMediaItem); |
| | |
| HRESULT ( STDMETHODCALLTYPE *ClearMediaItem )( | | HRESULT ( STDMETHODCALLTYPE *ClearMediaItem )( |
| IMFPMediaPlayer * This); | | IMFPMediaPlayer * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetMediaItem )( | | HRESULT ( STDMETHODCALLTYPE *GetMediaItem )( |
| IMFPMediaPlayer * This, | | IMFPMediaPlayer * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out IMFPMediaItem **ppIMFPMediaItem); | | _Out_ IMFPMediaItem **ppIMFPMediaItem); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetVolume )( | | HRESULT ( STDMETHODCALLTYPE *GetVolume )( |
| IMFPMediaPlayer * This, | | IMFPMediaPlayer * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out float *pflVolume); | | _Out_ float *pflVolume); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetVolume )( | | HRESULT ( STDMETHODCALLTYPE *SetVolume )( |
| IMFPMediaPlayer * This, | | IMFPMediaPlayer * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in float flVolume); | | _In_ float flVolume); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetBalance )( | | HRESULT ( STDMETHODCALLTYPE *GetBalance )( |
| IMFPMediaPlayer * This, | | IMFPMediaPlayer * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out float *pflBalance); | | _Out_ float *pflBalance); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetBalance )( | | HRESULT ( STDMETHODCALLTYPE *SetBalance )( |
| IMFPMediaPlayer * This, | | IMFPMediaPlayer * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in float flBalance); | | _In_ float flBalance); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetMute )( | | HRESULT ( STDMETHODCALLTYPE *GetMute )( |
| IMFPMediaPlayer * This, | | IMFPMediaPlayer * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out BOOL *pfMute); | | _Out_ BOOL *pfMute); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetMute )( | | HRESULT ( STDMETHODCALLTYPE *SetMute )( |
| IMFPMediaPlayer * This, | | IMFPMediaPlayer * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in BOOL fMute); | | _In_ BOOL fMute); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetNativeVideoSize )( | | HRESULT ( STDMETHODCALLTYPE *GetNativeVideoSize )( |
| IMFPMediaPlayer * This, | | IMFPMediaPlayer * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt SIZE *pszVideo, | | _Out_opt_ SIZE *pszVideo, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt SIZE *pszARVideo); | | _Out_opt_ SIZE *pszARVideo); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetIdealVideoSize )( | | HRESULT ( STDMETHODCALLTYPE *GetIdealVideoSize )( |
| IMFPMediaPlayer * This, | | IMFPMediaPlayer * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt SIZE *pszMin, | | _Out_opt_ SIZE *pszMin, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt SIZE *pszMax); | | _Out_opt_ SIZE *pszMax); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetVideoSourceRect )( | | HRESULT ( STDMETHODCALLTYPE *SetVideoSourceRect )( |
| IMFPMediaPlayer * This, | | IMFPMediaPlayer * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in const MFVideoNormalizedRect *pnrcSource); | | _In_ const MFVideoNormalizedRect *pnrcSource); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetVideoSourceRect )( | | HRESULT ( STDMETHODCALLTYPE *GetVideoSourceRect )( |
| IMFPMediaPlayer * This, | | IMFPMediaPlayer * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out MFVideoNormalizedRect *pnrcSource); | | _Out_ MFVideoNormalizedRect *pnrcSource); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetAspectRatioMode )( | | HRESULT ( STDMETHODCALLTYPE *SetAspectRatioMode )( |
| IMFPMediaPlayer * This, | | IMFPMediaPlayer * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwAspectRatioMode); | | _In_ DWORD dwAspectRatioMode); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetAspectRatioMode )( | | HRESULT ( STDMETHODCALLTYPE *GetAspectRatioMode )( |
| IMFPMediaPlayer * This, | | IMFPMediaPlayer * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out DWORD *pdwAspectRatioMode); | | _Out_ DWORD *pdwAspectRatioMode); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetVideoWindow )( | | HRESULT ( STDMETHODCALLTYPE *GetVideoWindow )( |
| IMFPMediaPlayer * This, | | IMFPMediaPlayer * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out HWND *phwndVideo); | | _Out_ HWND *phwndVideo); |
| | |
| HRESULT ( STDMETHODCALLTYPE *UpdateVideo )( | | HRESULT ( STDMETHODCALLTYPE *UpdateVideo )( |
| IMFPMediaPlayer * This); | | IMFPMediaPlayer * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetBorderColor )( | | HRESULT ( STDMETHODCALLTYPE *SetBorderColor )( |
| IMFPMediaPlayer * This, | | IMFPMediaPlayer * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in COLORREF Clr); | | _In_ COLORREF Clr); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetBorderColor )( | | HRESULT ( STDMETHODCALLTYPE *GetBorderColor )( |
| IMFPMediaPlayer * This, | | IMFPMediaPlayer * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out COLORREF *pClr); | | _Out_ COLORREF *pClr); |
| | |
| HRESULT ( STDMETHODCALLTYPE *InsertEffect )( | | HRESULT ( STDMETHODCALLTYPE *InsertEffect )( |
| IMFPMediaPlayer * This, | | IMFPMediaPlayer * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in IUnknown *pEffect, | | _In_ IUnknown *pEffect, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in BOOL fOptional); | | _In_ BOOL fOptional); |
| | |
| HRESULT ( STDMETHODCALLTYPE *RemoveEffect )( | | HRESULT ( STDMETHODCALLTYPE *RemoveEffect )( |
| IMFPMediaPlayer * This, | | IMFPMediaPlayer * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in IUnknown *pEffect); | | _In_ IUnknown *pEffect); |
| | |
| HRESULT ( STDMETHODCALLTYPE *RemoveAllEffects )( | | HRESULT ( STDMETHODCALLTYPE *RemoveAllEffects )( |
| IMFPMediaPlayer * This); | | IMFPMediaPlayer * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *Shutdown )( | | HRESULT ( STDMETHODCALLTYPE *Shutdown )( |
| IMFPMediaPlayer * This); | | IMFPMediaPlayer * This); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IMFPMediaPlayerVtbl; | | } IMFPMediaPlayerVtbl; |
| | |
| | |
| skipping to change at line 671 | | skipping to change at line 673 |
| EXTERN_C const IID IID_IMFPMediaItem; | | EXTERN_C const IID IID_IMFPMediaItem; |
| | |
| #if defined(__cplusplus) && !defined(CINTERFACE) | | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| MIDL_INTERFACE("90EB3E6B-ECBF-45cc-B1DA-C6FE3EA70D57") | | MIDL_INTERFACE("90EB3E6B-ECBF-45cc-B1DA-C6FE3EA70D57") |
| IMFPMediaItem : public IUnknown | | IMFPMediaItem : public IUnknown |
| { | | { |
| public: | | public: |
| virtual HRESULT STDMETHODCALLTYPE GetMediaPlayer( | | virtual HRESULT STDMETHODCALLTYPE GetMediaPlayer( |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out IMFPMediaPlayer **ppMediaPlayer) = 0; | | _Out_ IMFPMediaPlayer **ppMediaPlayer) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetURL( | | virtual HRESULT STDMETHODCALLTYPE GetURL( |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out LPWSTR *ppwszURL) = 0; | | _Out_ LPWSTR *ppwszURL) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetObject( | | virtual HRESULT STDMETHODCALLTYPE GetObject( |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out IUnknown **ppIUnknown) = 0; | | _Out_ IUnknown **ppIUnknown) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetUserData( | | virtual HRESULT STDMETHODCALLTYPE GetUserData( |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out DWORD_PTR *pdwUserData) = 0; | | _Out_ DWORD_PTR *pdwUserData) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE SetUserData( | | virtual HRESULT STDMETHODCALLTYPE SetUserData( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD_PTR dwUserData) = 0; | | _In_ DWORD_PTR dwUserData) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetStartStopPosition( | | virtual HRESULT STDMETHODCALLTYPE GetStartStopPosition( |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt GUID *pguidStartPositionType, | | _Out_opt_ GUID *pguidStartPositionType, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt PROPVARIANT *pvStartValue, | | _Out_opt_ PROPVARIANT *pvStartValue, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt GUID *pguidStopPositionType, | | _Out_opt_ GUID *pguidStopPositionType, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt PROPVARIANT *pvStopValue) = 0; | | _Out_opt_ PROPVARIANT *pvStopValue) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE SetStartStopPosition( | | virtual HRESULT STDMETHODCALLTYPE SetStartStopPosition( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in_opt const GUID *pguidStartPositionType, | | _In_opt_ const GUID *pguidStartPositionType, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in_opt const PROPVARIANT *pvStartValue, | | _In_opt_ const PROPVARIANT *pvStartValue, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in_opt const GUID *pguidStopPositionType, | | _In_opt_ const GUID *pguidStopPositionType, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in_opt const PROPVARIANT *pvStopValue) = 0; | | _In_opt_ const PROPVARIANT *pvStopValue) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE HasVideo( | | virtual HRESULT STDMETHODCALLTYPE HasVideo( |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt BOOL *pfHasVideo, | | _Out_opt_ BOOL *pfHasVideo, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt BOOL *pfSelected) = 0; | | _Out_opt_ BOOL *pfSelected) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE HasAudio( | | virtual HRESULT STDMETHODCALLTYPE HasAudio( |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt BOOL *pfHasAudio, | | _Out_opt_ BOOL *pfHasAudio, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt BOOL *pfSelected) = 0; | | _Out_opt_ BOOL *pfSelected) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE IsProtected( | | virtual HRESULT STDMETHODCALLTYPE IsProtected( |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out BOOL *pfProtected) = 0; | | _Out_ BOOL *pfProtected) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetDuration( | | virtual HRESULT STDMETHODCALLTYPE GetDuration( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in REFGUID guidPositionType, | | _In_ REFGUID guidPositionType, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out PROPVARIANT *pvDurationValue) = 0; | | _Out_ PROPVARIANT *pvDurationValue) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetNumberOfStreams( | | virtual HRESULT STDMETHODCALLTYPE GetNumberOfStreams( |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out DWORD *pdwStreamCount) = 0; | | _Out_ DWORD *pdwStreamCount) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetStreamSelection( | | virtual HRESULT STDMETHODCALLTYPE GetStreamSelection( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out BOOL *pfEnabled) = 0; | | _Out_ BOOL *pfEnabled) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE SetStreamSelection( | | virtual HRESULT STDMETHODCALLTYPE SetStreamSelection( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in BOOL fEnabled) = 0; | | _In_ BOOL fEnabled) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetStreamAttribute( | | virtual HRESULT STDMETHODCALLTYPE GetStreamAttribute( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in REFGUID guidMFAttribute, | | _In_ REFGUID guidMFAttribute, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out PROPVARIANT *pvValue) = 0; | | _Out_ PROPVARIANT *pvValue) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetPresentationAttribute( | | virtual HRESULT STDMETHODCALLTYPE GetPresentationAttribute( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in REFGUID guidMFAttribute, | | _In_ REFGUID guidMFAttribute, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out PROPVARIANT *pvValue) = 0; | | _Out_ PROPVARIANT *pvValue) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetCharacteristics( | | virtual HRESULT STDMETHODCALLTYPE GetCharacteristics( |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out MFP_MEDIAITEM_CHARACTERISTICS *pCharacteristics) = 0; | | _Out_ MFP_MEDIAITEM_CHARACTERISTICS *pCharacteristics) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE SetStreamSink( | | virtual HRESULT STDMETHODCALLTYPE SetStreamSink( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in_opt IUnknown *pMediaSink) = 0; | | _In_opt_ IUnknown *pMediaSink) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetMetadata( | | virtual HRESULT STDMETHODCALLTYPE GetMetadata( |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out IPropertyStore **ppMetadataStore) = 0; | | _Out_ IPropertyStore **ppMetadataStore) = 0; |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IMFPMediaItemVtbl | | typedef struct IMFPMediaItemVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
| IMFPMediaItem * This, | | IMFPMediaItem * This, |
| /* [in] */ REFIID riid, | | /* [in] */ REFIID riid, |
| /* [annotation][iid_is][out] */ | | /* [annotation][iid_is][out] */ |
|
| __RPC__deref_out void **ppvObject); | | _COM_Outptr_ void **ppvObject); |
| | |
| ULONG ( STDMETHODCALLTYPE *AddRef )( | | ULONG ( STDMETHODCALLTYPE *AddRef )( |
| IMFPMediaItem * This); | | IMFPMediaItem * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
| IMFPMediaItem * This); | | IMFPMediaItem * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetMediaPlayer )( | | HRESULT ( STDMETHODCALLTYPE *GetMediaPlayer )( |
| IMFPMediaItem * This, | | IMFPMediaItem * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out IMFPMediaPlayer **ppMediaPlayer); | | _Out_ IMFPMediaPlayer **ppMediaPlayer); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetURL )( | | HRESULT ( STDMETHODCALLTYPE *GetURL )( |
| IMFPMediaItem * This, | | IMFPMediaItem * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out LPWSTR *ppwszURL); | | _Out_ LPWSTR *ppwszURL); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetObject )( | | HRESULT ( STDMETHODCALLTYPE *GetObject )( |
| IMFPMediaItem * This, | | IMFPMediaItem * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out IUnknown **ppIUnknown); | | _Out_ IUnknown **ppIUnknown); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetUserData )( | | HRESULT ( STDMETHODCALLTYPE *GetUserData )( |
| IMFPMediaItem * This, | | IMFPMediaItem * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out DWORD_PTR *pdwUserData); | | _Out_ DWORD_PTR *pdwUserData); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetUserData )( | | HRESULT ( STDMETHODCALLTYPE *SetUserData )( |
| IMFPMediaItem * This, | | IMFPMediaItem * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD_PTR dwUserData); | | _In_ DWORD_PTR dwUserData); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetStartStopPosition )( | | HRESULT ( STDMETHODCALLTYPE *GetStartStopPosition )( |
| IMFPMediaItem * This, | | IMFPMediaItem * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt GUID *pguidStartPositionType, | | _Out_opt_ GUID *pguidStartPositionType, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt PROPVARIANT *pvStartValue, | | _Out_opt_ PROPVARIANT *pvStartValue, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt GUID *pguidStopPositionType, | | _Out_opt_ GUID *pguidStopPositionType, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt PROPVARIANT *pvStopValue); | | _Out_opt_ PROPVARIANT *pvStopValue); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetStartStopPosition )( | | HRESULT ( STDMETHODCALLTYPE *SetStartStopPosition )( |
| IMFPMediaItem * This, | | IMFPMediaItem * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in_opt const GUID *pguidStartPositionType, | | _In_opt_ const GUID *pguidStartPositionType, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in_opt const PROPVARIANT *pvStartValue, | | _In_opt_ const PROPVARIANT *pvStartValue, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in_opt const GUID *pguidStopPositionType, | | _In_opt_ const GUID *pguidStopPositionType, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in_opt const PROPVARIANT *pvStopValue); | | _In_opt_ const PROPVARIANT *pvStopValue); |
| | |
| HRESULT ( STDMETHODCALLTYPE *HasVideo )( | | HRESULT ( STDMETHODCALLTYPE *HasVideo )( |
| IMFPMediaItem * This, | | IMFPMediaItem * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt BOOL *pfHasVideo, | | _Out_opt_ BOOL *pfHasVideo, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt BOOL *pfSelected); | | _Out_opt_ BOOL *pfSelected); |
| | |
| HRESULT ( STDMETHODCALLTYPE *HasAudio )( | | HRESULT ( STDMETHODCALLTYPE *HasAudio )( |
| IMFPMediaItem * This, | | IMFPMediaItem * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt BOOL *pfHasAudio, | | _Out_opt_ BOOL *pfHasAudio, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt BOOL *pfSelected); | | _Out_opt_ BOOL *pfSelected); |
| | |
| HRESULT ( STDMETHODCALLTYPE *IsProtected )( | | HRESULT ( STDMETHODCALLTYPE *IsProtected )( |
| IMFPMediaItem * This, | | IMFPMediaItem * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out BOOL *pfProtected); | | _Out_ BOOL *pfProtected); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetDuration )( | | HRESULT ( STDMETHODCALLTYPE *GetDuration )( |
| IMFPMediaItem * This, | | IMFPMediaItem * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in REFGUID guidPositionType, | | _In_ REFGUID guidPositionType, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out PROPVARIANT *pvDurationValue); | | _Out_ PROPVARIANT *pvDurationValue); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetNumberOfStreams )( | | HRESULT ( STDMETHODCALLTYPE *GetNumberOfStreams )( |
| IMFPMediaItem * This, | | IMFPMediaItem * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out DWORD *pdwStreamCount); | | _Out_ DWORD *pdwStreamCount); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetStreamSelection )( | | HRESULT ( STDMETHODCALLTYPE *GetStreamSelection )( |
| IMFPMediaItem * This, | | IMFPMediaItem * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out BOOL *pfEnabled); | | _Out_ BOOL *pfEnabled); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetStreamSelection )( | | HRESULT ( STDMETHODCALLTYPE *SetStreamSelection )( |
| IMFPMediaItem * This, | | IMFPMediaItem * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in BOOL fEnabled); | | _In_ BOOL fEnabled); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetStreamAttribute )( | | HRESULT ( STDMETHODCALLTYPE *GetStreamAttribute )( |
| IMFPMediaItem * This, | | IMFPMediaItem * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in REFGUID guidMFAttribute, | | _In_ REFGUID guidMFAttribute, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out PROPVARIANT *pvValue); | | _Out_ PROPVARIANT *pvValue); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetPresentationAttribute )( | | HRESULT ( STDMETHODCALLTYPE *GetPresentationAttribute )( |
| IMFPMediaItem * This, | | IMFPMediaItem * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in REFGUID guidMFAttribute, | | _In_ REFGUID guidMFAttribute, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out PROPVARIANT *pvValue); | | _Out_ PROPVARIANT *pvValue); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetCharacteristics )( | | HRESULT ( STDMETHODCALLTYPE *GetCharacteristics )( |
| IMFPMediaItem * This, | | IMFPMediaItem * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out MFP_MEDIAITEM_CHARACTERISTICS *pCharacteristics); | | _Out_ MFP_MEDIAITEM_CHARACTERISTICS *pCharacteristics); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetStreamSink )( | | HRESULT ( STDMETHODCALLTYPE *SetStreamSink )( |
| IMFPMediaItem * This, | | IMFPMediaItem * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in_opt IUnknown *pMediaSink); | | _In_opt_ IUnknown *pMediaSink); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetMetadata )( | | HRESULT ( STDMETHODCALLTYPE *GetMetadata )( |
| IMFPMediaItem * This, | | IMFPMediaItem * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out IPropertyStore **ppMetadataStore); | | _Out_ IPropertyStore **ppMetadataStore); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IMFPMediaItemVtbl; | | } IMFPMediaItemVtbl; |
| | |
| interface IMFPMediaItem | | interface IMFPMediaItem |
| { | | { |
| CONST_VTBL struct IMFPMediaItemVtbl *lpVtbl; | | CONST_VTBL struct IMFPMediaItemVtbl *lpVtbl; |
| }; | | }; |
| | |
| #ifdef COBJMACROS | | #ifdef COBJMACROS |
| | |
| skipping to change at line 1007 | | skipping to change at line 1009 |
| | |
| #endif /* C style interface */ | | #endif /* C style interface */ |
| | |
| #endif /* __IMFPMediaItem_INTERFACE_DEFINED__ */ | | #endif /* __IMFPMediaItem_INTERFACE_DEFINED__ */ |
| | |
| /* interface __MIDL_itf_mfplay_0000_0002 */ | | /* interface __MIDL_itf_mfplay_0000_0002 */ |
| /* [local] */ | | /* [local] */ |
| | |
| typedef | | typedef |
| enum MFP_EVENT_TYPE | | enum MFP_EVENT_TYPE |
|
| { MFP_EVENT_TYPE_PLAY = 0, | | { |
| MFP_EVENT_TYPE_PAUSE = 1, | | MFP_EVENT_TYPE_PLAY = 0, |
| MFP_EVENT_TYPE_STOP = 2, | | MFP_EVENT_TYPE_PAUSE = 1, |
| MFP_EVENT_TYPE_POSITION_SET = 3, | | MFP_EVENT_TYPE_STOP = 2, |
| MFP_EVENT_TYPE_RATE_SET = 4, | | MFP_EVENT_TYPE_POSITION_SET = 3, |
| MFP_EVENT_TYPE_MEDIAITEM_CREATED = 5, | | MFP_EVENT_TYPE_RATE_SET = 4, |
| MFP_EVENT_TYPE_MEDIAITEM_SET = 6, | | MFP_EVENT_TYPE_MEDIAITEM_CREATED = 5, |
| MFP_EVENT_TYPE_FRAME_STEP = 7, | | MFP_EVENT_TYPE_MEDIAITEM_SET = 6, |
| MFP_EVENT_TYPE_MEDIAITEM_CLEARED = 8, | | MFP_EVENT_TYPE_FRAME_STEP = 7, |
| MFP_EVENT_TYPE_MF = 9, | | MFP_EVENT_TYPE_MEDIAITEM_CLEARED = 8, |
| MFP_EVENT_TYPE_ERROR = 10, | | MFP_EVENT_TYPE_MF = 9, |
| MFP_EVENT_TYPE_PLAYBACK_ENDED = 11, | | MFP_EVENT_TYPE_ERROR = 10, |
| MFP_EVENT_TYPE_ACQUIRE_USER_CREDENTIAL = 12 | | MFP_EVENT_TYPE_PLAYBACK_ENDED = 11, |
| | MFP_EVENT_TYPE_ACQUIRE_USER_CREDENTIAL = 12 |
| } MFP_EVENT_TYPE; | | } MFP_EVENT_TYPE; |
| | |
| typedef struct MFP_EVENT_HEADER | | typedef struct MFP_EVENT_HEADER |
| { | | { |
| MFP_EVENT_TYPE eEventType; | | MFP_EVENT_TYPE eEventType; |
| HRESULT hrEvent; | | HRESULT hrEvent; |
| IMFPMediaPlayer *pMediaPlayer; | | IMFPMediaPlayer *pMediaPlayer; |
| MFP_MEDIAPLAYER_STATE eState; | | MFP_MEDIAPLAYER_STATE eState; |
| IPropertyStore *pPropertyStore; | | IPropertyStore *pPropertyStore; |
| } MFP_EVENT_HEADER; | | } MFP_EVENT_HEADER; |
| | |
| skipping to change at line 1157 | | skipping to change at line 1160 |
| EXTERN_C const IID IID_IMFPMediaPlayerCallback; | | EXTERN_C const IID IID_IMFPMediaPlayerCallback; |
| | |
| #if defined(__cplusplus) && !defined(CINTERFACE) | | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| MIDL_INTERFACE("766C8FFB-5FDB-4fea-A28D-B912996F51BD") | | MIDL_INTERFACE("766C8FFB-5FDB-4fea-A28D-B912996F51BD") |
| IMFPMediaPlayerCallback : public IUnknown | | IMFPMediaPlayerCallback : public IUnknown |
| { | | { |
| public: | | public: |
| virtual void STDMETHODCALLTYPE OnMediaPlayerEvent( | | virtual void STDMETHODCALLTYPE OnMediaPlayerEvent( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in MFP_EVENT_HEADER *pEventHeader) = 0; | | _In_ MFP_EVENT_HEADER *pEventHeader) = 0; |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IMFPMediaPlayerCallbackVtbl | | typedef struct IMFPMediaPlayerCallbackVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
| IMFPMediaPlayerCallback * This, | | IMFPMediaPlayerCallback * This, |
| /* [in] */ REFIID riid, | | /* [in] */ REFIID riid, |
| /* [annotation][iid_is][out] */ | | /* [annotation][iid_is][out] */ |
|
| __RPC__deref_out void **ppvObject); | | _COM_Outptr_ void **ppvObject); |
| | |
| ULONG ( STDMETHODCALLTYPE *AddRef )( | | ULONG ( STDMETHODCALLTYPE *AddRef )( |
| IMFPMediaPlayerCallback * This); | | IMFPMediaPlayerCallback * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
| IMFPMediaPlayerCallback * This); | | IMFPMediaPlayerCallback * This); |
| | |
| void ( STDMETHODCALLTYPE *OnMediaPlayerEvent )( | | void ( STDMETHODCALLTYPE *OnMediaPlayerEvent )( |
| IMFPMediaPlayerCallback * This, | | IMFPMediaPlayerCallback * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in MFP_EVENT_HEADER *pEventHeader); | | _In_ MFP_EVENT_HEADER *pEventHeader); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IMFPMediaPlayerCallbackVtbl; | | } IMFPMediaPlayerCallbackVtbl; |
| | |
| interface IMFPMediaPlayerCallback | | interface IMFPMediaPlayerCallback |
| { | | { |
| CONST_VTBL struct IMFPMediaPlayerCallbackVtbl *lpVtbl; | | CONST_VTBL struct IMFPMediaPlayerCallbackVtbl *lpVtbl; |
| }; | | }; |
| | |
| #ifdef COBJMACROS | | #ifdef COBJMACROS |
| | |
| skipping to change at line 1216 | | skipping to change at line 1219 |
| #endif /* COBJMACROS */ | | #endif /* COBJMACROS */ |
| | |
| #endif /* C style interface */ | | #endif /* C style interface */ |
| | |
| #endif /* __IMFPMediaPlayerCallback_INTERFACE_DEFINED__ */ | | #endif /* __IMFPMediaPlayerCallback_INTERFACE_DEFINED__ */ |
| | |
| /* interface __MIDL_itf_mfplay_0000_0003 */ | | /* interface __MIDL_itf_mfplay_0000_0003 */ |
| /* [local] */ | | /* [local] */ |
| | |
| #endif // (WINVER >= _WIN32_WINNT_WIN7) | | #endif // (WINVER >= _WIN32_WINNT_WIN7) |
|
| | #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ |
| | #pragma endregion |
| | |
| extern RPC_IF_HANDLE __MIDL_itf_mfplay_0000_0003_v0_0_c_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_mfplay_0000_0003_v0_0_c_ifspec; |
| extern RPC_IF_HANDLE __MIDL_itf_mfplay_0000_0003_v0_0_s_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_mfplay_0000_0003_v0_0_s_ifspec; |
| | |
| /* Additional Prototypes for ALL interfaces */ | | /* Additional Prototypes for ALL interfaces */ |
| | |
| /* end of Additional Prototypes */ | | /* end of Additional Prototypes */ |
| | |
| #ifdef __cplusplus | | #ifdef __cplusplus |
| } | | } |
| | |
| End of changes. 166 change blocks. |
| 204 lines changed or deleted | | 206 lines changed or added |
|