Source code of Windows XP (NT5)
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.

550 lines
16 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 5.01.0164 */
  3. /* at Tue Apr 30 09:51:03 2002
  4. */
  5. /* Compiler settings for .\wmsbuffer.idl:
  6. Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  7. error checks: allocation ref bounds_check enum stub_data
  8. */
  9. //@@MIDL_FILE_HEADING( )
  10. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  11. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  12. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  13. #endif
  14. #include "rpc.h"
  15. #include "rpcndr.h"
  16. #ifndef __RPCNDR_H_VERSION__
  17. #error this stub requires an updated version of <rpcndr.h>
  18. #endif // __RPCNDR_H_VERSION__
  19. #ifndef COM_NO_WINDOWS_H
  20. #include "windows.h"
  21. #include "ole2.h"
  22. #endif /*COM_NO_WINDOWS_H*/
  23. #ifndef __wmsbuffer_h__
  24. #define __wmsbuffer_h__
  25. #ifdef __cplusplus
  26. extern "C"{
  27. #endif
  28. /* Forward Declarations */
  29. #ifndef __INSSBuffer_FWD_DEFINED__
  30. #define __INSSBuffer_FWD_DEFINED__
  31. typedef interface INSSBuffer INSSBuffer;
  32. #endif /* __INSSBuffer_FWD_DEFINED__ */
  33. #ifndef __INSSBuffer2_FWD_DEFINED__
  34. #define __INSSBuffer2_FWD_DEFINED__
  35. typedef interface INSSBuffer2 INSSBuffer2;
  36. #endif /* __INSSBuffer2_FWD_DEFINED__ */
  37. #ifndef __IWMSBufferAllocator_FWD_DEFINED__
  38. #define __IWMSBufferAllocator_FWD_DEFINED__
  39. typedef interface IWMSBufferAllocator IWMSBufferAllocator;
  40. #endif /* __IWMSBufferAllocator_FWD_DEFINED__ */
  41. /* header files for imported files */
  42. #include "objidl.h"
  43. #include "ocidl.h"
  44. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  45. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  46. /* interface __MIDL_itf_wmsbuffer_0000 */
  47. /* [local] */
  48. //=========================================================================
  49. //
  50. // Microsoft Windows Media Technologies
  51. // Copyright (C) Microsoft Corporation, 1999 - 2001. All Rights Reserved.
  52. //
  53. //=========================================================================
  54. #if _MSC_VER > 1000
  55. #pragma once
  56. #endif // _MSC_VER > 1000
  57. EXTERN_GUID( IID_INSSBuffer, 0xE1CD3524,0x03D7,0x11d2,0x9E,0xED,0x00,0x60,0x97,0xD2,0xD7,0xCF );
  58. EXTERN_GUID( IID_IWMSBuffer, 0xE1CD3524,0x03D7,0x11d2,0x9E,0xED,0x00,0x60,0x97,0xD2,0xD7,0xCF );
  59. EXTERN_GUID( IID_IWMSBufferAllocator, 0x61103CA4,0x2033,0x11d2,0x9E,0xF1,0x00,0x60,0x97,0xD2,0xD7,0xCF );
  60. EXTERN_GUID( IID_INSSBuffer2, 0x4f528693, 0x1035, 0x43fe, 0xb4, 0x28, 0x75, 0x75, 0x61, 0xad, 0x3a, 0x68);
  61. #define IWMSBuffer INSSBuffer
  62. extern RPC_IF_HANDLE __MIDL_itf_wmsbuffer_0000_v0_0_c_ifspec;
  63. extern RPC_IF_HANDLE __MIDL_itf_wmsbuffer_0000_v0_0_s_ifspec;
  64. #ifndef __INSSBuffer_INTERFACE_DEFINED__
  65. #define __INSSBuffer_INTERFACE_DEFINED__
  66. /* interface INSSBuffer */
  67. /* [version][uuid][unique][object][local] */
  68. EXTERN_C const IID IID_INSSBuffer;
  69. #if defined(__cplusplus) && !defined(CINTERFACE)
  70. MIDL_INTERFACE("E1CD3524-03D7-11d2-9EED-006097D2D7CF")
  71. INSSBuffer : public IUnknown
  72. {
  73. public:
  74. virtual HRESULT STDMETHODCALLTYPE GetLength(
  75. /* [out] */ DWORD __RPC_FAR *pdwLength) = 0;
  76. virtual HRESULT STDMETHODCALLTYPE SetLength(
  77. /* [in] */ DWORD dwLength) = 0;
  78. virtual HRESULT STDMETHODCALLTYPE GetMaxLength(
  79. /* [out] */ DWORD __RPC_FAR *pdwLength) = 0;
  80. virtual HRESULT STDMETHODCALLTYPE GetBuffer(
  81. /* [out] */ BYTE __RPC_FAR *__RPC_FAR *ppdwBuffer) = 0;
  82. virtual HRESULT STDMETHODCALLTYPE GetBufferAndLength(
  83. /* [out] */ BYTE __RPC_FAR *__RPC_FAR *ppdwBuffer,
  84. /* [out] */ DWORD __RPC_FAR *pdwLength) = 0;
  85. };
  86. #else /* C style interface */
  87. typedef struct INSSBufferVtbl
  88. {
  89. BEGIN_INTERFACE
  90. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  91. INSSBuffer __RPC_FAR * This,
  92. /* [in] */ REFIID riid,
  93. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  94. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  95. INSSBuffer __RPC_FAR * This);
  96. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  97. INSSBuffer __RPC_FAR * This);
  98. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetLength )(
  99. INSSBuffer __RPC_FAR * This,
  100. /* [out] */ DWORD __RPC_FAR *pdwLength);
  101. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetLength )(
  102. INSSBuffer __RPC_FAR * This,
  103. /* [in] */ DWORD dwLength);
  104. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetMaxLength )(
  105. INSSBuffer __RPC_FAR * This,
  106. /* [out] */ DWORD __RPC_FAR *pdwLength);
  107. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetBuffer )(
  108. INSSBuffer __RPC_FAR * This,
  109. /* [out] */ BYTE __RPC_FAR *__RPC_FAR *ppdwBuffer);
  110. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetBufferAndLength )(
  111. INSSBuffer __RPC_FAR * This,
  112. /* [out] */ BYTE __RPC_FAR *__RPC_FAR *ppdwBuffer,
  113. /* [out] */ DWORD __RPC_FAR *pdwLength);
  114. END_INTERFACE
  115. } INSSBufferVtbl;
  116. interface INSSBuffer
  117. {
  118. CONST_VTBL struct INSSBufferVtbl __RPC_FAR *lpVtbl;
  119. };
  120. #ifdef COBJMACROS
  121. #define INSSBuffer_QueryInterface(This,riid,ppvObject) \
  122. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  123. #define INSSBuffer_AddRef(This) \
  124. (This)->lpVtbl -> AddRef(This)
  125. #define INSSBuffer_Release(This) \
  126. (This)->lpVtbl -> Release(This)
  127. #define INSSBuffer_GetLength(This,pdwLength) \
  128. (This)->lpVtbl -> GetLength(This,pdwLength)
  129. #define INSSBuffer_SetLength(This,dwLength) \
  130. (This)->lpVtbl -> SetLength(This,dwLength)
  131. #define INSSBuffer_GetMaxLength(This,pdwLength) \
  132. (This)->lpVtbl -> GetMaxLength(This,pdwLength)
  133. #define INSSBuffer_GetBuffer(This,ppdwBuffer) \
  134. (This)->lpVtbl -> GetBuffer(This,ppdwBuffer)
  135. #define INSSBuffer_GetBufferAndLength(This,ppdwBuffer,pdwLength) \
  136. (This)->lpVtbl -> GetBufferAndLength(This,ppdwBuffer,pdwLength)
  137. #endif /* COBJMACROS */
  138. #endif /* C style interface */
  139. HRESULT STDMETHODCALLTYPE INSSBuffer_GetLength_Proxy(
  140. INSSBuffer __RPC_FAR * This,
  141. /* [out] */ DWORD __RPC_FAR *pdwLength);
  142. void __RPC_STUB INSSBuffer_GetLength_Stub(
  143. IRpcStubBuffer *This,
  144. IRpcChannelBuffer *_pRpcChannelBuffer,
  145. PRPC_MESSAGE _pRpcMessage,
  146. DWORD *_pdwStubPhase);
  147. HRESULT STDMETHODCALLTYPE INSSBuffer_SetLength_Proxy(
  148. INSSBuffer __RPC_FAR * This,
  149. /* [in] */ DWORD dwLength);
  150. void __RPC_STUB INSSBuffer_SetLength_Stub(
  151. IRpcStubBuffer *This,
  152. IRpcChannelBuffer *_pRpcChannelBuffer,
  153. PRPC_MESSAGE _pRpcMessage,
  154. DWORD *_pdwStubPhase);
  155. HRESULT STDMETHODCALLTYPE INSSBuffer_GetMaxLength_Proxy(
  156. INSSBuffer __RPC_FAR * This,
  157. /* [out] */ DWORD __RPC_FAR *pdwLength);
  158. void __RPC_STUB INSSBuffer_GetMaxLength_Stub(
  159. IRpcStubBuffer *This,
  160. IRpcChannelBuffer *_pRpcChannelBuffer,
  161. PRPC_MESSAGE _pRpcMessage,
  162. DWORD *_pdwStubPhase);
  163. HRESULT STDMETHODCALLTYPE INSSBuffer_GetBuffer_Proxy(
  164. INSSBuffer __RPC_FAR * This,
  165. /* [out] */ BYTE __RPC_FAR *__RPC_FAR *ppdwBuffer);
  166. void __RPC_STUB INSSBuffer_GetBuffer_Stub(
  167. IRpcStubBuffer *This,
  168. IRpcChannelBuffer *_pRpcChannelBuffer,
  169. PRPC_MESSAGE _pRpcMessage,
  170. DWORD *_pdwStubPhase);
  171. HRESULT STDMETHODCALLTYPE INSSBuffer_GetBufferAndLength_Proxy(
  172. INSSBuffer __RPC_FAR * This,
  173. /* [out] */ BYTE __RPC_FAR *__RPC_FAR *ppdwBuffer,
  174. /* [out] */ DWORD __RPC_FAR *pdwLength);
  175. void __RPC_STUB INSSBuffer_GetBufferAndLength_Stub(
  176. IRpcStubBuffer *This,
  177. IRpcChannelBuffer *_pRpcChannelBuffer,
  178. PRPC_MESSAGE _pRpcMessage,
  179. DWORD *_pdwStubPhase);
  180. #endif /* __INSSBuffer_INTERFACE_DEFINED__ */
  181. #ifndef __INSSBuffer2_INTERFACE_DEFINED__
  182. #define __INSSBuffer2_INTERFACE_DEFINED__
  183. /* interface INSSBuffer2 */
  184. /* [version][uuid][unique][object][local] */
  185. EXTERN_C const IID IID_INSSBuffer2;
  186. #if defined(__cplusplus) && !defined(CINTERFACE)
  187. MIDL_INTERFACE("4F528693-1035-43fe-B428-757561AD3A68")
  188. INSSBuffer2 : public INSSBuffer
  189. {
  190. public:
  191. virtual HRESULT STDMETHODCALLTYPE GetSampleProperties(
  192. /* [in] */ DWORD cbProperties,
  193. /* [out] */ BYTE __RPC_FAR *pbProperties) = 0;
  194. virtual HRESULT STDMETHODCALLTYPE SetSampleProperties(
  195. /* [in] */ DWORD cbProperties,
  196. /* [in] */ BYTE __RPC_FAR *pbProperties) = 0;
  197. };
  198. #else /* C style interface */
  199. typedef struct INSSBuffer2Vtbl
  200. {
  201. BEGIN_INTERFACE
  202. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  203. INSSBuffer2 __RPC_FAR * This,
  204. /* [in] */ REFIID riid,
  205. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  206. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  207. INSSBuffer2 __RPC_FAR * This);
  208. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  209. INSSBuffer2 __RPC_FAR * This);
  210. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetLength )(
  211. INSSBuffer2 __RPC_FAR * This,
  212. /* [out] */ DWORD __RPC_FAR *pdwLength);
  213. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetLength )(
  214. INSSBuffer2 __RPC_FAR * This,
  215. /* [in] */ DWORD dwLength);
  216. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetMaxLength )(
  217. INSSBuffer2 __RPC_FAR * This,
  218. /* [out] */ DWORD __RPC_FAR *pdwLength);
  219. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetBuffer )(
  220. INSSBuffer2 __RPC_FAR * This,
  221. /* [out] */ BYTE __RPC_FAR *__RPC_FAR *ppdwBuffer);
  222. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetBufferAndLength )(
  223. INSSBuffer2 __RPC_FAR * This,
  224. /* [out] */ BYTE __RPC_FAR *__RPC_FAR *ppdwBuffer,
  225. /* [out] */ DWORD __RPC_FAR *pdwLength);
  226. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSampleProperties )(
  227. INSSBuffer2 __RPC_FAR * This,
  228. /* [in] */ DWORD cbProperties,
  229. /* [out] */ BYTE __RPC_FAR *pbProperties);
  230. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSampleProperties )(
  231. INSSBuffer2 __RPC_FAR * This,
  232. /* [in] */ DWORD cbProperties,
  233. /* [in] */ BYTE __RPC_FAR *pbProperties);
  234. END_INTERFACE
  235. } INSSBuffer2Vtbl;
  236. interface INSSBuffer2
  237. {
  238. CONST_VTBL struct INSSBuffer2Vtbl __RPC_FAR *lpVtbl;
  239. };
  240. #ifdef COBJMACROS
  241. #define INSSBuffer2_QueryInterface(This,riid,ppvObject) \
  242. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  243. #define INSSBuffer2_AddRef(This) \
  244. (This)->lpVtbl -> AddRef(This)
  245. #define INSSBuffer2_Release(This) \
  246. (This)->lpVtbl -> Release(This)
  247. #define INSSBuffer2_GetLength(This,pdwLength) \
  248. (This)->lpVtbl -> GetLength(This,pdwLength)
  249. #define INSSBuffer2_SetLength(This,dwLength) \
  250. (This)->lpVtbl -> SetLength(This,dwLength)
  251. #define INSSBuffer2_GetMaxLength(This,pdwLength) \
  252. (This)->lpVtbl -> GetMaxLength(This,pdwLength)
  253. #define INSSBuffer2_GetBuffer(This,ppdwBuffer) \
  254. (This)->lpVtbl -> GetBuffer(This,ppdwBuffer)
  255. #define INSSBuffer2_GetBufferAndLength(This,ppdwBuffer,pdwLength) \
  256. (This)->lpVtbl -> GetBufferAndLength(This,ppdwBuffer,pdwLength)
  257. #define INSSBuffer2_GetSampleProperties(This,cbProperties,pbProperties) \
  258. (This)->lpVtbl -> GetSampleProperties(This,cbProperties,pbProperties)
  259. #define INSSBuffer2_SetSampleProperties(This,cbProperties,pbProperties) \
  260. (This)->lpVtbl -> SetSampleProperties(This,cbProperties,pbProperties)
  261. #endif /* COBJMACROS */
  262. #endif /* C style interface */
  263. HRESULT STDMETHODCALLTYPE INSSBuffer2_GetSampleProperties_Proxy(
  264. INSSBuffer2 __RPC_FAR * This,
  265. /* [in] */ DWORD cbProperties,
  266. /* [out] */ BYTE __RPC_FAR *pbProperties);
  267. void __RPC_STUB INSSBuffer2_GetSampleProperties_Stub(
  268. IRpcStubBuffer *This,
  269. IRpcChannelBuffer *_pRpcChannelBuffer,
  270. PRPC_MESSAGE _pRpcMessage,
  271. DWORD *_pdwStubPhase);
  272. HRESULT STDMETHODCALLTYPE INSSBuffer2_SetSampleProperties_Proxy(
  273. INSSBuffer2 __RPC_FAR * This,
  274. /* [in] */ DWORD cbProperties,
  275. /* [in] */ BYTE __RPC_FAR *pbProperties);
  276. void __RPC_STUB INSSBuffer2_SetSampleProperties_Stub(
  277. IRpcStubBuffer *This,
  278. IRpcChannelBuffer *_pRpcChannelBuffer,
  279. PRPC_MESSAGE _pRpcMessage,
  280. DWORD *_pdwStubPhase);
  281. #endif /* __INSSBuffer2_INTERFACE_DEFINED__ */
  282. #ifndef __IWMSBufferAllocator_INTERFACE_DEFINED__
  283. #define __IWMSBufferAllocator_INTERFACE_DEFINED__
  284. /* interface IWMSBufferAllocator */
  285. /* [version][uuid][unique][object][local] */
  286. EXTERN_C const IID IID_IWMSBufferAllocator;
  287. #if defined(__cplusplus) && !defined(CINTERFACE)
  288. MIDL_INTERFACE("61103CA4-2033-11d2-9EF1-006097D2D7CF")
  289. IWMSBufferAllocator : public IUnknown
  290. {
  291. public:
  292. virtual HRESULT STDMETHODCALLTYPE AllocateBuffer(
  293. /* [in] */ DWORD dwMaxBufferSize,
  294. /* [out] */ INSSBuffer __RPC_FAR *__RPC_FAR *ppBuffer) = 0;
  295. virtual HRESULT STDMETHODCALLTYPE AllocatePageSizeBuffer(
  296. /* [in] */ DWORD dwMaxBufferSize,
  297. /* [out] */ INSSBuffer __RPC_FAR *__RPC_FAR *ppBuffer) = 0;
  298. };
  299. #else /* C style interface */
  300. typedef struct IWMSBufferAllocatorVtbl
  301. {
  302. BEGIN_INTERFACE
  303. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  304. IWMSBufferAllocator __RPC_FAR * This,
  305. /* [in] */ REFIID riid,
  306. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  307. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  308. IWMSBufferAllocator __RPC_FAR * This);
  309. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  310. IWMSBufferAllocator __RPC_FAR * This);
  311. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AllocateBuffer )(
  312. IWMSBufferAllocator __RPC_FAR * This,
  313. /* [in] */ DWORD dwMaxBufferSize,
  314. /* [out] */ INSSBuffer __RPC_FAR *__RPC_FAR *ppBuffer);
  315. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AllocatePageSizeBuffer )(
  316. IWMSBufferAllocator __RPC_FAR * This,
  317. /* [in] */ DWORD dwMaxBufferSize,
  318. /* [out] */ INSSBuffer __RPC_FAR *__RPC_FAR *ppBuffer);
  319. END_INTERFACE
  320. } IWMSBufferAllocatorVtbl;
  321. interface IWMSBufferAllocator
  322. {
  323. CONST_VTBL struct IWMSBufferAllocatorVtbl __RPC_FAR *lpVtbl;
  324. };
  325. #ifdef COBJMACROS
  326. #define IWMSBufferAllocator_QueryInterface(This,riid,ppvObject) \
  327. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  328. #define IWMSBufferAllocator_AddRef(This) \
  329. (This)->lpVtbl -> AddRef(This)
  330. #define IWMSBufferAllocator_Release(This) \
  331. (This)->lpVtbl -> Release(This)
  332. #define IWMSBufferAllocator_AllocateBuffer(This,dwMaxBufferSize,ppBuffer) \
  333. (This)->lpVtbl -> AllocateBuffer(This,dwMaxBufferSize,ppBuffer)
  334. #define IWMSBufferAllocator_AllocatePageSizeBuffer(This,dwMaxBufferSize,ppBuffer) \
  335. (This)->lpVtbl -> AllocatePageSizeBuffer(This,dwMaxBufferSize,ppBuffer)
  336. #endif /* COBJMACROS */
  337. #endif /* C style interface */
  338. HRESULT STDMETHODCALLTYPE IWMSBufferAllocator_AllocateBuffer_Proxy(
  339. IWMSBufferAllocator __RPC_FAR * This,
  340. /* [in] */ DWORD dwMaxBufferSize,
  341. /* [out] */ INSSBuffer __RPC_FAR *__RPC_FAR *ppBuffer);
  342. void __RPC_STUB IWMSBufferAllocator_AllocateBuffer_Stub(
  343. IRpcStubBuffer *This,
  344. IRpcChannelBuffer *_pRpcChannelBuffer,
  345. PRPC_MESSAGE _pRpcMessage,
  346. DWORD *_pdwStubPhase);
  347. HRESULT STDMETHODCALLTYPE IWMSBufferAllocator_AllocatePageSizeBuffer_Proxy(
  348. IWMSBufferAllocator __RPC_FAR * This,
  349. /* [in] */ DWORD dwMaxBufferSize,
  350. /* [out] */ INSSBuffer __RPC_FAR *__RPC_FAR *ppBuffer);
  351. void __RPC_STUB IWMSBufferAllocator_AllocatePageSizeBuffer_Stub(
  352. IRpcStubBuffer *This,
  353. IRpcChannelBuffer *_pRpcChannelBuffer,
  354. PRPC_MESSAGE _pRpcMessage,
  355. DWORD *_pdwStubPhase);
  356. #endif /* __IWMSBufferAllocator_INTERFACE_DEFINED__ */
  357. /* Additional Prototypes for ALL interfaces */
  358. /* end of Additional Prototypes */
  359. #ifdef __cplusplus
  360. }
  361. #endif
  362. #endif