1 /** 2 * This file has no copyright assigned and is placed in the Public Domain. 3 * This file is part of the mingw-w64 runtime package. 4 * No warranty is given; refer to the file DISCLAIMER.PD within this package. 5 */ 6 #ifndef __REQUIRED_RPCNDR_H_VERSION__ 7 #define __REQUIRED_RPCNDR_H_VERSION__ 475 8 #endif 9 10 #include "rpc.h" 11 #include "rpcndr.h" 12 13 #ifndef __RPCNDR_H_VERSION__ 14 #error This stub requires an updated version of <rpcndr.h> 15 #endif 16 17 #ifndef COM_NO_WINDOWS_H 18 #include "windows.h" 19 #include "ole2.h" 20 #endif 21 22 #ifndef __tapi3ds_h__ 23 #define __tapi3ds_h__ 24 25 #ifndef __ITAMMediaFormat_FWD_DEFINED__ 26 #define __ITAMMediaFormat_FWD_DEFINED__ 27 typedef struct ITAMMediaFormat ITAMMediaFormat; 28 #endif 29 30 #ifndef __ITAllocatorProperties_FWD_DEFINED__ 31 #define __ITAllocatorProperties_FWD_DEFINED__ 32 typedef struct ITAllocatorProperties ITAllocatorProperties; 33 #endif 34 35 #include "oaidl.h" 36 #include "strmif.h" 37 38 #ifdef __cplusplus 39 extern "C" { 40 #endif 41 42 #ifndef __MIDL_user_allocate_free_DEFINED__ 43 #define __MIDL_user_allocate_free_DEFINED__ 44 void *__RPC_API MIDL_user_allocate(size_t); 45 void __RPC_API MIDL_user_free(void *); 46 #endif 47 48 extern RPC_IF_HANDLE __MIDL_itf_tapi3ds_0000_v0_0_c_ifspec; 49 extern RPC_IF_HANDLE __MIDL_itf_tapi3ds_0000_v0_0_s_ifspec; 50 #ifndef __ITAMMediaFormat_INTERFACE_DEFINED__ 51 #define __ITAMMediaFormat_INTERFACE_DEFINED__ 52 EXTERN_C const IID IID_ITAMMediaFormat; 53 #if defined(__cplusplus) && !defined(CINTERFACE) 54 struct ITAMMediaFormat : public IUnknown { 55 public: 56 virtual HRESULT WINAPI get_MediaFormat(AM_MEDIA_TYPE **ppmt) = 0; 57 virtual HRESULT WINAPI put_MediaFormat(const AM_MEDIA_TYPE *pmt) = 0; 58 }; 59 #else 60 typedef struct ITAMMediaFormatVtbl { 61 BEGIN_INTERFACE 62 HRESULT (WINAPI *QueryInterface)(ITAMMediaFormat *This,REFIID riid,void **ppvObject); 63 ULONG (WINAPI *AddRef)(ITAMMediaFormat *This); 64 ULONG (WINAPI *Release)(ITAMMediaFormat *This); 65 HRESULT (WINAPI *get_MediaFormat)(ITAMMediaFormat *This,AM_MEDIA_TYPE **ppmt); 66 HRESULT (WINAPI *put_MediaFormat)(ITAMMediaFormat *This,const AM_MEDIA_TYPE *pmt); 67 END_INTERFACE 68 } ITAMMediaFormatVtbl; 69 struct ITAMMediaFormat { 70 CONST_VTBL struct ITAMMediaFormatVtbl *lpVtbl; 71 }; 72 #ifdef COBJMACROS 73 #define ITAMMediaFormat_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 74 #define ITAMMediaFormat_AddRef(This) (This)->lpVtbl->AddRef(This) 75 #define ITAMMediaFormat_Release(This) (This)->lpVtbl->Release(This) 76 #define ITAMMediaFormat_get_MediaFormat(This,ppmt) (This)->lpVtbl->get_MediaFormat(This,ppmt) 77 #define ITAMMediaFormat_put_MediaFormat(This,pmt) (This)->lpVtbl->put_MediaFormat(This,pmt) 78 #endif 79 #endif 80 HRESULT WINAPI ITAMMediaFormat_get_MediaFormat_Proxy(ITAMMediaFormat *This,AM_MEDIA_TYPE **ppmt); 81 void __RPC_STUB ITAMMediaFormat_get_MediaFormat_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 82 HRESULT WINAPI ITAMMediaFormat_put_MediaFormat_Proxy(ITAMMediaFormat *This,const AM_MEDIA_TYPE *pmt); 83 void __RPC_STUB ITAMMediaFormat_put_MediaFormat_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 84 #endif 85 86 #ifndef __ITAllocatorProperties_INTERFACE_DEFINED__ 87 #define __ITAllocatorProperties_INTERFACE_DEFINED__ 88 EXTERN_C const IID IID_ITAllocatorProperties; 89 #if defined(__cplusplus) && !defined(CINTERFACE) 90 struct ITAllocatorProperties : public IUnknown { 91 public: 92 virtual HRESULT WINAPI SetAllocatorProperties(ALLOCATOR_PROPERTIES *pAllocProperties) = 0; 93 virtual HRESULT WINAPI GetAllocatorProperties(ALLOCATOR_PROPERTIES *pAllocProperties) = 0; 94 virtual HRESULT WINAPI SetAllocateBuffers(WINBOOL bAllocBuffers) = 0; 95 virtual HRESULT WINAPI GetAllocateBuffers(WINBOOL *pbAllocBuffers) = 0; 96 virtual HRESULT WINAPI SetBufferSize(DWORD BufferSize) = 0; 97 virtual HRESULT WINAPI GetBufferSize(DWORD *pBufferSize) = 0; 98 }; 99 #else 100 typedef struct ITAllocatorPropertiesVtbl { 101 BEGIN_INTERFACE 102 HRESULT (WINAPI *QueryInterface)(ITAllocatorProperties *This,REFIID riid,void **ppvObject); 103 ULONG (WINAPI *AddRef)(ITAllocatorProperties *This); 104 ULONG (WINAPI *Release)(ITAllocatorProperties *This); 105 HRESULT (WINAPI *SetAllocatorProperties)(ITAllocatorProperties *This,ALLOCATOR_PROPERTIES *pAllocProperties); 106 HRESULT (WINAPI *GetAllocatorProperties)(ITAllocatorProperties *This,ALLOCATOR_PROPERTIES *pAllocProperties); 107 HRESULT (WINAPI *SetAllocateBuffers)(ITAllocatorProperties *This,WINBOOL bAllocBuffers); 108 HRESULT (WINAPI *GetAllocateBuffers)(ITAllocatorProperties *This,WINBOOL *pbAllocBuffers); 109 HRESULT (WINAPI *SetBufferSize)(ITAllocatorProperties *This,DWORD BufferSize); 110 HRESULT (WINAPI *GetBufferSize)(ITAllocatorProperties *This,DWORD *pBufferSize); 111 END_INTERFACE 112 } ITAllocatorPropertiesVtbl; 113 struct ITAllocatorProperties { 114 CONST_VTBL struct ITAllocatorPropertiesVtbl *lpVtbl; 115 }; 116 #ifdef COBJMACROS 117 #define ITAllocatorProperties_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 118 #define ITAllocatorProperties_AddRef(This) (This)->lpVtbl->AddRef(This) 119 #define ITAllocatorProperties_Release(This) (This)->lpVtbl->Release(This) 120 #define ITAllocatorProperties_SetAllocatorProperties(This,pAllocProperties) (This)->lpVtbl->SetAllocatorProperties(This,pAllocProperties) 121 #define ITAllocatorProperties_GetAllocatorProperties(This,pAllocProperties) (This)->lpVtbl->GetAllocatorProperties(This,pAllocProperties) 122 #define ITAllocatorProperties_SetAllocateBuffers(This,bAllocBuffers) (This)->lpVtbl->SetAllocateBuffers(This,bAllocBuffers) 123 #define ITAllocatorProperties_GetAllocateBuffers(This,pbAllocBuffers) (This)->lpVtbl->GetAllocateBuffers(This,pbAllocBuffers) 124 #define ITAllocatorProperties_SetBufferSize(This,BufferSize) (This)->lpVtbl->SetBufferSize(This,BufferSize) 125 #define ITAllocatorProperties_GetBufferSize(This,pBufferSize) (This)->lpVtbl->GetBufferSize(This,pBufferSize) 126 #endif 127 #endif 128 HRESULT WINAPI ITAllocatorProperties_SetAllocatorProperties_Proxy(ITAllocatorProperties *This,ALLOCATOR_PROPERTIES *pAllocProperties); 129 void __RPC_STUB ITAllocatorProperties_SetAllocatorProperties_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 130 HRESULT WINAPI ITAllocatorProperties_GetAllocatorProperties_Proxy(ITAllocatorProperties *This,ALLOCATOR_PROPERTIES *pAllocProperties); 131 void __RPC_STUB ITAllocatorProperties_GetAllocatorProperties_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 132 HRESULT WINAPI ITAllocatorProperties_SetAllocateBuffers_Proxy(ITAllocatorProperties *This,WINBOOL bAllocBuffers); 133 void __RPC_STUB ITAllocatorProperties_SetAllocateBuffers_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 134 HRESULT WINAPI ITAllocatorProperties_GetAllocateBuffers_Proxy(ITAllocatorProperties *This,WINBOOL *pbAllocBuffers); 135 void __RPC_STUB ITAllocatorProperties_GetAllocateBuffers_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 136 HRESULT WINAPI ITAllocatorProperties_SetBufferSize_Proxy(ITAllocatorProperties *This,DWORD BufferSize); 137 void __RPC_STUB ITAllocatorProperties_SetBufferSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 138 HRESULT WINAPI ITAllocatorProperties_GetBufferSize_Proxy(ITAllocatorProperties *This,DWORD *pBufferSize); 139 void __RPC_STUB ITAllocatorProperties_GetBufferSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 140 #endif 141 142 #ifdef __cplusplus 143 } 144 #endif 145 #endif 146