Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

403 lines
11 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for wmsbuffer.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __wmsbuffer_h__
  27. #define __wmsbuffer_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __INSSBuffer_FWD_DEFINED__
  33. #define __INSSBuffer_FWD_DEFINED__
  34. typedef interface INSSBuffer INSSBuffer;
  35. #endif /* __INSSBuffer_FWD_DEFINED__ */
  36. #ifndef __IWMSBufferAllocator_FWD_DEFINED__
  37. #define __IWMSBufferAllocator_FWD_DEFINED__
  38. typedef interface IWMSBufferAllocator IWMSBufferAllocator;
  39. #endif /* __IWMSBufferAllocator_FWD_DEFINED__ */
  40. /* header files for imported files */
  41. #include "objidl.h"
  42. #ifdef __cplusplus
  43. extern "C"{
  44. #endif
  45. void * __RPC_USER MIDL_user_allocate(size_t);
  46. void __RPC_USER MIDL_user_free( void * );
  47. /* interface __MIDL_itf_wmsbuffer_0000 */
  48. /* [local] */
  49. //*****************************************************************************
  50. //
  51. // Microsoft Windows Media
  52. // Copyright (C) Microsoft Corporation. All rights reserved.
  53. //
  54. // Automatically generated by Midl from wmsbuffer.idl
  55. //
  56. // DO NOT EDIT THIS FILE.
  57. //
  58. //*****************************************************************************
  59. #if _MSC_VER > 1000
  60. #pragma once
  61. #endif // _MSC_VER > 1000
  62. EXTERN_GUID( IID_INSSBuffer, 0xE1CD3524,0x03D7,0x11d2,0x9E,0xED,0x00,0x60,0x97,0xD2,0xD7,0xCF );
  63. EXTERN_GUID( IID_IWMSBuffer, 0xE1CD3524,0x03D7,0x11d2,0x9E,0xED,0x00,0x60,0x97,0xD2,0xD7,0xCF );
  64. EXTERN_GUID( IID_IWMSBufferAllocator, 0x61103CA4,0x2033,0x11d2,0x9E,0xF1,0x00,0x60,0x97,0xD2,0xD7,0xCF );
  65. #define IWMSBuffer INSSBuffer
  66. extern RPC_IF_HANDLE __MIDL_itf_wmsbuffer_0000_v0_0_c_ifspec;
  67. extern RPC_IF_HANDLE __MIDL_itf_wmsbuffer_0000_v0_0_s_ifspec;
  68. #ifndef __INSSBuffer_INTERFACE_DEFINED__
  69. #define __INSSBuffer_INTERFACE_DEFINED__
  70. /* interface INSSBuffer */
  71. /* [helpstring][version][uuid][unique][object][local] */
  72. EXTERN_C const IID IID_INSSBuffer;
  73. #if defined(__cplusplus) && !defined(CINTERFACE)
  74. MIDL_INTERFACE("E1CD3524-03D7-11d2-9EED-006097D2D7CF")
  75. INSSBuffer : public IUnknown
  76. {
  77. public:
  78. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetLength(
  79. /* [out] */ DWORD *pdwLength) = 0;
  80. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetLength(
  81. /* [in] */ DWORD dwLength) = 0;
  82. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetMaxLength(
  83. /* [out] */ DWORD *pdwLength) = 0;
  84. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetBuffer(
  85. /* [out] */ BYTE **ppbBuffer) = 0;
  86. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetBufferAndLength(
  87. /* [out] */ BYTE **ppbBuffer,
  88. /* [out] */ DWORD *pdwLength) = 0;
  89. };
  90. #else /* C style interface */
  91. typedef struct INSSBufferVtbl
  92. {
  93. BEGIN_INTERFACE
  94. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  95. INSSBuffer * This,
  96. /* [in] */ REFIID riid,
  97. /* [iid_is][out] */ void **ppvObject);
  98. ULONG ( STDMETHODCALLTYPE *AddRef )(
  99. INSSBuffer * This);
  100. ULONG ( STDMETHODCALLTYPE *Release )(
  101. INSSBuffer * This);
  102. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetLength )(
  103. INSSBuffer * This,
  104. /* [out] */ DWORD *pdwLength);
  105. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetLength )(
  106. INSSBuffer * This,
  107. /* [in] */ DWORD dwLength);
  108. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetMaxLength )(
  109. INSSBuffer * This,
  110. /* [out] */ DWORD *pdwLength);
  111. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetBuffer )(
  112. INSSBuffer * This,
  113. /* [out] */ BYTE **ppbBuffer);
  114. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetBufferAndLength )(
  115. INSSBuffer * This,
  116. /* [out] */ BYTE **ppbBuffer,
  117. /* [out] */ DWORD *pdwLength);
  118. END_INTERFACE
  119. } INSSBufferVtbl;
  120. interface INSSBuffer
  121. {
  122. CONST_VTBL struct INSSBufferVtbl *lpVtbl;
  123. };
  124. #ifdef COBJMACROS
  125. #define INSSBuffer_QueryInterface(This,riid,ppvObject) \
  126. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  127. #define INSSBuffer_AddRef(This) \
  128. (This)->lpVtbl -> AddRef(This)
  129. #define INSSBuffer_Release(This) \
  130. (This)->lpVtbl -> Release(This)
  131. #define INSSBuffer_GetLength(This,pdwLength) \
  132. (This)->lpVtbl -> GetLength(This,pdwLength)
  133. #define INSSBuffer_SetLength(This,dwLength) \
  134. (This)->lpVtbl -> SetLength(This,dwLength)
  135. #define INSSBuffer_GetMaxLength(This,pdwLength) \
  136. (This)->lpVtbl -> GetMaxLength(This,pdwLength)
  137. #define INSSBuffer_GetBuffer(This,ppbBuffer) \
  138. (This)->lpVtbl -> GetBuffer(This,ppbBuffer)
  139. #define INSSBuffer_GetBufferAndLength(This,ppbBuffer,pdwLength) \
  140. (This)->lpVtbl -> GetBufferAndLength(This,ppbBuffer,pdwLength)
  141. #endif /* COBJMACROS */
  142. #endif /* C style interface */
  143. /* [helpstring] */ HRESULT STDMETHODCALLTYPE INSSBuffer_GetLength_Proxy(
  144. INSSBuffer * This,
  145. /* [out] */ DWORD *pdwLength);
  146. void __RPC_STUB INSSBuffer_GetLength_Stub(
  147. IRpcStubBuffer *This,
  148. IRpcChannelBuffer *_pRpcChannelBuffer,
  149. PRPC_MESSAGE _pRpcMessage,
  150. DWORD *_pdwStubPhase);
  151. /* [helpstring] */ HRESULT STDMETHODCALLTYPE INSSBuffer_SetLength_Proxy(
  152. INSSBuffer * This,
  153. /* [in] */ DWORD dwLength);
  154. void __RPC_STUB INSSBuffer_SetLength_Stub(
  155. IRpcStubBuffer *This,
  156. IRpcChannelBuffer *_pRpcChannelBuffer,
  157. PRPC_MESSAGE _pRpcMessage,
  158. DWORD *_pdwStubPhase);
  159. /* [helpstring] */ HRESULT STDMETHODCALLTYPE INSSBuffer_GetMaxLength_Proxy(
  160. INSSBuffer * This,
  161. /* [out] */ DWORD *pdwLength);
  162. void __RPC_STUB INSSBuffer_GetMaxLength_Stub(
  163. IRpcStubBuffer *This,
  164. IRpcChannelBuffer *_pRpcChannelBuffer,
  165. PRPC_MESSAGE _pRpcMessage,
  166. DWORD *_pdwStubPhase);
  167. /* [helpstring] */ HRESULT STDMETHODCALLTYPE INSSBuffer_GetBuffer_Proxy(
  168. INSSBuffer * This,
  169. /* [out] */ BYTE **ppbBuffer);
  170. void __RPC_STUB INSSBuffer_GetBuffer_Stub(
  171. IRpcStubBuffer *This,
  172. IRpcChannelBuffer *_pRpcChannelBuffer,
  173. PRPC_MESSAGE _pRpcMessage,
  174. DWORD *_pdwStubPhase);
  175. /* [helpstring] */ HRESULT STDMETHODCALLTYPE INSSBuffer_GetBufferAndLength_Proxy(
  176. INSSBuffer * This,
  177. /* [out] */ BYTE **ppbBuffer,
  178. /* [out] */ DWORD *pdwLength);
  179. void __RPC_STUB INSSBuffer_GetBufferAndLength_Stub(
  180. IRpcStubBuffer *This,
  181. IRpcChannelBuffer *_pRpcChannelBuffer,
  182. PRPC_MESSAGE _pRpcMessage,
  183. DWORD *_pdwStubPhase);
  184. #endif /* __INSSBuffer_INTERFACE_DEFINED__ */
  185. #ifndef __IWMSBufferAllocator_INTERFACE_DEFINED__
  186. #define __IWMSBufferAllocator_INTERFACE_DEFINED__
  187. /* interface IWMSBufferAllocator */
  188. /* [helpstring][version][uuid][unique][object][local] */
  189. EXTERN_C const IID IID_IWMSBufferAllocator;
  190. #if defined(__cplusplus) && !defined(CINTERFACE)
  191. MIDL_INTERFACE("61103CA4-2033-11d2-9EF1-006097D2D7CF")
  192. IWMSBufferAllocator : public IUnknown
  193. {
  194. public:
  195. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AllocateBuffer(
  196. /* [in] */ DWORD dwMaxBufferSize,
  197. /* [out] */ INSSBuffer **ppBuffer) = 0;
  198. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AllocatePageSizeBuffer(
  199. /* [in] */ DWORD dwMaxBufferSize,
  200. /* [out] */ INSSBuffer **ppBuffer) = 0;
  201. };
  202. #else /* C style interface */
  203. typedef struct IWMSBufferAllocatorVtbl
  204. {
  205. BEGIN_INTERFACE
  206. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  207. IWMSBufferAllocator * This,
  208. /* [in] */ REFIID riid,
  209. /* [iid_is][out] */ void **ppvObject);
  210. ULONG ( STDMETHODCALLTYPE *AddRef )(
  211. IWMSBufferAllocator * This);
  212. ULONG ( STDMETHODCALLTYPE *Release )(
  213. IWMSBufferAllocator * This);
  214. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AllocateBuffer )(
  215. IWMSBufferAllocator * This,
  216. /* [in] */ DWORD dwMaxBufferSize,
  217. /* [out] */ INSSBuffer **ppBuffer);
  218. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AllocatePageSizeBuffer )(
  219. IWMSBufferAllocator * This,
  220. /* [in] */ DWORD dwMaxBufferSize,
  221. /* [out] */ INSSBuffer **ppBuffer);
  222. END_INTERFACE
  223. } IWMSBufferAllocatorVtbl;
  224. interface IWMSBufferAllocator
  225. {
  226. CONST_VTBL struct IWMSBufferAllocatorVtbl *lpVtbl;
  227. };
  228. #ifdef COBJMACROS
  229. #define IWMSBufferAllocator_QueryInterface(This,riid,ppvObject) \
  230. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  231. #define IWMSBufferAllocator_AddRef(This) \
  232. (This)->lpVtbl -> AddRef(This)
  233. #define IWMSBufferAllocator_Release(This) \
  234. (This)->lpVtbl -> Release(This)
  235. #define IWMSBufferAllocator_AllocateBuffer(This,dwMaxBufferSize,ppBuffer) \
  236. (This)->lpVtbl -> AllocateBuffer(This,dwMaxBufferSize,ppBuffer)
  237. #define IWMSBufferAllocator_AllocatePageSizeBuffer(This,dwMaxBufferSize,ppBuffer) \
  238. (This)->lpVtbl -> AllocatePageSizeBuffer(This,dwMaxBufferSize,ppBuffer)
  239. #endif /* COBJMACROS */
  240. #endif /* C style interface */
  241. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSBufferAllocator_AllocateBuffer_Proxy(
  242. IWMSBufferAllocator * This,
  243. /* [in] */ DWORD dwMaxBufferSize,
  244. /* [out] */ INSSBuffer **ppBuffer);
  245. void __RPC_STUB IWMSBufferAllocator_AllocateBuffer_Stub(
  246. IRpcStubBuffer *This,
  247. IRpcChannelBuffer *_pRpcChannelBuffer,
  248. PRPC_MESSAGE _pRpcMessage,
  249. DWORD *_pdwStubPhase);
  250. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSBufferAllocator_AllocatePageSizeBuffer_Proxy(
  251. IWMSBufferAllocator * This,
  252. /* [in] */ DWORD dwMaxBufferSize,
  253. /* [out] */ INSSBuffer **ppBuffer);
  254. void __RPC_STUB IWMSBufferAllocator_AllocatePageSizeBuffer_Stub(
  255. IRpcStubBuffer *This,
  256. IRpcChannelBuffer *_pRpcChannelBuffer,
  257. PRPC_MESSAGE _pRpcMessage,
  258. DWORD *_pdwStubPhase);
  259. #endif /* __IWMSBufferAllocator_INTERFACE_DEFINED__ */
  260. /* Additional Prototypes for ALL interfaces */
  261. /* end of Additional Prototypes */
  262. #ifdef __cplusplus
  263. }
  264. #endif
  265. #endif