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.

716 lines
20 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 austream.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 __austream_h__
  27. #define __austream_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IAudioMediaStream_FWD_DEFINED__
  33. #define __IAudioMediaStream_FWD_DEFINED__
  34. typedef interface IAudioMediaStream IAudioMediaStream;
  35. #endif /* __IAudioMediaStream_FWD_DEFINED__ */
  36. #ifndef __IAudioStreamSample_FWD_DEFINED__
  37. #define __IAudioStreamSample_FWD_DEFINED__
  38. typedef interface IAudioStreamSample IAudioStreamSample;
  39. #endif /* __IAudioStreamSample_FWD_DEFINED__ */
  40. #ifndef __IMemoryData_FWD_DEFINED__
  41. #define __IMemoryData_FWD_DEFINED__
  42. typedef interface IMemoryData IMemoryData;
  43. #endif /* __IMemoryData_FWD_DEFINED__ */
  44. #ifndef __IAudioData_FWD_DEFINED__
  45. #define __IAudioData_FWD_DEFINED__
  46. typedef interface IAudioData IAudioData;
  47. #endif /* __IAudioData_FWD_DEFINED__ */
  48. /* header files for imported files */
  49. #include "unknwn.h"
  50. #include "mmstream.h"
  51. #ifdef __cplusplus
  52. extern "C"{
  53. #endif
  54. void * __RPC_USER MIDL_user_allocate(size_t);
  55. void __RPC_USER MIDL_user_free( void * );
  56. /* interface __MIDL_itf_austream_0000 */
  57. /* [local] */
  58. //
  59. // The following declarations within the 'if 0' block are dummy typedefs used to make
  60. // the ddstream.idl file build. The actual definitions are contained in DDRAW.H
  61. //
  62. #if 0
  63. typedef struct tWAVEFORMATEX WAVEFORMATEX;
  64. #endif
  65. extern RPC_IF_HANDLE __MIDL_itf_austream_0000_v0_0_c_ifspec;
  66. extern RPC_IF_HANDLE __MIDL_itf_austream_0000_v0_0_s_ifspec;
  67. #ifndef __IAudioMediaStream_INTERFACE_DEFINED__
  68. #define __IAudioMediaStream_INTERFACE_DEFINED__
  69. /* interface IAudioMediaStream */
  70. /* [unique][uuid][local][object] */
  71. EXTERN_C const IID IID_IAudioMediaStream;
  72. #if defined(__cplusplus) && !defined(CINTERFACE)
  73. MIDL_INTERFACE("f7537560-a3be-11d0-8212-00c04fc32c45")
  74. IAudioMediaStream : public IMediaStream
  75. {
  76. public:
  77. virtual HRESULT STDMETHODCALLTYPE GetFormat(
  78. /* [out] */ WAVEFORMATEX *pWaveFormatCurrent) = 0;
  79. virtual HRESULT STDMETHODCALLTYPE SetFormat(
  80. /* [in] */ const WAVEFORMATEX *lpWaveFormat) = 0;
  81. virtual HRESULT STDMETHODCALLTYPE CreateSample(
  82. /* [in] */ IAudioData *pAudioData,
  83. /* [in] */ DWORD dwFlags,
  84. /* [out] */ IAudioStreamSample **ppSample) = 0;
  85. };
  86. #else /* C style interface */
  87. typedef struct IAudioMediaStreamVtbl
  88. {
  89. BEGIN_INTERFACE
  90. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  91. IAudioMediaStream * This,
  92. /* [in] */ REFIID riid,
  93. /* [iid_is][out] */ void **ppvObject);
  94. ULONG ( STDMETHODCALLTYPE *AddRef )(
  95. IAudioMediaStream * This);
  96. ULONG ( STDMETHODCALLTYPE *Release )(
  97. IAudioMediaStream * This);
  98. HRESULT ( STDMETHODCALLTYPE *GetMultiMediaStream )(
  99. IAudioMediaStream * This,
  100. /* [out] */ IMultiMediaStream **ppMultiMediaStream);
  101. HRESULT ( STDMETHODCALLTYPE *GetInformation )(
  102. IAudioMediaStream * This,
  103. /* [out] */ MSPID *pPurposeId,
  104. /* [out] */ STREAM_TYPE *pType);
  105. HRESULT ( STDMETHODCALLTYPE *SetSameFormat )(
  106. IAudioMediaStream * This,
  107. /* [in] */ IMediaStream *pStreamThatHasDesiredFormat,
  108. /* [in] */ DWORD dwFlags);
  109. HRESULT ( STDMETHODCALLTYPE *AllocateSample )(
  110. IAudioMediaStream * This,
  111. /* [in] */ DWORD dwFlags,
  112. /* [out] */ IStreamSample **ppSample);
  113. HRESULT ( STDMETHODCALLTYPE *CreateSharedSample )(
  114. IAudioMediaStream * This,
  115. /* [in] */ IStreamSample *pExistingSample,
  116. /* [in] */ DWORD dwFlags,
  117. /* [out] */ IStreamSample **ppNewSample);
  118. HRESULT ( STDMETHODCALLTYPE *SendEndOfStream )(
  119. IAudioMediaStream * This,
  120. DWORD dwFlags);
  121. HRESULT ( STDMETHODCALLTYPE *GetFormat )(
  122. IAudioMediaStream * This,
  123. /* [out] */ WAVEFORMATEX *pWaveFormatCurrent);
  124. HRESULT ( STDMETHODCALLTYPE *SetFormat )(
  125. IAudioMediaStream * This,
  126. /* [in] */ const WAVEFORMATEX *lpWaveFormat);
  127. HRESULT ( STDMETHODCALLTYPE *CreateSample )(
  128. IAudioMediaStream * This,
  129. /* [in] */ IAudioData *pAudioData,
  130. /* [in] */ DWORD dwFlags,
  131. /* [out] */ IAudioStreamSample **ppSample);
  132. END_INTERFACE
  133. } IAudioMediaStreamVtbl;
  134. interface IAudioMediaStream
  135. {
  136. CONST_VTBL struct IAudioMediaStreamVtbl *lpVtbl;
  137. };
  138. #ifdef COBJMACROS
  139. #define IAudioMediaStream_QueryInterface(This,riid,ppvObject) \
  140. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  141. #define IAudioMediaStream_AddRef(This) \
  142. (This)->lpVtbl -> AddRef(This)
  143. #define IAudioMediaStream_Release(This) \
  144. (This)->lpVtbl -> Release(This)
  145. #define IAudioMediaStream_GetMultiMediaStream(This,ppMultiMediaStream) \
  146. (This)->lpVtbl -> GetMultiMediaStream(This,ppMultiMediaStream)
  147. #define IAudioMediaStream_GetInformation(This,pPurposeId,pType) \
  148. (This)->lpVtbl -> GetInformation(This,pPurposeId,pType)
  149. #define IAudioMediaStream_SetSameFormat(This,pStreamThatHasDesiredFormat,dwFlags) \
  150. (This)->lpVtbl -> SetSameFormat(This,pStreamThatHasDesiredFormat,dwFlags)
  151. #define IAudioMediaStream_AllocateSample(This,dwFlags,ppSample) \
  152. (This)->lpVtbl -> AllocateSample(This,dwFlags,ppSample)
  153. #define IAudioMediaStream_CreateSharedSample(This,pExistingSample,dwFlags,ppNewSample) \
  154. (This)->lpVtbl -> CreateSharedSample(This,pExistingSample,dwFlags,ppNewSample)
  155. #define IAudioMediaStream_SendEndOfStream(This,dwFlags) \
  156. (This)->lpVtbl -> SendEndOfStream(This,dwFlags)
  157. #define IAudioMediaStream_GetFormat(This,pWaveFormatCurrent) \
  158. (This)->lpVtbl -> GetFormat(This,pWaveFormatCurrent)
  159. #define IAudioMediaStream_SetFormat(This,lpWaveFormat) \
  160. (This)->lpVtbl -> SetFormat(This,lpWaveFormat)
  161. #define IAudioMediaStream_CreateSample(This,pAudioData,dwFlags,ppSample) \
  162. (This)->lpVtbl -> CreateSample(This,pAudioData,dwFlags,ppSample)
  163. #endif /* COBJMACROS */
  164. #endif /* C style interface */
  165. HRESULT STDMETHODCALLTYPE IAudioMediaStream_GetFormat_Proxy(
  166. IAudioMediaStream * This,
  167. /* [out] */ WAVEFORMATEX *pWaveFormatCurrent);
  168. void __RPC_STUB IAudioMediaStream_GetFormat_Stub(
  169. IRpcStubBuffer *This,
  170. IRpcChannelBuffer *_pRpcChannelBuffer,
  171. PRPC_MESSAGE _pRpcMessage,
  172. DWORD *_pdwStubPhase);
  173. HRESULT STDMETHODCALLTYPE IAudioMediaStream_SetFormat_Proxy(
  174. IAudioMediaStream * This,
  175. /* [in] */ const WAVEFORMATEX *lpWaveFormat);
  176. void __RPC_STUB IAudioMediaStream_SetFormat_Stub(
  177. IRpcStubBuffer *This,
  178. IRpcChannelBuffer *_pRpcChannelBuffer,
  179. PRPC_MESSAGE _pRpcMessage,
  180. DWORD *_pdwStubPhase);
  181. HRESULT STDMETHODCALLTYPE IAudioMediaStream_CreateSample_Proxy(
  182. IAudioMediaStream * This,
  183. /* [in] */ IAudioData *pAudioData,
  184. /* [in] */ DWORD dwFlags,
  185. /* [out] */ IAudioStreamSample **ppSample);
  186. void __RPC_STUB IAudioMediaStream_CreateSample_Stub(
  187. IRpcStubBuffer *This,
  188. IRpcChannelBuffer *_pRpcChannelBuffer,
  189. PRPC_MESSAGE _pRpcMessage,
  190. DWORD *_pdwStubPhase);
  191. #endif /* __IAudioMediaStream_INTERFACE_DEFINED__ */
  192. #ifndef __IAudioStreamSample_INTERFACE_DEFINED__
  193. #define __IAudioStreamSample_INTERFACE_DEFINED__
  194. /* interface IAudioStreamSample */
  195. /* [unique][uuid][local][object] */
  196. EXTERN_C const IID IID_IAudioStreamSample;
  197. #if defined(__cplusplus) && !defined(CINTERFACE)
  198. MIDL_INTERFACE("345fee00-aba5-11d0-8212-00c04fc32c45")
  199. IAudioStreamSample : public IStreamSample
  200. {
  201. public:
  202. virtual HRESULT STDMETHODCALLTYPE GetAudioData(
  203. /* [out] */ IAudioData **ppAudio) = 0;
  204. };
  205. #else /* C style interface */
  206. typedef struct IAudioStreamSampleVtbl
  207. {
  208. BEGIN_INTERFACE
  209. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  210. IAudioStreamSample * This,
  211. /* [in] */ REFIID riid,
  212. /* [iid_is][out] */ void **ppvObject);
  213. ULONG ( STDMETHODCALLTYPE *AddRef )(
  214. IAudioStreamSample * This);
  215. ULONG ( STDMETHODCALLTYPE *Release )(
  216. IAudioStreamSample * This);
  217. HRESULT ( STDMETHODCALLTYPE *GetMediaStream )(
  218. IAudioStreamSample * This,
  219. /* [in] */ IMediaStream **ppMediaStream);
  220. HRESULT ( STDMETHODCALLTYPE *GetSampleTimes )(
  221. IAudioStreamSample * This,
  222. /* [out] */ STREAM_TIME *pStartTime,
  223. /* [out] */ STREAM_TIME *pEndTime,
  224. /* [out] */ STREAM_TIME *pCurrentTime);
  225. HRESULT ( STDMETHODCALLTYPE *SetSampleTimes )(
  226. IAudioStreamSample * This,
  227. /* [in] */ const STREAM_TIME *pStartTime,
  228. /* [in] */ const STREAM_TIME *pEndTime);
  229. HRESULT ( STDMETHODCALLTYPE *Update )(
  230. IAudioStreamSample * This,
  231. /* [in] */ DWORD dwFlags,
  232. /* [in] */ HANDLE hEvent,
  233. /* [in] */ PAPCFUNC pfnAPC,
  234. /* [in] */ DWORD_PTR dwAPCData);
  235. HRESULT ( STDMETHODCALLTYPE *CompletionStatus )(
  236. IAudioStreamSample * This,
  237. /* [in] */ DWORD dwFlags,
  238. /* [in] */ DWORD dwMilliseconds);
  239. HRESULT ( STDMETHODCALLTYPE *GetAudioData )(
  240. IAudioStreamSample * This,
  241. /* [out] */ IAudioData **ppAudio);
  242. END_INTERFACE
  243. } IAudioStreamSampleVtbl;
  244. interface IAudioStreamSample
  245. {
  246. CONST_VTBL struct IAudioStreamSampleVtbl *lpVtbl;
  247. };
  248. #ifdef COBJMACROS
  249. #define IAudioStreamSample_QueryInterface(This,riid,ppvObject) \
  250. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  251. #define IAudioStreamSample_AddRef(This) \
  252. (This)->lpVtbl -> AddRef(This)
  253. #define IAudioStreamSample_Release(This) \
  254. (This)->lpVtbl -> Release(This)
  255. #define IAudioStreamSample_GetMediaStream(This,ppMediaStream) \
  256. (This)->lpVtbl -> GetMediaStream(This,ppMediaStream)
  257. #define IAudioStreamSample_GetSampleTimes(This,pStartTime,pEndTime,pCurrentTime) \
  258. (This)->lpVtbl -> GetSampleTimes(This,pStartTime,pEndTime,pCurrentTime)
  259. #define IAudioStreamSample_SetSampleTimes(This,pStartTime,pEndTime) \
  260. (This)->lpVtbl -> SetSampleTimes(This,pStartTime,pEndTime)
  261. #define IAudioStreamSample_Update(This,dwFlags,hEvent,pfnAPC,dwAPCData) \
  262. (This)->lpVtbl -> Update(This,dwFlags,hEvent,pfnAPC,dwAPCData)
  263. #define IAudioStreamSample_CompletionStatus(This,dwFlags,dwMilliseconds) \
  264. (This)->lpVtbl -> CompletionStatus(This,dwFlags,dwMilliseconds)
  265. #define IAudioStreamSample_GetAudioData(This,ppAudio) \
  266. (This)->lpVtbl -> GetAudioData(This,ppAudio)
  267. #endif /* COBJMACROS */
  268. #endif /* C style interface */
  269. HRESULT STDMETHODCALLTYPE IAudioStreamSample_GetAudioData_Proxy(
  270. IAudioStreamSample * This,
  271. /* [out] */ IAudioData **ppAudio);
  272. void __RPC_STUB IAudioStreamSample_GetAudioData_Stub(
  273. IRpcStubBuffer *This,
  274. IRpcChannelBuffer *_pRpcChannelBuffer,
  275. PRPC_MESSAGE _pRpcMessage,
  276. DWORD *_pdwStubPhase);
  277. #endif /* __IAudioStreamSample_INTERFACE_DEFINED__ */
  278. #ifndef __IMemoryData_INTERFACE_DEFINED__
  279. #define __IMemoryData_INTERFACE_DEFINED__
  280. /* interface IMemoryData */
  281. /* [unique][uuid][local][object] */
  282. EXTERN_C const IID IID_IMemoryData;
  283. #if defined(__cplusplus) && !defined(CINTERFACE)
  284. MIDL_INTERFACE("327fc560-af60-11d0-8212-00c04fc32c45")
  285. IMemoryData : public IUnknown
  286. {
  287. public:
  288. virtual HRESULT STDMETHODCALLTYPE SetBuffer(
  289. /* [in] */ DWORD cbSize,
  290. /* [in] */ BYTE *pbData,
  291. /* [in] */ DWORD dwFlags) = 0;
  292. virtual HRESULT STDMETHODCALLTYPE GetInfo(
  293. /* [out] */ DWORD *pdwLength,
  294. /* [out] */ BYTE **ppbData,
  295. /* [out] */ DWORD *pcbActualData) = 0;
  296. virtual HRESULT STDMETHODCALLTYPE SetActual(
  297. /* [in] */ DWORD cbDataValid) = 0;
  298. };
  299. #else /* C style interface */
  300. typedef struct IMemoryDataVtbl
  301. {
  302. BEGIN_INTERFACE
  303. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  304. IMemoryData * This,
  305. /* [in] */ REFIID riid,
  306. /* [iid_is][out] */ void **ppvObject);
  307. ULONG ( STDMETHODCALLTYPE *AddRef )(
  308. IMemoryData * This);
  309. ULONG ( STDMETHODCALLTYPE *Release )(
  310. IMemoryData * This);
  311. HRESULT ( STDMETHODCALLTYPE *SetBuffer )(
  312. IMemoryData * This,
  313. /* [in] */ DWORD cbSize,
  314. /* [in] */ BYTE *pbData,
  315. /* [in] */ DWORD dwFlags);
  316. HRESULT ( STDMETHODCALLTYPE *GetInfo )(
  317. IMemoryData * This,
  318. /* [out] */ DWORD *pdwLength,
  319. /* [out] */ BYTE **ppbData,
  320. /* [out] */ DWORD *pcbActualData);
  321. HRESULT ( STDMETHODCALLTYPE *SetActual )(
  322. IMemoryData * This,
  323. /* [in] */ DWORD cbDataValid);
  324. END_INTERFACE
  325. } IMemoryDataVtbl;
  326. interface IMemoryData
  327. {
  328. CONST_VTBL struct IMemoryDataVtbl *lpVtbl;
  329. };
  330. #ifdef COBJMACROS
  331. #define IMemoryData_QueryInterface(This,riid,ppvObject) \
  332. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  333. #define IMemoryData_AddRef(This) \
  334. (This)->lpVtbl -> AddRef(This)
  335. #define IMemoryData_Release(This) \
  336. (This)->lpVtbl -> Release(This)
  337. #define IMemoryData_SetBuffer(This,cbSize,pbData,dwFlags) \
  338. (This)->lpVtbl -> SetBuffer(This,cbSize,pbData,dwFlags)
  339. #define IMemoryData_GetInfo(This,pdwLength,ppbData,pcbActualData) \
  340. (This)->lpVtbl -> GetInfo(This,pdwLength,ppbData,pcbActualData)
  341. #define IMemoryData_SetActual(This,cbDataValid) \
  342. (This)->lpVtbl -> SetActual(This,cbDataValid)
  343. #endif /* COBJMACROS */
  344. #endif /* C style interface */
  345. HRESULT STDMETHODCALLTYPE IMemoryData_SetBuffer_Proxy(
  346. IMemoryData * This,
  347. /* [in] */ DWORD cbSize,
  348. /* [in] */ BYTE *pbData,
  349. /* [in] */ DWORD dwFlags);
  350. void __RPC_STUB IMemoryData_SetBuffer_Stub(
  351. IRpcStubBuffer *This,
  352. IRpcChannelBuffer *_pRpcChannelBuffer,
  353. PRPC_MESSAGE _pRpcMessage,
  354. DWORD *_pdwStubPhase);
  355. HRESULT STDMETHODCALLTYPE IMemoryData_GetInfo_Proxy(
  356. IMemoryData * This,
  357. /* [out] */ DWORD *pdwLength,
  358. /* [out] */ BYTE **ppbData,
  359. /* [out] */ DWORD *pcbActualData);
  360. void __RPC_STUB IMemoryData_GetInfo_Stub(
  361. IRpcStubBuffer *This,
  362. IRpcChannelBuffer *_pRpcChannelBuffer,
  363. PRPC_MESSAGE _pRpcMessage,
  364. DWORD *_pdwStubPhase);
  365. HRESULT STDMETHODCALLTYPE IMemoryData_SetActual_Proxy(
  366. IMemoryData * This,
  367. /* [in] */ DWORD cbDataValid);
  368. void __RPC_STUB IMemoryData_SetActual_Stub(
  369. IRpcStubBuffer *This,
  370. IRpcChannelBuffer *_pRpcChannelBuffer,
  371. PRPC_MESSAGE _pRpcMessage,
  372. DWORD *_pdwStubPhase);
  373. #endif /* __IMemoryData_INTERFACE_DEFINED__ */
  374. #ifndef __IAudioData_INTERFACE_DEFINED__
  375. #define __IAudioData_INTERFACE_DEFINED__
  376. /* interface IAudioData */
  377. /* [unique][uuid][local][object] */
  378. EXTERN_C const IID IID_IAudioData;
  379. #if defined(__cplusplus) && !defined(CINTERFACE)
  380. MIDL_INTERFACE("54c719c0-af60-11d0-8212-00c04fc32c45")
  381. IAudioData : public IMemoryData
  382. {
  383. public:
  384. virtual HRESULT STDMETHODCALLTYPE GetFormat(
  385. /* [out] */ WAVEFORMATEX *pWaveFormatCurrent) = 0;
  386. virtual HRESULT STDMETHODCALLTYPE SetFormat(
  387. /* [in] */ const WAVEFORMATEX *lpWaveFormat) = 0;
  388. };
  389. #else /* C style interface */
  390. typedef struct IAudioDataVtbl
  391. {
  392. BEGIN_INTERFACE
  393. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  394. IAudioData * This,
  395. /* [in] */ REFIID riid,
  396. /* [iid_is][out] */ void **ppvObject);
  397. ULONG ( STDMETHODCALLTYPE *AddRef )(
  398. IAudioData * This);
  399. ULONG ( STDMETHODCALLTYPE *Release )(
  400. IAudioData * This);
  401. HRESULT ( STDMETHODCALLTYPE *SetBuffer )(
  402. IAudioData * This,
  403. /* [in] */ DWORD cbSize,
  404. /* [in] */ BYTE *pbData,
  405. /* [in] */ DWORD dwFlags);
  406. HRESULT ( STDMETHODCALLTYPE *GetInfo )(
  407. IAudioData * This,
  408. /* [out] */ DWORD *pdwLength,
  409. /* [out] */ BYTE **ppbData,
  410. /* [out] */ DWORD *pcbActualData);
  411. HRESULT ( STDMETHODCALLTYPE *SetActual )(
  412. IAudioData * This,
  413. /* [in] */ DWORD cbDataValid);
  414. HRESULT ( STDMETHODCALLTYPE *GetFormat )(
  415. IAudioData * This,
  416. /* [out] */ WAVEFORMATEX *pWaveFormatCurrent);
  417. HRESULT ( STDMETHODCALLTYPE *SetFormat )(
  418. IAudioData * This,
  419. /* [in] */ const WAVEFORMATEX *lpWaveFormat);
  420. END_INTERFACE
  421. } IAudioDataVtbl;
  422. interface IAudioData
  423. {
  424. CONST_VTBL struct IAudioDataVtbl *lpVtbl;
  425. };
  426. #ifdef COBJMACROS
  427. #define IAudioData_QueryInterface(This,riid,ppvObject) \
  428. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  429. #define IAudioData_AddRef(This) \
  430. (This)->lpVtbl -> AddRef(This)
  431. #define IAudioData_Release(This) \
  432. (This)->lpVtbl -> Release(This)
  433. #define IAudioData_SetBuffer(This,cbSize,pbData,dwFlags) \
  434. (This)->lpVtbl -> SetBuffer(This,cbSize,pbData,dwFlags)
  435. #define IAudioData_GetInfo(This,pdwLength,ppbData,pcbActualData) \
  436. (This)->lpVtbl -> GetInfo(This,pdwLength,ppbData,pcbActualData)
  437. #define IAudioData_SetActual(This,cbDataValid) \
  438. (This)->lpVtbl -> SetActual(This,cbDataValid)
  439. #define IAudioData_GetFormat(This,pWaveFormatCurrent) \
  440. (This)->lpVtbl -> GetFormat(This,pWaveFormatCurrent)
  441. #define IAudioData_SetFormat(This,lpWaveFormat) \
  442. (This)->lpVtbl -> SetFormat(This,lpWaveFormat)
  443. #endif /* COBJMACROS */
  444. #endif /* C style interface */
  445. HRESULT STDMETHODCALLTYPE IAudioData_GetFormat_Proxy(
  446. IAudioData * This,
  447. /* [out] */ WAVEFORMATEX *pWaveFormatCurrent);
  448. void __RPC_STUB IAudioData_GetFormat_Stub(
  449. IRpcStubBuffer *This,
  450. IRpcChannelBuffer *_pRpcChannelBuffer,
  451. PRPC_MESSAGE _pRpcMessage,
  452. DWORD *_pdwStubPhase);
  453. HRESULT STDMETHODCALLTYPE IAudioData_SetFormat_Proxy(
  454. IAudioData * This,
  455. /* [in] */ const WAVEFORMATEX *lpWaveFormat);
  456. void __RPC_STUB IAudioData_SetFormat_Stub(
  457. IRpcStubBuffer *This,
  458. IRpcChannelBuffer *_pRpcChannelBuffer,
  459. PRPC_MESSAGE _pRpcMessage,
  460. DWORD *_pdwStubPhase);
  461. #endif /* __IAudioData_INTERFACE_DEFINED__ */
  462. /* Additional Prototypes for ALL interfaces */
  463. /* end of Additional Prototypes */
  464. #ifdef __cplusplus
  465. }
  466. #endif
  467. #endif