home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / amrtpss.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  14KB  |  413 lines

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2.  
  3.  
  4. /* File created by MIDL compiler version 3.03.0110 */
  5. /* at Tue Sep 09 20:18:00 1997
  6.  */
  7. /* Compiler settings for amrtpss.idl:
  8.     Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  9.     error checks: none
  10. */
  11. //@@MIDL_FILE_HEADING(  )
  12.  
  13.  
  14. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  15. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  16. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  17. #endif
  18.  
  19. #include "rpc.h"
  20. #include "rpcndr.h"
  21.  
  22. #ifndef __RPCNDR_H_VERSION__
  23. #error this stub requires an updated version of <rpcndr.h>
  24. #endif // __RPCNDR_H_VERSION__
  25.  
  26. #ifndef COM_NO_WINDOWS_H
  27. #include "windows.h"
  28. #include "ole2.h"
  29. #endif /*COM_NO_WINDOWS_H*/
  30.  
  31. #ifndef __amrtpss_h__
  32. #define __amrtpss_h__
  33.  
  34. #ifdef __cplusplus
  35. extern "C"{
  36. #endif 
  37.  
  38. /* Forward Declarations */ 
  39.  
  40. #ifndef __ISilenceSuppressor_FWD_DEFINED__
  41. #define __ISilenceSuppressor_FWD_DEFINED__
  42. typedef interface ISilenceSuppressor ISilenceSuppressor;
  43. #endif     /* __ISilenceSuppressor_FWD_DEFINED__ */
  44.  
  45.  
  46. /* header files for imported files */
  47. #include "oaidl.h"
  48.  
  49. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  50. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  51.  
  52. #ifndef __ISilenceSuppressor_INTERFACE_DEFINED__
  53. #define __ISilenceSuppressor_INTERFACE_DEFINED__
  54.  
  55. /****************************************
  56.  * Generated header for interface: ISilenceSuppressor
  57.  * at Tue Sep 09 20:18:00 1997
  58.  * using MIDL 3.03.0110
  59.  ****************************************/
  60. /* [unique][helpstring][local][uuid][object] */ 
  61.  
  62.  
  63.  
  64. EXTERN_C const IID IID_ISilenceSuppressor;
  65.  
  66. #if defined(__cplusplus) && !defined(CINTERFACE)
  67.     
  68.     MIDL_INTERFACE("40C1D160-52F2-11d0-A874-00AA00B5CA1B")
  69.     ISilenceSuppressor : public IUnknown
  70.     {
  71.     public:
  72.         virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetPreplayBufferTime( 
  73.             /* [out] */ LPDWORD lpdwPreplayBufferTime) = 0;
  74.         
  75.         virtual /* [id] */ HRESULT STDMETHODCALLTYPE SetPreplayBufferTime( 
  76.             /* [in] */ DWORD dwPreplayBufferTime) = 0;
  77.         
  78.         virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetPostplayBufferTime( 
  79.             /* [out] */ LPDWORD lpdwPostplayBufferTime) = 0;
  80.         
  81.         virtual /* [id] */ HRESULT STDMETHODCALLTYPE SetPostplayBufferTime( 
  82.             /* [in] */ DWORD dwPostplayBufferTime) = 0;
  83.         
  84.         virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetRunningAverageTime( 
  85.             /* [out] */ LPDWORD lpdwRunningAverageTime) = 0;
  86.         
  87.         virtual /* [id] */ HRESULT STDMETHODCALLTYPE SetRunningAverageTime( 
  88.             /* [in] */ DWORD dwRunningAverageTime) = 0;
  89.         
  90.         virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetAverageIncrementor( 
  91.             /* [out] */ LPDWORD lpdwAverageIncrementor) = 0;
  92.         
  93.         virtual /* [id] */ HRESULT STDMETHODCALLTYPE SetAverageIncrementor( 
  94.             /* [in] */ DWORD dwAverageIncrementor) = 0;
  95.         
  96.         virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetEchoThreshold( 
  97.             /* [out] */ LPDWORD lpdwEchoThreshold) = 0;
  98.         
  99.         virtual /* [id] */ HRESULT STDMETHODCALLTYPE SetEchoThreshold( 
  100.             /* [in] */ DWORD dwEchoThreshold) = 0;
  101.         
  102.         virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetUseAverageEnergyFunction( 
  103.             /* [out] */ BOOL __RPC_FAR *lpfUseAverageEnergyFunction) = 0;
  104.         
  105.         virtual /* [id] */ HRESULT STDMETHODCALLTYPE SetUseAverageEnergyFunction( 
  106.             /* [in] */ BOOL fUseAverageEnergyFunction) = 0;
  107.         
  108.     };
  109.     
  110. #else     /* C style interface */
  111.  
  112.     typedef struct ISilenceSuppressorVtbl
  113.     {
  114.         BEGIN_INTERFACE
  115.         
  116.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  117.             ISilenceSuppressor __RPC_FAR * This,
  118.             /* [in] */ REFIID riid,
  119.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  120.         
  121.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  122.             ISilenceSuppressor __RPC_FAR * This);
  123.         
  124.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  125.             ISilenceSuppressor __RPC_FAR * This);
  126.         
  127.         /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPreplayBufferTime )( 
  128.             ISilenceSuppressor __RPC_FAR * This,
  129.             /* [out] */ LPDWORD lpdwPreplayBufferTime);
  130.         
  131.         /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPreplayBufferTime )( 
  132.             ISilenceSuppressor __RPC_FAR * This,
  133.             /* [in] */ DWORD dwPreplayBufferTime);
  134.         
  135.         /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPostplayBufferTime )( 
  136.             ISilenceSuppressor __RPC_FAR * This,
  137.             /* [out] */ LPDWORD lpdwPostplayBufferTime);
  138.         
  139.         /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPostplayBufferTime )( 
  140.             ISilenceSuppressor __RPC_FAR * This,
  141.             /* [in] */ DWORD dwPostplayBufferTime);
  142.         
  143.         /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetRunningAverageTime )( 
  144.             ISilenceSuppressor __RPC_FAR * This,
  145.             /* [out] */ LPDWORD lpdwRunningAverageTime);
  146.         
  147.         /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetRunningAverageTime )( 
  148.             ISilenceSuppressor __RPC_FAR * This,
  149.             /* [in] */ DWORD dwRunningAverageTime);
  150.         
  151.         /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetAverageIncrementor )( 
  152.             ISilenceSuppressor __RPC_FAR * This,
  153.             /* [out] */ LPDWORD lpdwAverageIncrementor);
  154.         
  155.         /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetAverageIncrementor )( 
  156.             ISilenceSuppressor __RPC_FAR * This,
  157.             /* [in] */ DWORD dwAverageIncrementor);
  158.         
  159.         /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEchoThreshold )( 
  160.             ISilenceSuppressor __RPC_FAR * This,
  161.             /* [out] */ LPDWORD lpdwEchoThreshold);
  162.         
  163.         /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetEchoThreshold )( 
  164.             ISilenceSuppressor __RPC_FAR * This,
  165.             /* [in] */ DWORD dwEchoThreshold);
  166.         
  167.         /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetUseAverageEnergyFunction )( 
  168.             ISilenceSuppressor __RPC_FAR * This,
  169.             /* [out] */ BOOL __RPC_FAR *lpfUseAverageEnergyFunction);
  170.         
  171.         /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetUseAverageEnergyFunction )( 
  172.             ISilenceSuppressor __RPC_FAR * This,
  173.             /* [in] */ BOOL fUseAverageEnergyFunction);
  174.         
  175.         END_INTERFACE
  176.     } ISilenceSuppressorVtbl;
  177.  
  178.     interface ISilenceSuppressor
  179.     {
  180.         CONST_VTBL struct ISilenceSuppressorVtbl __RPC_FAR *lpVtbl;
  181.     };
  182.  
  183.     
  184.  
  185. #ifdef COBJMACROS
  186.  
  187.  
  188. #define ISilenceSuppressor_QueryInterface(This,riid,ppvObject)    \
  189.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  190.  
  191. #define ISilenceSuppressor_AddRef(This)    \
  192.     (This)->lpVtbl -> AddRef(This)
  193.  
  194. #define ISilenceSuppressor_Release(This)    \
  195.     (This)->lpVtbl -> Release(This)
  196.  
  197.  
  198. #define ISilenceSuppressor_GetPreplayBufferTime(This,lpdwPreplayBufferTime)    \
  199.     (This)->lpVtbl -> GetPreplayBufferTime(This,lpdwPreplayBufferTime)
  200.  
  201. #define ISilenceSuppressor_SetPreplayBufferTime(This,dwPreplayBufferTime)    \
  202.     (This)->lpVtbl -> SetPreplayBufferTime(This,dwPreplayBufferTime)
  203.  
  204. #define ISilenceSuppressor_GetPostplayBufferTime(This,lpdwPostplayBufferTime)    \
  205.     (This)->lpVtbl -> GetPostplayBufferTime(This,lpdwPostplayBufferTime)
  206.  
  207. #define ISilenceSuppressor_SetPostplayBufferTime(This,dwPostplayBufferTime)    \
  208.     (This)->lpVtbl -> SetPostplayBufferTime(This,dwPostplayBufferTime)
  209.  
  210. #define ISilenceSuppressor_GetRunningAverageTime(This,lpdwRunningAverageTime)    \
  211.     (This)->lpVtbl -> GetRunningAverageTime(This,lpdwRunningAverageTime)
  212.  
  213. #define ISilenceSuppressor_SetRunningAverageTime(This,dwRunningAverageTime)    \
  214.     (This)->lpVtbl -> SetRunningAverageTime(This,dwRunningAverageTime)
  215.  
  216. #define ISilenceSuppressor_GetAverageIncrementor(This,lpdwAverageIncrementor)    \
  217.     (This)->lpVtbl -> GetAverageIncrementor(This,lpdwAverageIncrementor)
  218.  
  219. #define ISilenceSuppressor_SetAverageIncrementor(This,dwAverageIncrementor)    \
  220.     (This)->lpVtbl -> SetAverageIncrementor(This,dwAverageIncrementor)
  221.  
  222. #define ISilenceSuppressor_GetEchoThreshold(This,lpdwEchoThreshold)    \
  223.     (This)->lpVtbl -> GetEchoThreshold(This,lpdwEchoThreshold)
  224.  
  225. #define ISilenceSuppressor_SetEchoThreshold(This,dwEchoThreshold)    \
  226.     (This)->lpVtbl -> SetEchoThreshold(This,dwEchoThreshold)
  227.  
  228. #define ISilenceSuppressor_GetUseAverageEnergyFunction(This,lpfUseAverageEnergyFunction)    \
  229.     (This)->lpVtbl -> GetUseAverageEnergyFunction(This,lpfUseAverageEnergyFunction)
  230.  
  231. #define ISilenceSuppressor_SetUseAverageEnergyFunction(This,fUseAverageEnergyFunction)    \
  232.     (This)->lpVtbl -> SetUseAverageEnergyFunction(This,fUseAverageEnergyFunction)
  233.  
  234. #endif /* COBJMACROS */
  235.  
  236.  
  237. #endif     /* C style interface */
  238.  
  239.  
  240.  
  241. /* [id] */ HRESULT STDMETHODCALLTYPE ISilenceSuppressor_GetPreplayBufferTime_Proxy( 
  242.     ISilenceSuppressor __RPC_FAR * This,
  243.     /* [out] */ LPDWORD lpdwPreplayBufferTime);
  244.  
  245.  
  246. void __RPC_STUB ISilenceSuppressor_GetPreplayBufferTime_Stub(
  247.     IRpcStubBuffer *This,
  248.     IRpcChannelBuffer *_pRpcChannelBuffer,
  249.     PRPC_MESSAGE _pRpcMessage,
  250.     DWORD *_pdwStubPhase);
  251.  
  252.  
  253. /* [id] */ HRESULT STDMETHODCALLTYPE ISilenceSuppressor_SetPreplayBufferTime_Proxy( 
  254.     ISilenceSuppressor __RPC_FAR * This,
  255.     /* [in] */ DWORD dwPreplayBufferTime);
  256.  
  257.  
  258. void __RPC_STUB ISilenceSuppressor_SetPreplayBufferTime_Stub(
  259.     IRpcStubBuffer *This,
  260.     IRpcChannelBuffer *_pRpcChannelBuffer,
  261.     PRPC_MESSAGE _pRpcMessage,
  262.     DWORD *_pdwStubPhase);
  263.  
  264.  
  265. /* [id] */ HRESULT STDMETHODCALLTYPE ISilenceSuppressor_GetPostplayBufferTime_Proxy( 
  266.     ISilenceSuppressor __RPC_FAR * This,
  267.     /* [out] */ LPDWORD lpdwPostplayBufferTime);
  268.  
  269.  
  270. void __RPC_STUB ISilenceSuppressor_GetPostplayBufferTime_Stub(
  271.     IRpcStubBuffer *This,
  272.     IRpcChannelBuffer *_pRpcChannelBuffer,
  273.     PRPC_MESSAGE _pRpcMessage,
  274.     DWORD *_pdwStubPhase);
  275.  
  276.  
  277. /* [id] */ HRESULT STDMETHODCALLTYPE ISilenceSuppressor_SetPostplayBufferTime_Proxy( 
  278.     ISilenceSuppressor __RPC_FAR * This,
  279.     /* [in] */ DWORD dwPostplayBufferTime);
  280.  
  281.  
  282. void __RPC_STUB ISilenceSuppressor_SetPostplayBufferTime_Stub(
  283.     IRpcStubBuffer *This,
  284.     IRpcChannelBuffer *_pRpcChannelBuffer,
  285.     PRPC_MESSAGE _pRpcMessage,
  286.     DWORD *_pdwStubPhase);
  287.  
  288.  
  289. /* [id] */ HRESULT STDMETHODCALLTYPE ISilenceSuppressor_GetRunningAverageTime_Proxy( 
  290.     ISilenceSuppressor __RPC_FAR * This,
  291.     /* [out] */ LPDWORD lpdwRunningAverageTime);
  292.  
  293.  
  294. void __RPC_STUB ISilenceSuppressor_GetRunningAverageTime_Stub(
  295.     IRpcStubBuffer *This,
  296.     IRpcChannelBuffer *_pRpcChannelBuffer,
  297.     PRPC_MESSAGE _pRpcMessage,
  298.     DWORD *_pdwStubPhase);
  299.  
  300.  
  301. /* [id] */ HRESULT STDMETHODCALLTYPE ISilenceSuppressor_SetRunningAverageTime_Proxy( 
  302.     ISilenceSuppressor __RPC_FAR * This,
  303.     /* [in] */ DWORD dwRunningAverageTime);
  304.  
  305.  
  306. void __RPC_STUB ISilenceSuppressor_SetRunningAverageTime_Stub(
  307.     IRpcStubBuffer *This,
  308.     IRpcChannelBuffer *_pRpcChannelBuffer,
  309.     PRPC_MESSAGE _pRpcMessage,
  310.     DWORD *_pdwStubPhase);
  311.  
  312.  
  313. /* [id] */ HRESULT STDMETHODCALLTYPE ISilenceSuppressor_GetAverageIncrementor_Proxy( 
  314.     ISilenceSuppressor __RPC_FAR * This,
  315.     /* [out] */ LPDWORD lpdwAverageIncrementor);
  316.  
  317.  
  318. void __RPC_STUB ISilenceSuppressor_GetAverageIncrementor_Stub(
  319.     IRpcStubBuffer *This,
  320.     IRpcChannelBuffer *_pRpcChannelBuffer,
  321.     PRPC_MESSAGE _pRpcMessage,
  322.     DWORD *_pdwStubPhase);
  323.  
  324.  
  325. /* [id] */ HRESULT STDMETHODCALLTYPE ISilenceSuppressor_SetAverageIncrementor_Proxy( 
  326.     ISilenceSuppressor __RPC_FAR * This,
  327.     /* [in] */ DWORD dwAverageIncrementor);
  328.  
  329.  
  330. void __RPC_STUB ISilenceSuppressor_SetAverageIncrementor_Stub(
  331.     IRpcStubBuffer *This,
  332.     IRpcChannelBuffer *_pRpcChannelBuffer,
  333.     PRPC_MESSAGE _pRpcMessage,
  334.     DWORD *_pdwStubPhase);
  335.  
  336.  
  337. /* [id] */ HRESULT STDMETHODCALLTYPE ISilenceSuppressor_GetEchoThreshold_Proxy( 
  338.     ISilenceSuppressor __RPC_FAR * This,
  339.     /* [out] */ LPDWORD lpdwEchoThreshold);
  340.  
  341.  
  342. void __RPC_STUB ISilenceSuppressor_GetEchoThreshold_Stub(
  343.     IRpcStubBuffer *This,
  344.     IRpcChannelBuffer *_pRpcChannelBuffer,
  345.     PRPC_MESSAGE _pRpcMessage,
  346.     DWORD *_pdwStubPhase);
  347.  
  348.  
  349. /* [id] */ HRESULT STDMETHODCALLTYPE ISilenceSuppressor_SetEchoThreshold_Proxy( 
  350.     ISilenceSuppressor __RPC_FAR * This,
  351.     /* [in] */ DWORD dwEchoThreshold);
  352.  
  353.  
  354. void __RPC_STUB ISilenceSuppressor_SetEchoThreshold_Stub(
  355.     IRpcStubBuffer *This,
  356.     IRpcChannelBuffer *_pRpcChannelBuffer,
  357.     PRPC_MESSAGE _pRpcMessage,
  358.     DWORD *_pdwStubPhase);
  359.  
  360.  
  361. /* [id] */ HRESULT STDMETHODCALLTYPE ISilenceSuppressor_GetUseAverageEnergyFunction_Proxy( 
  362.     ISilenceSuppressor __RPC_FAR * This,
  363.     /* [out] */ BOOL __RPC_FAR *lpfUseAverageEnergyFunction);
  364.  
  365.  
  366. void __RPC_STUB ISilenceSuppressor_GetUseAverageEnergyFunction_Stub(
  367.     IRpcStubBuffer *This,
  368.     IRpcChannelBuffer *_pRpcChannelBuffer,
  369.     PRPC_MESSAGE _pRpcMessage,
  370.     DWORD *_pdwStubPhase);
  371.  
  372.  
  373. /* [id] */ HRESULT STDMETHODCALLTYPE ISilenceSuppressor_SetUseAverageEnergyFunction_Proxy( 
  374.     ISilenceSuppressor __RPC_FAR * This,
  375.     /* [in] */ BOOL fUseAverageEnergyFunction);
  376.  
  377.  
  378. void __RPC_STUB ISilenceSuppressor_SetUseAverageEnergyFunction_Stub(
  379.     IRpcStubBuffer *This,
  380.     IRpcChannelBuffer *_pRpcChannelBuffer,
  381.     PRPC_MESSAGE _pRpcMessage,
  382.     DWORD *_pdwStubPhase);
  383.  
  384.  
  385.  
  386. #endif     /* __ISilenceSuppressor_INTERFACE_DEFINED__ */
  387.  
  388.  
  389. /****************************************
  390.  * Generated header for interface: __MIDL_itf_amrtpss_0094
  391.  * at Tue Sep 09 20:18:00 1997
  392.  * using MIDL 3.03.0110
  393.  ****************************************/
  394. /* [local] */ 
  395.  
  396.  
  397. EXTERN_C const CLSID CLSID_SilenceSuppressionFilter;
  398. EXTERN_C const CLSID CLSID_SilenceSuppressionProperties;
  399.  
  400.  
  401. extern RPC_IF_HANDLE __MIDL_itf_amrtpss_0094_v0_0_c_ifspec;
  402. extern RPC_IF_HANDLE __MIDL_itf_amrtpss_0094_v0_0_s_ifspec;
  403.  
  404. /* Additional Prototypes for ALL interfaces */
  405.  
  406. /* end of Additional Prototypes */
  407.  
  408. #ifdef __cplusplus
  409. }
  410. #endif
  411.  
  412. #endif
  413.