| mfreadwrite.h (12.0.7601.17514-Windows_7.0) | | mfreadwrite.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 mfreadwrite.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 51 | | skipping to change at line 43 |
| | |
| #if defined(_MSC_VER) && (_MSC_VER >= 1020) | | #if defined(_MSC_VER) && (_MSC_VER >= 1020) |
| #pragma once | | #pragma once |
| #endif | | #endif |
| | |
| /* Forward Declarations */ | | /* Forward Declarations */ |
| | |
| #ifndef __IMFReadWriteClassFactory_FWD_DEFINED__ | | #ifndef __IMFReadWriteClassFactory_FWD_DEFINED__ |
| #define __IMFReadWriteClassFactory_FWD_DEFINED__ | | #define __IMFReadWriteClassFactory_FWD_DEFINED__ |
| typedef interface IMFReadWriteClassFactory IMFReadWriteClassFactory; | | typedef interface IMFReadWriteClassFactory IMFReadWriteClassFactory; |
|
| | |
| #endif /* __IMFReadWriteClassFactory_FWD_DEFINED__ */ | | #endif /* __IMFReadWriteClassFactory_FWD_DEFINED__ */ |
| | |
| #ifndef __IMFSourceReader_FWD_DEFINED__ | | #ifndef __IMFSourceReader_FWD_DEFINED__ |
| #define __IMFSourceReader_FWD_DEFINED__ | | #define __IMFSourceReader_FWD_DEFINED__ |
| typedef interface IMFSourceReader IMFSourceReader; | | typedef interface IMFSourceReader IMFSourceReader; |
|
| | |
| #endif /* __IMFSourceReader_FWD_DEFINED__ */ | | #endif /* __IMFSourceReader_FWD_DEFINED__ */ |
| | |
|
| | #ifndef __IMFSourceReaderEx_FWD_DEFINED__ |
| | #define __IMFSourceReaderEx_FWD_DEFINED__ |
| | typedef interface IMFSourceReaderEx IMFSourceReaderEx; |
| | |
| | #endif /* __IMFSourceReaderEx_FWD_DEFINED__ */ |
| | |
| #ifndef __IMFSourceReaderCallback_FWD_DEFINED__ | | #ifndef __IMFSourceReaderCallback_FWD_DEFINED__ |
| #define __IMFSourceReaderCallback_FWD_DEFINED__ | | #define __IMFSourceReaderCallback_FWD_DEFINED__ |
| typedef interface IMFSourceReaderCallback IMFSourceReaderCallback; | | typedef interface IMFSourceReaderCallback IMFSourceReaderCallback; |
|
| | |
| #endif /* __IMFSourceReaderCallback_FWD_DEFINED__ */ | | #endif /* __IMFSourceReaderCallback_FWD_DEFINED__ */ |
| | |
| #ifndef __IMFSinkWriter_FWD_DEFINED__ | | #ifndef __IMFSinkWriter_FWD_DEFINED__ |
| #define __IMFSinkWriter_FWD_DEFINED__ | | #define __IMFSinkWriter_FWD_DEFINED__ |
| typedef interface IMFSinkWriter IMFSinkWriter; | | typedef interface IMFSinkWriter IMFSinkWriter; |
|
| | |
| #endif /* __IMFSinkWriter_FWD_DEFINED__ */ | | #endif /* __IMFSinkWriter_FWD_DEFINED__ */ |
| | |
|
| | #ifndef __IMFSinkWriterEx_FWD_DEFINED__ |
| | #define __IMFSinkWriterEx_FWD_DEFINED__ |
| | typedef interface IMFSinkWriterEx IMFSinkWriterEx; |
| | |
| | #endif /* __IMFSinkWriterEx_FWD_DEFINED__ */ |
| | |
| | #ifndef __IMFSinkWriterEncoderConfig_FWD_DEFINED__ |
| | #define __IMFSinkWriterEncoderConfig_FWD_DEFINED__ |
| | typedef interface IMFSinkWriterEncoderConfig IMFSinkWriterEncoderConfig; |
| | |
| | #endif /* __IMFSinkWriterEncoderConfig_FWD_DEFINED__ */ |
| | |
| #ifndef __IMFSinkWriterCallback_FWD_DEFINED__ | | #ifndef __IMFSinkWriterCallback_FWD_DEFINED__ |
| #define __IMFSinkWriterCallback_FWD_DEFINED__ | | #define __IMFSinkWriterCallback_FWD_DEFINED__ |
| typedef interface IMFSinkWriterCallback IMFSinkWriterCallback; | | typedef interface IMFSinkWriterCallback IMFSinkWriterCallback; |
|
| | |
| #endif /* __IMFSinkWriterCallback_FWD_DEFINED__ */ | | #endif /* __IMFSinkWriterCallback_FWD_DEFINED__ */ |
| | |
| /* header files for imported files */ | | /* header files for imported files */ |
| #include "mfobjects.h" | | #include "mfobjects.h" |
|
| | #include "MFTransform.h" |
| | |
| #ifdef __cplusplus | | #ifdef __cplusplus |
| extern "C"{ | | extern "C"{ |
| #endif | | #endif |
| | |
| /* interface __MIDL_itf_mfreadwrite_0000_0000 */ | | /* interface __MIDL_itf_mfreadwrite_0000_0000 */ |
| /* [local] */ | | /* [local] */ |
| | |
|
| | #include <winapifamily.h> |
| #if (WINVER >= _WIN32_WINNT_WIN7) | | #if (WINVER >= _WIN32_WINNT_WIN7) |
|
| | #pragma region Application Family |
| | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) |
| EXTERN_GUID(CLSID_MFReadWriteClassFactory, 0x48e2ed0f, 0x98c2, 0x4a37, 0xbe, 0xd
5, 0x16, 0x63, 0x12, 0xdd, 0xd8, 0x3f); | | EXTERN_GUID(CLSID_MFReadWriteClassFactory, 0x48e2ed0f, 0x98c2, 0x4a37, 0xbe, 0xd
5, 0x16, 0x63, 0x12, 0xdd, 0xd8, 0x3f); |
| | |
| extern RPC_IF_HANDLE __MIDL_itf_mfreadwrite_0000_0000_v0_0_c_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_mfreadwrite_0000_0000_v0_0_c_ifspec; |
| extern RPC_IF_HANDLE __MIDL_itf_mfreadwrite_0000_0000_v0_0_s_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_mfreadwrite_0000_0000_v0_0_s_ifspec; |
| | |
| #ifndef __IMFReadWriteClassFactory_INTERFACE_DEFINED__ | | #ifndef __IMFReadWriteClassFactory_INTERFACE_DEFINED__ |
| #define __IMFReadWriteClassFactory_INTERFACE_DEFINED__ | | #define __IMFReadWriteClassFactory_INTERFACE_DEFINED__ |
| | |
| /* interface IMFReadWriteClassFactory */ | | /* interface IMFReadWriteClassFactory */ |
| /* [local][uuid][object] */ | | /* [local][uuid][object] */ |
| | |
| skipping to change at line 105 | | skipping to change at line 124 |
| EXTERN_C const IID IID_IMFReadWriteClassFactory; | | EXTERN_C const IID IID_IMFReadWriteClassFactory; |
| | |
| #if defined(__cplusplus) && !defined(CINTERFACE) | | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| MIDL_INTERFACE("E7FE2E12-661C-40DA-92F9-4F002AB67627") | | MIDL_INTERFACE("E7FE2E12-661C-40DA-92F9-4F002AB67627") |
| IMFReadWriteClassFactory : public IUnknown | | IMFReadWriteClassFactory : public IUnknown |
| { | | { |
| public: | | public: |
| virtual HRESULT STDMETHODCALLTYPE CreateInstanceFromURL( | | virtual HRESULT STDMETHODCALLTYPE CreateInstanceFromURL( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in REFCLSID clsid, | | _In_ REFCLSID clsid, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in LPCWSTR pwszURL, | | _In_ LPCWSTR pwszURL, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in_opt IMFAttributes *pAttributes, | | _In_opt_ IMFAttributes *pAttributes, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][iid_is][out] */ | | /* [annotation][iid_is][out] */ |
|
| __out LPVOID *ppvObject) = 0; | | _Out_ LPVOID *ppvObject) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE CreateInstanceFromObject( | | virtual HRESULT STDMETHODCALLTYPE CreateInstanceFromObject( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in REFCLSID clsid, | | _In_ REFCLSID clsid, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in IUnknown *punkObject, | | _In_ IUnknown *punkObject, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in_opt IMFAttributes *pAttributes, | | _In_opt_ IMFAttributes *pAttributes, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][iid_is][out] */ | | /* [annotation][iid_is][out] */ |
|
| __out LPVOID *ppvObject) = 0; | | _Out_ LPVOID *ppvObject) = 0; |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IMFReadWriteClassFactoryVtbl | | typedef struct IMFReadWriteClassFactoryVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
| IMFReadWriteClassFactory * This, | | IMFReadWriteClassFactory * 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 )( |
| IMFReadWriteClassFactory * This); | | IMFReadWriteClassFactory * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
| IMFReadWriteClassFactory * This); | | IMFReadWriteClassFactory * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateInstanceFromURL )( | | HRESULT ( STDMETHODCALLTYPE *CreateInstanceFromURL )( |
| IMFReadWriteClassFactory * This, | | IMFReadWriteClassFactory * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in REFCLSID clsid, | | _In_ REFCLSID clsid, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in LPCWSTR pwszURL, | | _In_ LPCWSTR pwszURL, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in_opt IMFAttributes *pAttributes, | | _In_opt_ IMFAttributes *pAttributes, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][iid_is][out] */ | | /* [annotation][iid_is][out] */ |
|
| __out LPVOID *ppvObject); | | _Out_ LPVOID *ppvObject); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateInstanceFromObject )( | | HRESULT ( STDMETHODCALLTYPE *CreateInstanceFromObject )( |
| IMFReadWriteClassFactory * This, | | IMFReadWriteClassFactory * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in REFCLSID clsid, | | _In_ REFCLSID clsid, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in IUnknown *punkObject, | | _In_ IUnknown *punkObject, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in_opt IMFAttributes *pAttributes, | | _In_opt_ IMFAttributes *pAttributes, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][iid_is][out] */ | | /* [annotation][iid_is][out] */ |
|
| __out LPVOID *ppvObject); | | _Out_ LPVOID *ppvObject); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IMFReadWriteClassFactoryVtbl; | | } IMFReadWriteClassFactoryVtbl; |
| | |
| interface IMFReadWriteClassFactory | | interface IMFReadWriteClassFactory |
| { | | { |
| CONST_VTBL struct IMFReadWriteClassFactoryVtbl *lpVtbl; | | CONST_VTBL struct IMFReadWriteClassFactoryVtbl *lpVtbl; |
| }; | | }; |
| | |
| #ifdef COBJMACROS | | #ifdef COBJMACROS |
| | |
| skipping to change at line 209 | | skipping to change at line 228 |
| | |
| #endif /* C style interface */ | | #endif /* C style interface */ |
| | |
| #endif /* __IMFReadWriteClassFactory_INTERFACE_DEFINED__ */ | | #endif /* __IMFReadWriteClassFactory_INTERFACE_DEFINED__ */ |
| | |
| /* interface __MIDL_itf_mfreadwrite_0000_0001 */ | | /* interface __MIDL_itf_mfreadwrite_0000_0001 */ |
| /* [local] */ | | /* [local] */ |
| | |
| EXTERN_GUID(CLSID_MFSourceReader, 0x1777133c, 0x0881, 0x411b, 0xa5, 0x77, 0xad,
0x54, 0x5f, 0x07, 0x14, 0xc4); | | EXTERN_GUID(CLSID_MFSourceReader, 0x1777133c, 0x0881, 0x411b, 0xa5, 0x77, 0xad,
0x54, 0x5f, 0x07, 0x14, 0xc4); |
| STDAPI MFCreateSourceReaderFromURL( | | STDAPI MFCreateSourceReaderFromURL( |
|
| __in LPCWSTR pwszURL, | | _In_ LPCWSTR pwszURL, |
| __in_opt IMFAttributes *pAttributes, | | _In_opt_ IMFAttributes *pAttributes, |
| __out IMFSourceReader **ppSourceReader ); | | _Out_ IMFSourceReader **ppSourceReader ); |
| STDAPI MFCreateSourceReaderFromByteStream( | | STDAPI MFCreateSourceReaderFromByteStream( |
|
| __in IMFByteStream *pByteStream, | | _In_ IMFByteStream *pByteStream, |
| __in_opt IMFAttributes *pAttributes, | | _In_opt_ IMFAttributes *pAttributes, |
| __out IMFSourceReader **ppSourceReader ); | | _Out_ IMFSourceReader **ppSourceReader ); |
| STDAPI MFCreateSourceReaderFromMediaSource( | | STDAPI MFCreateSourceReaderFromMediaSource( |
|
| __in IMFMediaSource *pMediaSource, | | _In_ IMFMediaSource *pMediaSource, |
| __in_opt IMFAttributes *pAttributes, | | _In_opt_ IMFAttributes *pAttributes, |
| __out IMFSourceReader **ppSourceReader ); | | _Out_ IMFSourceReader **ppSourceReader ); |
| EXTERN_GUID( MF_SOURCE_READER_ASYNC_CALLBACK, 0x1e3dbeac, 0xbb43, 0x4c35, 0xb5,
0x07, 0xcd, 0x64, 0x44, 0x64, 0xc9, 0x65); | | EXTERN_GUID( MF_SOURCE_READER_ASYNC_CALLBACK, 0x1e3dbeac, 0xbb43, 0x4c35, 0xb5,
0x07, 0xcd, 0x64, 0x44, 0x64, 0xc9, 0x65); |
| EXTERN_GUID( MF_SOURCE_READER_D3D_MANAGER, 0xec822da2, 0xe1e9, 0x4b29, 0xa0, 0xd
8, 0x56, 0x3c, 0x71, 0x9f, 0x52, 0x69); | | EXTERN_GUID( MF_SOURCE_READER_D3D_MANAGER, 0xec822da2, 0xe1e9, 0x4b29, 0xa0, 0xd
8, 0x56, 0x3c, 0x71, 0x9f, 0x52, 0x69); |
| EXTERN_GUID( MF_SOURCE_READER_DISABLE_DXVA, 0xaa456cfd, 0x3943, 0x4a1e, 0xa7, 0x
7d, 0x18, 0x38, 0xc0, 0xea, 0x2e, 0x35); | | EXTERN_GUID( MF_SOURCE_READER_DISABLE_DXVA, 0xaa456cfd, 0x3943, 0x4a1e, 0xa7, 0x
7d, 0x18, 0x38, 0xc0, 0xea, 0x2e, 0x35); |
| EXTERN_GUID( MF_SOURCE_READER_MEDIASOURCE_CONFIG, 0x9085abeb, 0x0354, 0x48f9, 0x
ab, 0xb5, 0x20, 0x0d, 0xf8, 0x38, 0xc6, 0x8e); | | EXTERN_GUID( MF_SOURCE_READER_MEDIASOURCE_CONFIG, 0x9085abeb, 0x0354, 0x48f9, 0x
ab, 0xb5, 0x20, 0x0d, 0xf8, 0x38, 0xc6, 0x8e); |
| EXTERN_GUID( MF_SOURCE_READER_MEDIASOURCE_CHARACTERISTICS, 0x6d23f5c8, 0xc5d7, 0
x4a9b, 0x99, 0x71, 0x5d, 0x11, 0xf8, 0xbc, 0xa8, 0x80); | | EXTERN_GUID( MF_SOURCE_READER_MEDIASOURCE_CHARACTERISTICS, 0x6d23f5c8, 0xc5d7, 0
x4a9b, 0x99, 0x71, 0x5d, 0x11, 0xf8, 0xbc, 0xa8, 0x80); |
| EXTERN_GUID( MF_SOURCE_READER_ENABLE_VIDEO_PROCESSING, 0xfb394f3d, 0xccf1, 0x42e
e, 0xbb, 0xb3, 0xf9, 0xb8, 0x45, 0xd5, 0x68, 0x1d); | | EXTERN_GUID( MF_SOURCE_READER_ENABLE_VIDEO_PROCESSING, 0xfb394f3d, 0xccf1, 0x42e
e, 0xbb, 0xb3, 0xf9, 0xb8, 0x45, 0xd5, 0x68, 0x1d); |
|
| | #if (WINVER >= _WIN32_WINNT_WIN8) |
| | EXTERN_GUID( MF_SOURCE_READER_ENABLE_ADVANCED_VIDEO_PROCESSING, 0xf81da2c, 0xb53 |
| | 7, 0x4672, 0xa8, 0xb2, 0xa6, 0x81, 0xb1, 0x73, 0x7, 0xa3); |
| | EXTERN_GUID( MF_SOURCE_READER_DISABLE_CAMERA_PLUGINS, 0x9d3365dd, 0x58f, 0x4cfb, |
| | 0x9f, 0x97, 0xb3, 0x14, 0xcc, 0x99, 0xc8, 0xad ); |
| | #endif |
| EXTERN_GUID( MF_SOURCE_READER_DISCONNECT_MEDIASOURCE_ON_SHUTDOWN, 0x56b67165, 0x
219e, 0x456d, 0xa2, 0x2e, 0x2d, 0x30, 0x04, 0xc7, 0xfe, 0x56); | | EXTERN_GUID( MF_SOURCE_READER_DISCONNECT_MEDIASOURCE_ON_SHUTDOWN, 0x56b67165, 0x
219e, 0x456d, 0xa2, 0x2e, 0x2d, 0x30, 0x04, 0xc7, 0xfe, 0x56); |
|
| | EXTERN_GUID( MF_SOURCE_READER_ENABLE_TRANSCODE_ONLY_TRANSFORMS, 0xdfd4f008, 0xb5
fd, 0x4e78, 0xae, 0x44, 0x62, 0xa1, 0xe6, 0x7b, 0xbe, 0x27); |
| typedef /* [v1_enum] */ | | typedef /* [v1_enum] */ |
| enum MF_SOURCE_READER_FLAG | | enum MF_SOURCE_READER_FLAG |
|
| { MF_SOURCE_READERF_ERROR = 0x1, | | { |
| MF_SOURCE_READERF_ENDOFSTREAM = 0x2, | | MF_SOURCE_READERF_ERROR = 0x1, |
| MF_SOURCE_READERF_NEWSTREAM = 0x4, | | MF_SOURCE_READERF_ENDOFSTREAM = 0x2, |
| MF_SOURCE_READERF_NATIVEMEDIATYPECHANGED = 0x10, | | MF_SOURCE_READERF_NEWSTREAM = 0x4, |
| MF_SOURCE_READERF_CURRENTMEDIATYPECHANGED = 0x20, | | MF_SOURCE_READERF_NATIVEMEDIATYPECHANGED = 0x10, |
| MF_SOURCE_READERF_STREAMTICK = 0x100 | | MF_SOURCE_READERF_CURRENTMEDIATYPECHANGED = 0x20, |
| | MF_SOURCE_READERF_STREAMTICK = 0x100, |
| | MF_SOURCE_READERF_ALLEFFECTSREMOVED = 0x200 |
| } MF_SOURCE_READER_FLAG; | | } MF_SOURCE_READER_FLAG; |
| | |
| DEFINE_ENUM_FLAG_OPERATORS(MF_SOURCE_READER_FLAG) | | DEFINE_ENUM_FLAG_OPERATORS(MF_SOURCE_READER_FLAG) |
| typedef /* [v1_enum] */ | | typedef /* [v1_enum] */ |
| enum MF_SOURCE_READER_CONTROL_FLAG | | enum MF_SOURCE_READER_CONTROL_FLAG |
|
| { MF_SOURCE_READER_CONTROLF_DRAIN = 0x1 | | { |
| | MF_SOURCE_READER_CONTROLF_DRAIN = 0x1 |
| } MF_SOURCE_READER_CONTROL_FLAG; | | } MF_SOURCE_READER_CONTROL_FLAG; |
| | |
| DEFINE_ENUM_FLAG_OPERATORS(MF_SOURCE_READER_CONTROL_FLAG) | | DEFINE_ENUM_FLAG_OPERATORS(MF_SOURCE_READER_CONTROL_FLAG) |
| | |
| enum __MIDL___MIDL_itf_mfreadwrite_0000_0001_0001 | | enum __MIDL___MIDL_itf_mfreadwrite_0000_0001_0001 |
|
| { MF_SOURCE_READER_INVALID_STREAM_INDEX = 0xffffffff, | | { |
| MF_SOURCE_READER_ALL_STREAMS = 0xfffffffe, | | MF_SOURCE_READER_INVALID_STREAM_INDEX = 0xffffffff, |
| MF_SOURCE_READER_ANY_STREAM = 0xfffffffe, | | MF_SOURCE_READER_ALL_STREAMS = 0xfffffffe, |
| MF_SOURCE_READER_FIRST_AUDIO_STREAM = 0xfffffffd, | | MF_SOURCE_READER_ANY_STREAM = 0xfffffffe, |
| MF_SOURCE_READER_FIRST_VIDEO_STREAM = 0xfffffffc, | | MF_SOURCE_READER_FIRST_AUDIO_STREAM = 0xfffffffd, |
| MF_SOURCE_READER_MEDIASOURCE = 0xffffffff | | MF_SOURCE_READER_FIRST_VIDEO_STREAM = 0xfffffffc, |
| | MF_SOURCE_READER_MEDIASOURCE = 0xffffffff |
| | } ; |
| | #if (WINVER >= _WIN32_WINNT_WIN8) |
| | |
| | enum __MIDL___MIDL_itf_mfreadwrite_0000_0001_0002 |
| | { |
| | MF_SOURCE_READER_CURRENT_TYPE_INDEX = 0xffffffff |
| } ; | | } ; |
|
| | #endif // (WINVER >= _WIN32_WINNT_WIN8) |
| | |
| extern RPC_IF_HANDLE __MIDL_itf_mfreadwrite_0000_0001_v0_0_c_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_mfreadwrite_0000_0001_v0_0_c_ifspec; |
| extern RPC_IF_HANDLE __MIDL_itf_mfreadwrite_0000_0001_v0_0_s_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_mfreadwrite_0000_0001_v0_0_s_ifspec; |
| | |
| #ifndef __IMFSourceReader_INTERFACE_DEFINED__ | | #ifndef __IMFSourceReader_INTERFACE_DEFINED__ |
| #define __IMFSourceReader_INTERFACE_DEFINED__ | | #define __IMFSourceReader_INTERFACE_DEFINED__ |
| | |
| /* interface IMFSourceReader */ | | /* interface IMFSourceReader */ |
| /* [local][uuid][object] */ | | /* [local][uuid][object] */ |
| | |
| EXTERN_C const IID IID_IMFSourceReader; | | EXTERN_C const IID IID_IMFSourceReader; |
| | |
| #if defined(__cplusplus) && !defined(CINTERFACE) | | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| MIDL_INTERFACE("70ae66f2-c809-4e4f-8915-bdcb406b7993") | | MIDL_INTERFACE("70ae66f2-c809-4e4f-8915-bdcb406b7993") |
| IMFSourceReader : public IUnknown | | IMFSourceReader : public IUnknown |
| { | | { |
| public: | | public: |
| virtual HRESULT STDMETHODCALLTYPE GetStreamSelection( | | virtual HRESULT STDMETHODCALLTYPE GetStreamSelection( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out BOOL *pfSelected) = 0; | | _Out_ BOOL *pfSelected) = 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 fSelected) = 0; | | _In_ BOOL fSelected) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetNativeMediaType( | | virtual HRESULT STDMETHODCALLTYPE GetNativeMediaType( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwMediaTypeIndex, | | _In_ DWORD dwMediaTypeIndex, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out IMFMediaType **ppMediaType) = 0; | | _Out_ IMFMediaType **ppMediaType) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetCurrentMediaType( | | virtual HRESULT STDMETHODCALLTYPE GetCurrentMediaType( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out IMFMediaType **ppMediaType) = 0; | | _Out_ IMFMediaType **ppMediaType) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE SetCurrentMediaType( | | virtual HRESULT STDMETHODCALLTYPE SetCurrentMediaType( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][out][in] */ | | /* [annotation][out][in] */ |
|
| __reserved DWORD *pdwReserved, | | _Reserved_ DWORD *pdwReserved, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in IMFMediaType *pMediaType) = 0; | | _In_ IMFMediaType *pMediaType) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE SetCurrentPosition( | | virtual HRESULT STDMETHODCALLTYPE SetCurrentPosition( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in REFGUID guidTimeFormat, | | _In_ REFGUID guidTimeFormat, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in REFPROPVARIANT varPosition) = 0; | | _In_ REFPROPVARIANT varPosition) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE ReadSample( | | virtual HRESULT STDMETHODCALLTYPE ReadSample( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwControlFlags, | | _In_ DWORD dwControlFlags, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt DWORD *pdwActualStreamIndex, | | _Out_opt_ DWORD *pdwActualStreamIndex, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt DWORD *pdwStreamFlags, | | _Out_opt_ DWORD *pdwStreamFlags, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt LONGLONG *pllTimestamp, | | _Out_opt_ LONGLONG *pllTimestamp, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt IMFSample **ppSample) = 0; | | _Out_opt_ IMFSample **ppSample) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE Flush( | | virtual HRESULT STDMETHODCALLTYPE Flush( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex) = 0; | | _In_ DWORD dwStreamIndex) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetServiceForStream( | | virtual HRESULT STDMETHODCALLTYPE GetServiceForStream( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in REFGUID guidService, | | _In_ REFGUID guidService, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out LPVOID *ppvObject) = 0; | | _Out_ LPVOID *ppvObject) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetPresentationAttribute( | | virtual HRESULT STDMETHODCALLTYPE GetPresentationAttribute( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in REFGUID guidAttribute, | | _In_ REFGUID guidAttribute, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out PROPVARIANT *pvarAttribute) = 0; | | _Out_ PROPVARIANT *pvarAttribute) = 0; |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IMFSourceReaderVtbl | | typedef struct IMFSourceReaderVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
| IMFSourceReader * This, | | IMFSourceReader * 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 )( |
| IMFSourceReader * This); | | IMFSourceReader * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
| IMFSourceReader * This); | | IMFSourceReader * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetStreamSelection )( | | HRESULT ( STDMETHODCALLTYPE *GetStreamSelection )( |
| IMFSourceReader * This, | | IMFSourceReader * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out BOOL *pfSelected); | | _Out_ BOOL *pfSelected); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetStreamSelection )( | | HRESULT ( STDMETHODCALLTYPE *SetStreamSelection )( |
| IMFSourceReader * This, | | IMFSourceReader * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in BOOL fSelected); | | _In_ BOOL fSelected); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetNativeMediaType )( | | HRESULT ( STDMETHODCALLTYPE *GetNativeMediaType )( |
| IMFSourceReader * This, | | IMFSourceReader * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwMediaTypeIndex, | | _In_ DWORD dwMediaTypeIndex, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out IMFMediaType **ppMediaType); | | _Out_ IMFMediaType **ppMediaType); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetCurrentMediaType )( | | HRESULT ( STDMETHODCALLTYPE *GetCurrentMediaType )( |
| IMFSourceReader * This, | | IMFSourceReader * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out IMFMediaType **ppMediaType); | | _Out_ IMFMediaType **ppMediaType); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetCurrentMediaType )( | | HRESULT ( STDMETHODCALLTYPE *SetCurrentMediaType )( |
| IMFSourceReader * This, | | IMFSourceReader * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][out][in] */ | | /* [annotation][out][in] */ |
|
| __reserved DWORD *pdwReserved, | | _Reserved_ DWORD *pdwReserved, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in IMFMediaType *pMediaType); | | _In_ IMFMediaType *pMediaType); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetCurrentPosition )( | | HRESULT ( STDMETHODCALLTYPE *SetCurrentPosition )( |
| IMFSourceReader * This, | | IMFSourceReader * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in REFGUID guidTimeFormat, | | _In_ REFGUID guidTimeFormat, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in REFPROPVARIANT varPosition); | | _In_ REFPROPVARIANT varPosition); |
| | |
| HRESULT ( STDMETHODCALLTYPE *ReadSample )( | | HRESULT ( STDMETHODCALLTYPE *ReadSample )( |
| IMFSourceReader * This, | | IMFSourceReader * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwControlFlags, | | _In_ DWORD dwControlFlags, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt DWORD *pdwActualStreamIndex, | | _Out_opt_ DWORD *pdwActualStreamIndex, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt DWORD *pdwStreamFlags, | | _Out_opt_ DWORD *pdwStreamFlags, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt LONGLONG *pllTimestamp, | | _Out_opt_ LONGLONG *pllTimestamp, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out_opt IMFSample **ppSample); | | _Out_opt_ IMFSample **ppSample); |
| | |
| HRESULT ( STDMETHODCALLTYPE *Flush )( | | HRESULT ( STDMETHODCALLTYPE *Flush )( |
| IMFSourceReader * This, | | IMFSourceReader * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex); | | _In_ DWORD dwStreamIndex); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetServiceForStream )( | | HRESULT ( STDMETHODCALLTYPE *GetServiceForStream )( |
| IMFSourceReader * This, | | IMFSourceReader * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in REFGUID guidService, | | _In_ REFGUID guidService, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out LPVOID *ppvObject); | | _Out_ LPVOID *ppvObject); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetPresentationAttribute )( | | HRESULT ( STDMETHODCALLTYPE *GetPresentationAttribute )( |
| IMFSourceReader * This, | | IMFSourceReader * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in REFGUID guidAttribute, | | _In_ REFGUID guidAttribute, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out PROPVARIANT *pvarAttribute); | | _Out_ PROPVARIANT *pvarAttribute); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IMFSourceReaderVtbl; | | } IMFSourceReaderVtbl; |
| | |
| interface IMFSourceReader | | interface IMFSourceReader |
| { | | { |
| CONST_VTBL struct IMFSourceReaderVtbl *lpVtbl; | | CONST_VTBL struct IMFSourceReaderVtbl *lpVtbl; |
| }; | | }; |
| | |
| #ifdef COBJMACROS | | #ifdef COBJMACROS |
| | |
| skipping to change at line 508 | | skipping to change at line 543 |
| | |
| #define IMFSourceReader_GetPresentationAttribute(This,dwStreamIndex,guidAttribut
e,pvarAttribute) \ | | #define IMFSourceReader_GetPresentationAttribute(This,dwStreamIndex,guidAttribut
e,pvarAttribute) \ |
| ( (This)->lpVtbl -> GetPresentationAttribute(This,dwStreamIndex,guidAttribut
e,pvarAttribute) ) | | ( (This)->lpVtbl -> GetPresentationAttribute(This,dwStreamIndex,guidAttribut
e,pvarAttribute) ) |
| | |
| #endif /* COBJMACROS */ | | #endif /* COBJMACROS */ |
| | |
| #endif /* C style interface */ | | #endif /* C style interface */ |
| | |
| #endif /* __IMFSourceReader_INTERFACE_DEFINED__ */ | | #endif /* __IMFSourceReader_INTERFACE_DEFINED__ */ |
| | |
|
| | /* interface __MIDL_itf_mfreadwrite_0000_0002 */ |
| | /* [local] */ |
| | |
| | #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) */ |
| | #pragma endregion |
| | #if (WINVER >= _WIN32_WINNT_WIN8) |
| | #pragma region Application Family |
| | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) |
| | |
| | extern RPC_IF_HANDLE __MIDL_itf_mfreadwrite_0000_0002_v0_0_c_ifspec; |
| | extern RPC_IF_HANDLE __MIDL_itf_mfreadwrite_0000_0002_v0_0_s_ifspec; |
| | |
| | #ifndef __IMFSourceReaderEx_INTERFACE_DEFINED__ |
| | #define __IMFSourceReaderEx_INTERFACE_DEFINED__ |
| | |
| | /* interface IMFSourceReaderEx */ |
| | /* [local][uuid][object] */ |
| | |
| | EXTERN_C const IID IID_IMFSourceReaderEx; |
| | |
| | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| | MIDL_INTERFACE("7b981cf0-560e-4116-9875-b099895f23d7") |
| | IMFSourceReaderEx : public IMFSourceReader |
| | { |
| | public: |
| | virtual HRESULT STDMETHODCALLTYPE SetNativeMediaType( |
| | /* [annotation][in] */ |
| | _In_ DWORD dwStreamIndex, |
| | /* [annotation][in] */ |
| | _In_opt_ IMFMediaType *pMediaType, |
| | /* [annotation][out] */ |
| | _Out_ DWORD *pdwStreamFlags) = 0; |
| | |
| | virtual HRESULT STDMETHODCALLTYPE AddTransformForStream( |
| | /* [annotation][in] */ |
| | _In_ DWORD dwStreamIndex, |
| | /* [annotation][in] */ |
| | _In_ IUnknown *pTransformOrActivate) = 0; |
| | |
| | virtual HRESULT STDMETHODCALLTYPE RemoveAllTransformsForStream( |
| | /* [annotation][in] */ |
| | _In_ DWORD dwStreamIndex) = 0; |
| | |
| | virtual HRESULT STDMETHODCALLTYPE GetTransformForStream( |
| | /* [annotation][in] */ |
| | _In_ DWORD dwStreamIndex, |
| | /* [annotation][in] */ |
| | _In_ DWORD dwTransformIndex, |
| | /* [annotation][out] */ |
| | _Out_opt_ GUID *pGuidCategory, |
| | /* [annotation][out] */ |
| | _Out_ IMFTransform **ppTransform) = 0; |
| | |
| | }; |
| | |
| | #else /* C style interface */ |
| | |
| | typedef struct IMFSourceReaderExVtbl |
| | { |
| | BEGIN_INTERFACE |
| | |
| | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
| | IMFSourceReaderEx * This, |
| | /* [in] */ REFIID riid, |
| | /* [annotation][iid_is][out] */ |
| | _COM_Outptr_ void **ppvObject); |
| | |
| | ULONG ( STDMETHODCALLTYPE *AddRef )( |
| | IMFSourceReaderEx * This); |
| | |
| | ULONG ( STDMETHODCALLTYPE *Release )( |
| | IMFSourceReaderEx * This); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetStreamSelection )( |
| | IMFSourceReaderEx * This, |
| | /* [annotation][in] */ |
| | _In_ DWORD dwStreamIndex, |
| | /* [annotation][out] */ |
| | _Out_ BOOL *pfSelected); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *SetStreamSelection )( |
| | IMFSourceReaderEx * This, |
| | /* [annotation][in] */ |
| | _In_ DWORD dwStreamIndex, |
| | /* [annotation][in] */ |
| | _In_ BOOL fSelected); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetNativeMediaType )( |
| | IMFSourceReaderEx * This, |
| | /* [annotation][in] */ |
| | _In_ DWORD dwStreamIndex, |
| | /* [annotation][in] */ |
| | _In_ DWORD dwMediaTypeIndex, |
| | /* [annotation][out] */ |
| | _Out_ IMFMediaType **ppMediaType); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetCurrentMediaType )( |
| | IMFSourceReaderEx * This, |
| | /* [annotation][in] */ |
| | _In_ DWORD dwStreamIndex, |
| | /* [annotation][out] */ |
| | _Out_ IMFMediaType **ppMediaType); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *SetCurrentMediaType )( |
| | IMFSourceReaderEx * This, |
| | /* [annotation][in] */ |
| | _In_ DWORD dwStreamIndex, |
| | /* [annotation][out][in] */ |
| | _Reserved_ DWORD *pdwReserved, |
| | /* [annotation][in] */ |
| | _In_ IMFMediaType *pMediaType); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *SetCurrentPosition )( |
| | IMFSourceReaderEx * This, |
| | /* [annotation][in] */ |
| | _In_ REFGUID guidTimeFormat, |
| | /* [annotation][in] */ |
| | _In_ REFPROPVARIANT varPosition); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *ReadSample )( |
| | IMFSourceReaderEx * This, |
| | /* [annotation][in] */ |
| | _In_ DWORD dwStreamIndex, |
| | /* [annotation][in] */ |
| | _In_ DWORD dwControlFlags, |
| | /* [annotation][out] */ |
| | _Out_opt_ DWORD *pdwActualStreamIndex, |
| | /* [annotation][out] */ |
| | _Out_opt_ DWORD *pdwStreamFlags, |
| | /* [annotation][out] */ |
| | _Out_opt_ LONGLONG *pllTimestamp, |
| | /* [annotation][out] */ |
| | _Out_opt_ IMFSample **ppSample); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *Flush )( |
| | IMFSourceReaderEx * This, |
| | /* [annotation][in] */ |
| | _In_ DWORD dwStreamIndex); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetServiceForStream )( |
| | IMFSourceReaderEx * This, |
| | /* [annotation][in] */ |
| | _In_ DWORD dwStreamIndex, |
| | /* [annotation][in] */ |
| | _In_ REFGUID guidService, |
| | /* [annotation][in] */ |
| | _In_ REFIID riid, |
| | /* [annotation][out] */ |
| | _Out_ LPVOID *ppvObject); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetPresentationAttribute )( |
| | IMFSourceReaderEx * This, |
| | /* [annotation][in] */ |
| | _In_ DWORD dwStreamIndex, |
| | /* [annotation][in] */ |
| | _In_ REFGUID guidAttribute, |
| | /* [annotation][out] */ |
| | _Out_ PROPVARIANT *pvarAttribute); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *SetNativeMediaType )( |
| | IMFSourceReaderEx * This, |
| | /* [annotation][in] */ |
| | _In_ DWORD dwStreamIndex, |
| | /* [annotation][in] */ |
| | _In_opt_ IMFMediaType *pMediaType, |
| | /* [annotation][out] */ |
| | _Out_ DWORD *pdwStreamFlags); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *AddTransformForStream )( |
| | IMFSourceReaderEx * This, |
| | /* [annotation][in] */ |
| | _In_ DWORD dwStreamIndex, |
| | /* [annotation][in] */ |
| | _In_ IUnknown *pTransformOrActivate); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *RemoveAllTransformsForStream )( |
| | IMFSourceReaderEx * This, |
| | /* [annotation][in] */ |
| | _In_ DWORD dwStreamIndex); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetTransformForStream )( |
| | IMFSourceReaderEx * This, |
| | /* [annotation][in] */ |
| | _In_ DWORD dwStreamIndex, |
| | /* [annotation][in] */ |
| | _In_ DWORD dwTransformIndex, |
| | /* [annotation][out] */ |
| | _Out_opt_ GUID *pGuidCategory, |
| | /* [annotation][out] */ |
| | _Out_ IMFTransform **ppTransform); |
| | |
| | END_INTERFACE |
| | } IMFSourceReaderExVtbl; |
| | |
| | interface IMFSourceReaderEx |
| | { |
| | CONST_VTBL struct IMFSourceReaderExVtbl *lpVtbl; |
| | }; |
| | |
| | #ifdef COBJMACROS |
| | |
| | #define IMFSourceReaderEx_QueryInterface(This,riid,ppvObject) \ |
| | ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) |
| | |
| | #define IMFSourceReaderEx_AddRef(This) \ |
| | ( (This)->lpVtbl -> AddRef(This) ) |
| | |
| | #define IMFSourceReaderEx_Release(This) \ |
| | ( (This)->lpVtbl -> Release(This) ) |
| | |
| | #define IMFSourceReaderEx_GetStreamSelection(This,dwStreamIndex,pfSelected) \ |
| | ( (This)->lpVtbl -> GetStreamSelection(This,dwStreamIndex,pfSelected) ) |
| | |
| | #define IMFSourceReaderEx_SetStreamSelection(This,dwStreamIndex,fSelected) \ |
| | ( (This)->lpVtbl -> SetStreamSelection(This,dwStreamIndex,fSelected) ) |
| | |
| | #define IMFSourceReaderEx_GetNativeMediaType(This,dwStreamIndex,dwMediaTypeIndex |
| | ,ppMediaType) \ |
| | ( (This)->lpVtbl -> GetNativeMediaType(This,dwStreamIndex,dwMediaTypeIndex,p |
| | pMediaType) ) |
| | |
| | #define IMFSourceReaderEx_GetCurrentMediaType(This,dwStreamIndex,ppMediaType) \ |
| | ( (This)->lpVtbl -> GetCurrentMediaType(This,dwStreamIndex,ppMediaType) ) |
| | |
| | #define IMFSourceReaderEx_SetCurrentMediaType(This,dwStreamIndex,pdwReserved,pMe |
| | diaType) \ |
| | ( (This)->lpVtbl -> SetCurrentMediaType(This,dwStreamIndex,pdwReserved,pMedi |
| | aType) ) |
| | |
| | #define IMFSourceReaderEx_SetCurrentPosition(This,guidTimeFormat,varPosition) \ |
| | ( (This)->lpVtbl -> SetCurrentPosition(This,guidTimeFormat,varPosition) ) |
| | |
| | #define IMFSourceReaderEx_ReadSample(This,dwStreamIndex,dwControlFlags,pdwActual |
| | StreamIndex,pdwStreamFlags,pllTimestamp,ppSample) \ |
| | ( (This)->lpVtbl -> ReadSample(This,dwStreamIndex,dwControlFlags,pdwActualSt |
| | reamIndex,pdwStreamFlags,pllTimestamp,ppSample) ) |
| | |
| | #define IMFSourceReaderEx_Flush(This,dwStreamIndex) \ |
| | ( (This)->lpVtbl -> Flush(This,dwStreamIndex) ) |
| | |
| | #define IMFSourceReaderEx_GetServiceForStream(This,dwStreamIndex,guidService,rii |
| | d,ppvObject) \ |
| | ( (This)->lpVtbl -> GetServiceForStream(This,dwStreamIndex,guidService,riid, |
| | ppvObject) ) |
| | |
| | #define IMFSourceReaderEx_GetPresentationAttribute(This,dwStreamIndex,guidAttrib |
| | ute,pvarAttribute) \ |
| | ( (This)->lpVtbl -> GetPresentationAttribute(This,dwStreamIndex,guidAttribut |
| | e,pvarAttribute) ) |
| | |
| | #define IMFSourceReaderEx_SetNativeMediaType(This,dwStreamIndex,pMediaType,pdwSt |
| | reamFlags) \ |
| | ( (This)->lpVtbl -> SetNativeMediaType(This,dwStreamIndex,pMediaType,pdwStre |
| | amFlags) ) |
| | |
| | #define IMFSourceReaderEx_AddTransformForStream(This,dwStreamIndex,pTransformOrA |
| | ctivate) \ |
| | ( (This)->lpVtbl -> AddTransformForStream(This,dwStreamIndex,pTransformOrAct |
| | ivate) ) |
| | |
| | #define IMFSourceReaderEx_RemoveAllTransformsForStream(This,dwStreamIndex) \ |
| | ( (This)->lpVtbl -> RemoveAllTransformsForStream(This,dwStreamIndex) ) |
| | |
| | #define IMFSourceReaderEx_GetTransformForStream(This,dwStreamIndex,dwTransformIn |
| | dex,pGuidCategory,ppTransform) \ |
| | ( (This)->lpVtbl -> GetTransformForStream(This,dwStreamIndex,dwTransformInde |
| | x,pGuidCategory,ppTransform) ) |
| | |
| | #endif /* COBJMACROS */ |
| | |
| | #endif /* C style interface */ |
| | |
| | #endif /* __IMFSourceReaderEx_INTERFACE_DEFINED__ */ |
| | |
| | /* interface __MIDL_itf_mfreadwrite_0000_0003 */ |
| | /* [local] */ |
| | |
| | #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) */ |
| | #pragma endregion |
| | #endif |
| | #pragma region Application Family |
| | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) |
| | |
| | extern RPC_IF_HANDLE __MIDL_itf_mfreadwrite_0000_0003_v0_0_c_ifspec; |
| | extern RPC_IF_HANDLE __MIDL_itf_mfreadwrite_0000_0003_v0_0_s_ifspec; |
| | |
| #ifndef __IMFSourceReaderCallback_INTERFACE_DEFINED__ | | #ifndef __IMFSourceReaderCallback_INTERFACE_DEFINED__ |
| #define __IMFSourceReaderCallback_INTERFACE_DEFINED__ | | #define __IMFSourceReaderCallback_INTERFACE_DEFINED__ |
| | |
| /* interface IMFSourceReaderCallback */ | | /* interface IMFSourceReaderCallback */ |
| /* [local][uuid][object] */ | | /* [local][uuid][object] */ |
| | |
| EXTERN_C const IID IID_IMFSourceReaderCallback; | | EXTERN_C const IID IID_IMFSourceReaderCallback; |
| | |
| #if defined(__cplusplus) && !defined(CINTERFACE) | | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| MIDL_INTERFACE("deec8d99-fa1d-4d82-84c2-2c8969944867") | | MIDL_INTERFACE("deec8d99-fa1d-4d82-84c2-2c8969944867") |
| IMFSourceReaderCallback : public IUnknown | | IMFSourceReaderCallback : public IUnknown |
| { | | { |
| public: | | public: |
| virtual HRESULT STDMETHODCALLTYPE OnReadSample( | | virtual HRESULT STDMETHODCALLTYPE OnReadSample( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in HRESULT hrStatus, | | _In_ HRESULT hrStatus, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamFlags, | | _In_ DWORD dwStreamFlags, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in LONGLONG llTimestamp, | | _In_ LONGLONG llTimestamp, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in_opt IMFSample *pSample) = 0; | | _In_opt_ IMFSample *pSample) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE OnFlush( | | virtual HRESULT STDMETHODCALLTYPE OnFlush( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex) = 0; | | _In_ DWORD dwStreamIndex) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE OnEvent( | | virtual HRESULT STDMETHODCALLTYPE OnEvent( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in IMFMediaEvent *pEvent) = 0; | | _In_ IMFMediaEvent *pEvent) = 0; |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IMFSourceReaderCallbackVtbl | | typedef struct IMFSourceReaderCallbackVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
| IMFSourceReaderCallback * This, | | IMFSourceReaderCallback * 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 )( |
| IMFSourceReaderCallback * This); | | IMFSourceReaderCallback * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
| IMFSourceReaderCallback * This); | | IMFSourceReaderCallback * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *OnReadSample )( | | HRESULT ( STDMETHODCALLTYPE *OnReadSample )( |
| IMFSourceReaderCallback * This, | | IMFSourceReaderCallback * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in HRESULT hrStatus, | | _In_ HRESULT hrStatus, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamFlags, | | _In_ DWORD dwStreamFlags, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in LONGLONG llTimestamp, | | _In_ LONGLONG llTimestamp, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in_opt IMFSample *pSample); | | _In_opt_ IMFSample *pSample); |
| | |
| HRESULT ( STDMETHODCALLTYPE *OnFlush )( | | HRESULT ( STDMETHODCALLTYPE *OnFlush )( |
| IMFSourceReaderCallback * This, | | IMFSourceReaderCallback * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex); | | _In_ DWORD dwStreamIndex); |
| | |
| HRESULT ( STDMETHODCALLTYPE *OnEvent )( | | HRESULT ( STDMETHODCALLTYPE *OnEvent )( |
| IMFSourceReaderCallback * This, | | IMFSourceReaderCallback * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in IMFMediaEvent *pEvent); | | _In_ IMFMediaEvent *pEvent); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IMFSourceReaderCallbackVtbl; | | } IMFSourceReaderCallbackVtbl; |
| | |
| interface IMFSourceReaderCallback | | interface IMFSourceReaderCallback |
| { | | { |
| CONST_VTBL struct IMFSourceReaderCallbackVtbl *lpVtbl; | | CONST_VTBL struct IMFSourceReaderCallbackVtbl *lpVtbl; |
| }; | | }; |
| | |
| #ifdef COBJMACROS | | #ifdef COBJMACROS |
| | |
| skipping to change at line 623 | | skipping to change at line 929 |
| | |
| #define IMFSourceReaderCallback_OnEvent(This,dwStreamIndex,pEvent) \ | | #define IMFSourceReaderCallback_OnEvent(This,dwStreamIndex,pEvent) \ |
| ( (This)->lpVtbl -> OnEvent(This,dwStreamIndex,pEvent) ) | | ( (This)->lpVtbl -> OnEvent(This,dwStreamIndex,pEvent) ) |
| | |
| #endif /* COBJMACROS */ | | #endif /* COBJMACROS */ |
| | |
| #endif /* C style interface */ | | #endif /* C style interface */ |
| | |
| #endif /* __IMFSourceReaderCallback_INTERFACE_DEFINED__ */ | | #endif /* __IMFSourceReaderCallback_INTERFACE_DEFINED__ */ |
| | |
|
| /* interface __MIDL_itf_mfreadwrite_0000_0003 */ | | /* interface __MIDL_itf_mfreadwrite_0000_0004 */ |
| /* [local] */ | | /* [local] */ |
| | |
| EXTERN_GUID(CLSID_MFSinkWriter, 0xa3bbfb17, 0x8273, 0x4e52, 0x9e, 0x0e, 0x97, 0x
39, 0xdc, 0x88, 0x79, 0x90); | | EXTERN_GUID(CLSID_MFSinkWriter, 0xa3bbfb17, 0x8273, 0x4e52, 0x9e, 0x0e, 0x97, 0x
39, 0xdc, 0x88, 0x79, 0x90); |
| STDAPI MFCreateSinkWriterFromURL( | | STDAPI MFCreateSinkWriterFromURL( |
|
| __in_opt LPCWSTR pwszOutputURL, | | _In_opt_ LPCWSTR pwszOutputURL, |
| __in_opt IMFByteStream *pByteStream, | | _In_opt_ IMFByteStream *pByteStream, |
| __in_opt IMFAttributes *pAttributes, | | _In_opt_ IMFAttributes *pAttributes, |
| __out IMFSinkWriter **ppSinkWriter ); | | _Out_ IMFSinkWriter **ppSinkWriter ); |
| STDAPI MFCreateSinkWriterFromMediaSink( | | STDAPI MFCreateSinkWriterFromMediaSink( |
|
| __in IMFMediaSink *pMediaSink, | | _In_ IMFMediaSink *pMediaSink, |
| __in_opt IMFAttributes *pAttributes, | | _In_opt_ IMFAttributes *pAttributes, |
| __out IMFSinkWriter **ppSinkWriter ); | | _Out_ IMFSinkWriter **ppSinkWriter ); |
| EXTERN_GUID( MF_SINK_WRITER_ASYNC_CALLBACK, 0x48cb183e, 0x7b0b, 0x46f4, 0x82, 0x
2e, 0x5e, 0x1d, 0x2d, 0xda, 0x43, 0x54); | | EXTERN_GUID( MF_SINK_WRITER_ASYNC_CALLBACK, 0x48cb183e, 0x7b0b, 0x46f4, 0x82, 0x
2e, 0x5e, 0x1d, 0x2d, 0xda, 0x43, 0x54); |
| EXTERN_GUID( MF_SINK_WRITER_DISABLE_THROTTLING, 0x08b845d8, 0x2b74, 0x4afe, 0x9d
, 0x53, 0xbe, 0x16, 0xd2, 0xd5, 0xae, 0x4f); | | EXTERN_GUID( MF_SINK_WRITER_DISABLE_THROTTLING, 0x08b845d8, 0x2b74, 0x4afe, 0x9d
, 0x53, 0xbe, 0x16, 0xd2, 0xd5, 0xae, 0x4f); |
|
| | #if (WINVER >= _WIN32_WINNT_WIN8) |
| | EXTERN_GUID( MF_SINK_WRITER_D3D_MANAGER, 0xec822da2, 0xe1e9, 0x4b29, 0xa0, 0xd8, |
| | 0x56, 0x3c, 0x71, 0x9f, 0x52, 0x69); |
| | EXTERN_GUID( MF_SINK_WRITER_ENCODER_CONFIG, 0xad91cd04, 0xa7cc, 0x4ac7, 0x99, 0x |
| | b6, 0xa5, 0x7b, 0x9a, 0x4a, 0x7c, 0x70); |
| | #endif |
| | |
|
| enum __MIDL___MIDL_itf_mfreadwrite_0000_0003_0001 | | enum __MIDL___MIDL_itf_mfreadwrite_0000_0004_0001 |
| { MF_SINK_WRITER_INVALID_STREAM_INDEX = 0xffffffff, | | { |
| MF_SINK_WRITER_ALL_STREAMS = 0xfffffffe, | | MF_SINK_WRITER_INVALID_STREAM_INDEX = 0xffffffff, |
| MF_SINK_WRITER_MEDIASINK = 0xffffffff | | MF_SINK_WRITER_ALL_STREAMS = 0xfffffffe, |
| | MF_SINK_WRITER_MEDIASINK = 0xffffffff |
| } ; | | } ; |
|
| | #if defined(_MSC_VER) && (_MSC_VER >= 1600) |
| | #pragma warning(push) |
| | #pragma warning(disable:4820) // Disable C4820: padding after data member |
| | #endif |
| typedef struct _MF_SINK_WRITER_STATISTICS | | typedef struct _MF_SINK_WRITER_STATISTICS |
| { | | { |
| DWORD cb; | | DWORD cb; |
| LONGLONG llLastTimestampReceived; | | LONGLONG llLastTimestampReceived; |
| LONGLONG llLastTimestampEncoded; | | LONGLONG llLastTimestampEncoded; |
| LONGLONG llLastTimestampProcessed; | | LONGLONG llLastTimestampProcessed; |
| LONGLONG llLastStreamTickReceived; | | LONGLONG llLastStreamTickReceived; |
| LONGLONG llLastSinkSampleRequest; | | LONGLONG llLastSinkSampleRequest; |
| QWORD qwNumSamplesReceived; | | QWORD qwNumSamplesReceived; |
| QWORD qwNumSamplesEncoded; | | QWORD qwNumSamplesEncoded; |
| QWORD qwNumSamplesProcessed; | | QWORD qwNumSamplesProcessed; |
| QWORD qwNumStreamTicksReceived; | | QWORD qwNumStreamTicksReceived; |
| DWORD dwByteCountQueued; | | DWORD dwByteCountQueued; |
| QWORD qwByteCountProcessed; | | QWORD qwByteCountProcessed; |
| DWORD dwNumOutstandingSinkSampleRequests; | | DWORD dwNumOutstandingSinkSampleRequests; |
| DWORD dwAverageSampleRateReceived; | | DWORD dwAverageSampleRateReceived; |
| DWORD dwAverageSampleRateEncoded; | | DWORD dwAverageSampleRateEncoded; |
| DWORD dwAverageSampleRateProcessed; | | DWORD dwAverageSampleRateProcessed; |
| } MF_SINK_WRITER_STATISTICS; | | } MF_SINK_WRITER_STATISTICS; |
| | |
|
| extern RPC_IF_HANDLE __MIDL_itf_mfreadwrite_0000_0003_v0_0_c_ifspec; | | #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) */ |
| extern RPC_IF_HANDLE __MIDL_itf_mfreadwrite_0000_0003_v0_0_s_ifspec; | | #pragma endregion |
| | #if defined(_MSC_VER) && (_MSC_VER >= 1600) |
| | #pragma warning(pop) |
| | #endif |
| | #pragma region Application Family |
| | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) |
| | |
| | extern RPC_IF_HANDLE __MIDL_itf_mfreadwrite_0000_0004_v0_0_c_ifspec; |
| | extern RPC_IF_HANDLE __MIDL_itf_mfreadwrite_0000_0004_v0_0_s_ifspec; |
| | |
| #ifndef __IMFSinkWriter_INTERFACE_DEFINED__ | | #ifndef __IMFSinkWriter_INTERFACE_DEFINED__ |
| #define __IMFSinkWriter_INTERFACE_DEFINED__ | | #define __IMFSinkWriter_INTERFACE_DEFINED__ |
| | |
| /* interface IMFSinkWriter */ | | /* interface IMFSinkWriter */ |
| /* [local][uuid][object] */ | | /* [local][uuid][object] */ |
| | |
| EXTERN_C const IID IID_IMFSinkWriter; | | EXTERN_C const IID IID_IMFSinkWriter; |
| | |
| #if defined(__cplusplus) && !defined(CINTERFACE) | | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| MIDL_INTERFACE("3137f1cd-fe5e-4805-a5d8-fb477448cb3d") | | MIDL_INTERFACE("3137f1cd-fe5e-4805-a5d8-fb477448cb3d") |
| IMFSinkWriter : public IUnknown | | IMFSinkWriter : public IUnknown |
| { | | { |
| public: | | public: |
| virtual HRESULT STDMETHODCALLTYPE AddStream( | | virtual HRESULT STDMETHODCALLTYPE AddStream( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in IMFMediaType *pTargetMediaType, | | _In_ IMFMediaType *pTargetMediaType, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out DWORD *pdwStreamIndex) = 0; | | _Out_ DWORD *pdwStreamIndex) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE SetInputMediaType( | | virtual HRESULT STDMETHODCALLTYPE SetInputMediaType( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in IMFMediaType *pInputMediaType, | | _In_ IMFMediaType *pInputMediaType, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in_opt IMFAttributes *pEncodingParameters) = 0; | | _In_opt_ IMFAttributes *pEncodingParameters) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE BeginWriting( void) = 0; | | virtual HRESULT STDMETHODCALLTYPE BeginWriting( void) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE WriteSample( | | virtual HRESULT STDMETHODCALLTYPE WriteSample( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in IMFSample *pSample) = 0; | | _In_ IMFSample *pSample) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE SendStreamTick( | | virtual HRESULT STDMETHODCALLTYPE SendStreamTick( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in LONGLONG llTimestamp) = 0; | | _In_ LONGLONG llTimestamp) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE PlaceMarker( | | virtual HRESULT STDMETHODCALLTYPE PlaceMarker( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in LPVOID pvContext) = 0; | | _In_ LPVOID pvContext) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE NotifyEndOfSegment( | | virtual HRESULT STDMETHODCALLTYPE NotifyEndOfSegment( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex) = 0; | | _In_ DWORD dwStreamIndex) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE Flush( | | virtual HRESULT STDMETHODCALLTYPE Flush( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex) = 0; | | _In_ DWORD dwStreamIndex) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE Finalize( void) = 0; | | virtual HRESULT STDMETHODCALLTYPE Finalize( void) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetServiceForStream( | | virtual HRESULT STDMETHODCALLTYPE GetServiceForStream( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in REFGUID guidService, | | _In_ REFGUID guidService, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out LPVOID *ppvObject) = 0; | | _Out_ LPVOID *ppvObject) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetStatistics( | | virtual HRESULT STDMETHODCALLTYPE GetStatistics( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out MF_SINK_WRITER_STATISTICS *pStats) = 0; | | _Out_ MF_SINK_WRITER_STATISTICS *pStats) = 0; |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IMFSinkWriterVtbl | | typedef struct IMFSinkWriterVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
| IMFSinkWriter * This, | | IMFSinkWriter * 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 )( |
| IMFSinkWriter * This); | | IMFSinkWriter * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
| IMFSinkWriter * This); | | IMFSinkWriter * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *AddStream )( | | HRESULT ( STDMETHODCALLTYPE *AddStream )( |
| IMFSinkWriter * This, | | IMFSinkWriter * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in IMFMediaType *pTargetMediaType, | | _In_ IMFMediaType *pTargetMediaType, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out DWORD *pdwStreamIndex); | | _Out_ DWORD *pdwStreamIndex); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetInputMediaType )( | | HRESULT ( STDMETHODCALLTYPE *SetInputMediaType )( |
| IMFSinkWriter * This, | | IMFSinkWriter * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in IMFMediaType *pInputMediaType, | | _In_ IMFMediaType *pInputMediaType, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in_opt IMFAttributes *pEncodingParameters); | | _In_opt_ IMFAttributes *pEncodingParameters); |
| | |
| HRESULT ( STDMETHODCALLTYPE *BeginWriting )( | | HRESULT ( STDMETHODCALLTYPE *BeginWriting )( |
| IMFSinkWriter * This); | | IMFSinkWriter * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *WriteSample )( | | HRESULT ( STDMETHODCALLTYPE *WriteSample )( |
| IMFSinkWriter * This, | | IMFSinkWriter * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in IMFSample *pSample); | | _In_ IMFSample *pSample); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SendStreamTick )( | | HRESULT ( STDMETHODCALLTYPE *SendStreamTick )( |
| IMFSinkWriter * This, | | IMFSinkWriter * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in LONGLONG llTimestamp); | | _In_ LONGLONG llTimestamp); |
| | |
| HRESULT ( STDMETHODCALLTYPE *PlaceMarker )( | | HRESULT ( STDMETHODCALLTYPE *PlaceMarker )( |
| IMFSinkWriter * This, | | IMFSinkWriter * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in LPVOID pvContext); | | _In_ LPVOID pvContext); |
| | |
| HRESULT ( STDMETHODCALLTYPE *NotifyEndOfSegment )( | | HRESULT ( STDMETHODCALLTYPE *NotifyEndOfSegment )( |
| IMFSinkWriter * This, | | IMFSinkWriter * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex); | | _In_ DWORD dwStreamIndex); |
| | |
| HRESULT ( STDMETHODCALLTYPE *Flush )( | | HRESULT ( STDMETHODCALLTYPE *Flush )( |
| IMFSinkWriter * This, | | IMFSinkWriter * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex); | | _In_ DWORD dwStreamIndex); |
| | |
| HRESULT ( STDMETHODCALLTYPE *Finalize )( | | HRESULT ( STDMETHODCALLTYPE *Finalize )( |
| IMFSinkWriter * This); | | IMFSinkWriter * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetServiceForStream )( | | HRESULT ( STDMETHODCALLTYPE *GetServiceForStream )( |
| IMFSinkWriter * This, | | IMFSinkWriter * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in REFGUID guidService, | | _In_ REFGUID guidService, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out LPVOID *ppvObject); | | _Out_ LPVOID *ppvObject); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetStatistics )( | | HRESULT ( STDMETHODCALLTYPE *GetStatistics )( |
| IMFSinkWriter * This, | | IMFSinkWriter * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| __out MF_SINK_WRITER_STATISTICS *pStats); | | _Out_ MF_SINK_WRITER_STATISTICS *pStats); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IMFSinkWriterVtbl; | | } IMFSinkWriterVtbl; |
| | |
| interface IMFSinkWriter | | interface IMFSinkWriter |
| { | | { |
| CONST_VTBL struct IMFSinkWriterVtbl *lpVtbl; | | CONST_VTBL struct IMFSinkWriterVtbl *lpVtbl; |
| }; | | }; |
| | |
| #ifdef COBJMACROS | | #ifdef COBJMACROS |
| | |
| skipping to change at line 890 | | skipping to change at line 1213 |
| | |
| #define IMFSinkWriter_GetStatistics(This,dwStreamIndex,pStats) \ | | #define IMFSinkWriter_GetStatistics(This,dwStreamIndex,pStats) \ |
| ( (This)->lpVtbl -> GetStatistics(This,dwStreamIndex,pStats) ) | | ( (This)->lpVtbl -> GetStatistics(This,dwStreamIndex,pStats) ) |
| | |
| #endif /* COBJMACROS */ | | #endif /* COBJMACROS */ |
| | |
| #endif /* C style interface */ | | #endif /* C style interface */ |
| | |
| #endif /* __IMFSinkWriter_INTERFACE_DEFINED__ */ | | #endif /* __IMFSinkWriter_INTERFACE_DEFINED__ */ |
| | |
|
| | /* interface __MIDL_itf_mfreadwrite_0000_0005 */ |
| | /* [local] */ |
| | |
| | #if (WINVER >= _WIN32_WINNT_WIN8) |
| | |
| | extern RPC_IF_HANDLE __MIDL_itf_mfreadwrite_0000_0005_v0_0_c_ifspec; |
| | extern RPC_IF_HANDLE __MIDL_itf_mfreadwrite_0000_0005_v0_0_s_ifspec; |
| | |
| | #ifndef __IMFSinkWriterEx_INTERFACE_DEFINED__ |
| | #define __IMFSinkWriterEx_INTERFACE_DEFINED__ |
| | |
| | /* interface IMFSinkWriterEx */ |
| | /* [local][uuid][object] */ |
| | |
| | EXTERN_C const IID IID_IMFSinkWriterEx; |
| | |
| | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| | MIDL_INTERFACE("588d72ab-5Bc1-496a-8714-b70617141b25") |
| | IMFSinkWriterEx : public IMFSinkWriter |
| | { |
| | public: |
| | virtual HRESULT STDMETHODCALLTYPE GetTransformForStream( |
| | /* [annotation][in] */ |
| | _In_ DWORD dwStreamIndex, |
| | /* [annotation][in] */ |
| | _In_ DWORD dwTransformIndex, |
| | /* [annotation][out] */ |
| | _Out_opt_ GUID *pGuidCategory, |
| | /* [annotation][out] */ |
| | _Out_ IMFTransform **ppTransform) = 0; |
| | |
| | }; |
| | |
| | #else /* C style interface */ |
| | |
| | typedef struct IMFSinkWriterExVtbl |
| | { |
| | BEGIN_INTERFACE |
| | |
| | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
| | IMFSinkWriterEx * This, |
| | /* [in] */ REFIID riid, |
| | /* [annotation][iid_is][out] */ |
| | _COM_Outptr_ void **ppvObject); |
| | |
| | ULONG ( STDMETHODCALLTYPE *AddRef )( |
| | IMFSinkWriterEx * This); |
| | |
| | ULONG ( STDMETHODCALLTYPE *Release )( |
| | IMFSinkWriterEx * This); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *AddStream )( |
| | IMFSinkWriterEx * This, |
| | /* [annotation][in] */ |
| | _In_ IMFMediaType *pTargetMediaType, |
| | /* [annotation][out] */ |
| | _Out_ DWORD *pdwStreamIndex); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *SetInputMediaType )( |
| | IMFSinkWriterEx * This, |
| | /* [annotation][in] */ |
| | _In_ DWORD dwStreamIndex, |
| | /* [annotation][in] */ |
| | _In_ IMFMediaType *pInputMediaType, |
| | /* [annotation][in] */ |
| | _In_opt_ IMFAttributes *pEncodingParameters); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *BeginWriting )( |
| | IMFSinkWriterEx * This); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *WriteSample )( |
| | IMFSinkWriterEx * This, |
| | /* [annotation][in] */ |
| | _In_ DWORD dwStreamIndex, |
| | /* [annotation][in] */ |
| | _In_ IMFSample *pSample); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *SendStreamTick )( |
| | IMFSinkWriterEx * This, |
| | /* [annotation][in] */ |
| | _In_ DWORD dwStreamIndex, |
| | /* [annotation][in] */ |
| | _In_ LONGLONG llTimestamp); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *PlaceMarker )( |
| | IMFSinkWriterEx * This, |
| | /* [annotation][in] */ |
| | _In_ DWORD dwStreamIndex, |
| | /* [annotation][in] */ |
| | _In_ LPVOID pvContext); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *NotifyEndOfSegment )( |
| | IMFSinkWriterEx * This, |
| | /* [annotation][in] */ |
| | _In_ DWORD dwStreamIndex); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *Flush )( |
| | IMFSinkWriterEx * This, |
| | /* [annotation][in] */ |
| | _In_ DWORD dwStreamIndex); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *Finalize )( |
| | IMFSinkWriterEx * This); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetServiceForStream )( |
| | IMFSinkWriterEx * This, |
| | /* [annotation][in] */ |
| | _In_ DWORD dwStreamIndex, |
| | /* [annotation][in] */ |
| | _In_ REFGUID guidService, |
| | /* [annotation][in] */ |
| | _In_ REFIID riid, |
| | /* [annotation][out] */ |
| | _Out_ LPVOID *ppvObject); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetStatistics )( |
| | IMFSinkWriterEx * This, |
| | /* [annotation][in] */ |
| | _In_ DWORD dwStreamIndex, |
| | /* [annotation][out] */ |
| | _Out_ MF_SINK_WRITER_STATISTICS *pStats); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetTransformForStream )( |
| | IMFSinkWriterEx * This, |
| | /* [annotation][in] */ |
| | _In_ DWORD dwStreamIndex, |
| | /* [annotation][in] */ |
| | _In_ DWORD dwTransformIndex, |
| | /* [annotation][out] */ |
| | _Out_opt_ GUID *pGuidCategory, |
| | /* [annotation][out] */ |
| | _Out_ IMFTransform **ppTransform); |
| | |
| | END_INTERFACE |
| | } IMFSinkWriterExVtbl; |
| | |
| | interface IMFSinkWriterEx |
| | { |
| | CONST_VTBL struct IMFSinkWriterExVtbl *lpVtbl; |
| | }; |
| | |
| | #ifdef COBJMACROS |
| | |
| | #define IMFSinkWriterEx_QueryInterface(This,riid,ppvObject) \ |
| | ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) |
| | |
| | #define IMFSinkWriterEx_AddRef(This) \ |
| | ( (This)->lpVtbl -> AddRef(This) ) |
| | |
| | #define IMFSinkWriterEx_Release(This) \ |
| | ( (This)->lpVtbl -> Release(This) ) |
| | |
| | #define IMFSinkWriterEx_AddStream(This,pTargetMediaType,pdwStreamIndex) \ |
| | ( (This)->lpVtbl -> AddStream(This,pTargetMediaType,pdwStreamIndex) ) |
| | |
| | #define IMFSinkWriterEx_SetInputMediaType(This,dwStreamIndex,pInputMediaType,pEn |
| | codingParameters) \ |
| | ( (This)->lpVtbl -> SetInputMediaType(This,dwStreamIndex,pInputMediaType,pEn |
| | codingParameters) ) |
| | |
| | #define IMFSinkWriterEx_BeginWriting(This) \ |
| | ( (This)->lpVtbl -> BeginWriting(This) ) |
| | |
| | #define IMFSinkWriterEx_WriteSample(This,dwStreamIndex,pSample) \ |
| | ( (This)->lpVtbl -> WriteSample(This,dwStreamIndex,pSample) ) |
| | |
| | #define IMFSinkWriterEx_SendStreamTick(This,dwStreamIndex,llTimestamp) \ |
| | ( (This)->lpVtbl -> SendStreamTick(This,dwStreamIndex,llTimestamp) ) |
| | |
| | #define IMFSinkWriterEx_PlaceMarker(This,dwStreamIndex,pvContext) \ |
| | ( (This)->lpVtbl -> PlaceMarker(This,dwStreamIndex,pvContext) ) |
| | |
| | #define IMFSinkWriterEx_NotifyEndOfSegment(This,dwStreamIndex) \ |
| | ( (This)->lpVtbl -> NotifyEndOfSegment(This,dwStreamIndex) ) |
| | |
| | #define IMFSinkWriterEx_Flush(This,dwStreamIndex) \ |
| | ( (This)->lpVtbl -> Flush(This,dwStreamIndex) ) |
| | |
| | #define IMFSinkWriterEx_Finalize(This) \ |
| | ( (This)->lpVtbl -> Finalize(This) ) |
| | |
| | #define IMFSinkWriterEx_GetServiceForStream(This,dwStreamIndex,guidService,riid, |
| | ppvObject) \ |
| | ( (This)->lpVtbl -> GetServiceForStream(This,dwStreamIndex,guidService,riid, |
| | ppvObject) ) |
| | |
| | #define IMFSinkWriterEx_GetStatistics(This,dwStreamIndex,pStats) \ |
| | ( (This)->lpVtbl -> GetStatistics(This,dwStreamIndex,pStats) ) |
| | |
| | #define IMFSinkWriterEx_GetTransformForStream(This,dwStreamIndex,dwTransformInde |
| | x,pGuidCategory,ppTransform) \ |
| | ( (This)->lpVtbl -> GetTransformForStream(This,dwStreamIndex,dwTransformInde |
| | x,pGuidCategory,ppTransform) ) |
| | |
| | #endif /* COBJMACROS */ |
| | |
| | #endif /* C style interface */ |
| | |
| | #endif /* __IMFSinkWriterEx_INTERFACE_DEFINED__ */ |
| | |
| | #ifndef __IMFSinkWriterEncoderConfig_INTERFACE_DEFINED__ |
| | #define __IMFSinkWriterEncoderConfig_INTERFACE_DEFINED__ |
| | |
| | /* interface IMFSinkWriterEncoderConfig */ |
| | /* [local][uuid][object] */ |
| | |
| | EXTERN_C const IID IID_IMFSinkWriterEncoderConfig; |
| | |
| | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| | MIDL_INTERFACE("17C3779E-3CDE-4EDE-8C60-3899F5F53AD6") |
| | IMFSinkWriterEncoderConfig : public IUnknown |
| | { |
| | public: |
| | virtual HRESULT STDMETHODCALLTYPE SetTargetMediaType( |
| | /* [annotation][in] */ |
| | _In_ DWORD dwStreamIndex, |
| | /* [annotation][in] */ |
| | _In_ IMFMediaType *pTargetMediaType, |
| | /* [annotation][in] */ |
| | _In_opt_ IMFAttributes *pEncodingParameters) = 0; |
| | |
| | virtual HRESULT STDMETHODCALLTYPE PlaceEncodingParameters( |
| | /* [annotation][in] */ |
| | _In_ DWORD dwStreamIndex, |
| | /* [annotation][in] */ |
| | _In_ IMFAttributes *pEncodingParameters) = 0; |
| | |
| | }; |
| | |
| | #else /* C style interface */ |
| | |
| | typedef struct IMFSinkWriterEncoderConfigVtbl |
| | { |
| | BEGIN_INTERFACE |
| | |
| | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
| | IMFSinkWriterEncoderConfig * This, |
| | /* [in] */ REFIID riid, |
| | /* [annotation][iid_is][out] */ |
| | _COM_Outptr_ void **ppvObject); |
| | |
| | ULONG ( STDMETHODCALLTYPE *AddRef )( |
| | IMFSinkWriterEncoderConfig * This); |
| | |
| | ULONG ( STDMETHODCALLTYPE *Release )( |
| | IMFSinkWriterEncoderConfig * This); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *SetTargetMediaType )( |
| | IMFSinkWriterEncoderConfig * This, |
| | /* [annotation][in] */ |
| | _In_ DWORD dwStreamIndex, |
| | /* [annotation][in] */ |
| | _In_ IMFMediaType *pTargetMediaType, |
| | /* [annotation][in] */ |
| | _In_opt_ IMFAttributes *pEncodingParameters); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *PlaceEncodingParameters )( |
| | IMFSinkWriterEncoderConfig * This, |
| | /* [annotation][in] */ |
| | _In_ DWORD dwStreamIndex, |
| | /* [annotation][in] */ |
| | _In_ IMFAttributes *pEncodingParameters); |
| | |
| | END_INTERFACE |
| | } IMFSinkWriterEncoderConfigVtbl; |
| | |
| | interface IMFSinkWriterEncoderConfig |
| | { |
| | CONST_VTBL struct IMFSinkWriterEncoderConfigVtbl *lpVtbl; |
| | }; |
| | |
| | #ifdef COBJMACROS |
| | |
| | #define IMFSinkWriterEncoderConfig_QueryInterface(This,riid,ppvObject) \ |
| | ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) |
| | |
| | #define IMFSinkWriterEncoderConfig_AddRef(This) \ |
| | ( (This)->lpVtbl -> AddRef(This) ) |
| | |
| | #define IMFSinkWriterEncoderConfig_Release(This) \ |
| | ( (This)->lpVtbl -> Release(This) ) |
| | |
| | #define IMFSinkWriterEncoderConfig_SetTargetMediaType(This,dwStreamIndex,pTarget |
| | MediaType,pEncodingParameters) \ |
| | ( (This)->lpVtbl -> SetTargetMediaType(This,dwStreamIndex,pTargetMediaType,p |
| | EncodingParameters) ) |
| | |
| | #define IMFSinkWriterEncoderConfig_PlaceEncodingParameters(This,dwStreamIndex,pE |
| | ncodingParameters) \ |
| | ( (This)->lpVtbl -> PlaceEncodingParameters(This,dwStreamIndex,pEncodingPara |
| | meters) ) |
| | |
| | #endif /* COBJMACROS */ |
| | |
| | #endif /* C style interface */ |
| | |
| | #endif /* __IMFSinkWriterEncoderConfig_INTERFACE_DEFINED__ */ |
| | |
| | /* interface __MIDL_itf_mfreadwrite_0000_0007 */ |
| | /* [local] */ |
| | |
| | #endif |
| | |
| | extern RPC_IF_HANDLE __MIDL_itf_mfreadwrite_0000_0007_v0_0_c_ifspec; |
| | extern RPC_IF_HANDLE __MIDL_itf_mfreadwrite_0000_0007_v0_0_s_ifspec; |
| | |
| #ifndef __IMFSinkWriterCallback_INTERFACE_DEFINED__ | | #ifndef __IMFSinkWriterCallback_INTERFACE_DEFINED__ |
| #define __IMFSinkWriterCallback_INTERFACE_DEFINED__ | | #define __IMFSinkWriterCallback_INTERFACE_DEFINED__ |
| | |
| /* interface IMFSinkWriterCallback */ | | /* interface IMFSinkWriterCallback */ |
| /* [local][uuid][object] */ | | /* [local][uuid][object] */ |
| | |
| EXTERN_C const IID IID_IMFSinkWriterCallback; | | EXTERN_C const IID IID_IMFSinkWriterCallback; |
| | |
| #if defined(__cplusplus) && !defined(CINTERFACE) | | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| MIDL_INTERFACE("666f76de-33d2-41b9-a458-29ed0a972c58") | | MIDL_INTERFACE("666f76de-33d2-41b9-a458-29ed0a972c58") |
| IMFSinkWriterCallback : public IUnknown | | IMFSinkWriterCallback : public IUnknown |
| { | | { |
| public: | | public: |
| virtual HRESULT STDMETHODCALLTYPE OnFinalize( | | virtual HRESULT STDMETHODCALLTYPE OnFinalize( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in HRESULT hrStatus) = 0; | | _In_ HRESULT hrStatus) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE OnMarker( | | virtual HRESULT STDMETHODCALLTYPE OnMarker( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in LPVOID pvContext) = 0; | | _In_ LPVOID pvContext) = 0; |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IMFSinkWriterCallbackVtbl | | typedef struct IMFSinkWriterCallbackVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
| IMFSinkWriterCallback * This, | | IMFSinkWriterCallback * 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 )( |
| IMFSinkWriterCallback * This); | | IMFSinkWriterCallback * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
| IMFSinkWriterCallback * This); | | IMFSinkWriterCallback * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *OnFinalize )( | | HRESULT ( STDMETHODCALLTYPE *OnFinalize )( |
| IMFSinkWriterCallback * This, | | IMFSinkWriterCallback * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in HRESULT hrStatus); | | _In_ HRESULT hrStatus); |
| | |
| HRESULT ( STDMETHODCALLTYPE *OnMarker )( | | HRESULT ( STDMETHODCALLTYPE *OnMarker )( |
| IMFSinkWriterCallback * This, | | IMFSinkWriterCallback * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in DWORD dwStreamIndex, | | _In_ DWORD dwStreamIndex, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
|
| __in LPVOID pvContext); | | _In_ LPVOID pvContext); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IMFSinkWriterCallbackVtbl; | | } IMFSinkWriterCallbackVtbl; |
| | |
| interface IMFSinkWriterCallback | | interface IMFSinkWriterCallback |
| { | | { |
| CONST_VTBL struct IMFSinkWriterCallbackVtbl *lpVtbl; | | CONST_VTBL struct IMFSinkWriterCallbackVtbl *lpVtbl; |
| }; | | }; |
| | |
| #ifdef COBJMACROS | | #ifdef COBJMACROS |
| | |
| skipping to change at line 977 | | skipping to change at line 1598 |
| | |
| #define IMFSinkWriterCallback_OnMarker(This,dwStreamIndex,pvContext) \ | | #define IMFSinkWriterCallback_OnMarker(This,dwStreamIndex,pvContext) \ |
| ( (This)->lpVtbl -> OnMarker(This,dwStreamIndex,pvContext) ) | | ( (This)->lpVtbl -> OnMarker(This,dwStreamIndex,pvContext) ) |
| | |
| #endif /* COBJMACROS */ | | #endif /* COBJMACROS */ |
| | |
| #endif /* C style interface */ | | #endif /* C style interface */ |
| | |
| #endif /* __IMFSinkWriterCallback_INTERFACE_DEFINED__ */ | | #endif /* __IMFSinkWriterCallback_INTERFACE_DEFINED__ */ |
| | |
|
| /* interface __MIDL_itf_mfreadwrite_0000_0005 */ | | /* interface __MIDL_itf_mfreadwrite_0000_0008 */ |
| /* [local] */ | | /* [local] */ |
| | |
| EXTERN_GUID( MF_READWRITE_DISABLE_CONVERTERS, 0x98d5b065, 0x1374, 0x4847, 0x8d,
0x5d, 0x31, 0x52, 0x0f, 0xee, 0x71, 0x56); | | EXTERN_GUID( MF_READWRITE_DISABLE_CONVERTERS, 0x98d5b065, 0x1374, 0x4847, 0x8d,
0x5d, 0x31, 0x52, 0x0f, 0xee, 0x71, 0x56); |
| EXTERN_GUID( MF_READWRITE_ENABLE_HARDWARE_TRANSFORMS, 0xa634a91c, 0x822b, 0x41b9
, 0xa4, 0x94, 0x4d, 0xe4, 0x64, 0x36, 0x12, 0xb0); | | EXTERN_GUID( MF_READWRITE_ENABLE_HARDWARE_TRANSFORMS, 0xa634a91c, 0x822b, 0x41b9
, 0xa4, 0x94, 0x4d, 0xe4, 0x64, 0x36, 0x12, 0xb0); |
|
| | #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) */ |
| | #pragma endregion |
| #endif // (WINVER >= _WIN32_WINNT_WIN7) | | #endif // (WINVER >= _WIN32_WINNT_WIN7) |
|
| | #if (WINVER >= _WIN32_WINNT_WIN8) |
| | #pragma region Application Family |
| | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) |
| | EXTERN_GUID( MF_READWRITE_MMCSS_CLASS, 0x39384300, 0xd0eb, 0x40b1, 0x87, 0xa0, 0 |
| | x33, 0x18, 0x87, 0x1b, 0x5a, 0x53); |
| | EXTERN_GUID( MF_READWRITE_MMCSS_PRIORITY, 0x43ad19ce, 0xf33f, 0x4ba9, 0xa5, 0x80 |
| | , 0xe4, 0xcd, 0x12, 0xf2, 0xd1, 0x44); |
| | EXTERN_GUID( MF_READWRITE_MMCSS_CLASS_AUDIO, 0x430847da, 0x0890, 0x4b0e, 0x93, 0 |
| | x8c, 0x05, 0x43, 0x32, 0xc5, 0x47, 0xe1); |
| | EXTERN_GUID( MF_READWRITE_MMCSS_PRIORITY_AUDIO, 0x273db885, 0x2de2, 0x4db2, 0xa6 |
| | , 0xa7, 0xfd, 0xb6, 0x6f, 0xb4, 0x0b, 0x61); |
| | EXTERN_GUID( MF_READWRITE_D3D_OPTIONAL, 0x216479d9, 0x3071, 0x42ca, 0xbb, 0x6c, |
| | 0x4c, 0x22, 0x10, 0x2e, 0x1d, 0x18); |
| | #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) */ |
| | #pragma endregion |
| | #endif // (WINVER >= _WIN32_WINNT_WIN8) |
| | |
|
| extern RPC_IF_HANDLE __MIDL_itf_mfreadwrite_0000_0005_v0_0_c_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_mfreadwrite_0000_0008_v0_0_c_ifspec; |
| extern RPC_IF_HANDLE __MIDL_itf_mfreadwrite_0000_0005_v0_0_s_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_mfreadwrite_0000_0008_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 |
| } | | } |
| #endif | | #endif |
| | |
| #endif | | #endif |
| | |
| End of changes. 174 change blocks. |
| 189 lines changed or deleted | | 858 lines changed or added |
|