tapi3ds.h 7.6 KB

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