home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Internet 2000 May / MICD_2000_05.iso / CBuilder5 / INSTALL / DATA1.CAB / Program_Built_Files / Include / amrtpss.h < prev    next >
C/C++ Source or Header  |  2000-02-01  |  11KB  |  359 lines

  1. #pragma option push -b -a8 -pc -A- /*P_O_Push*/
  2.  
  3. #pragma warning( disable: 4049 )  /* more than 64k source lines */
  4.  
  5. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  6.  
  7.  
  8.  /* File created by MIDL compiler version 5.03.0279 */
  9. /* at Sat Jul 31 00:49:43 1999
  10.  */
  11. /* Compiler settings for amrtpss.idl:
  12.     Oicf (OptLev=i2), W1, Zp8, env=Win32 (32b run), ms_ext, c_ext, robust
  13.     error checks: allocation ref bounds_check enum stub_data 
  14.     VC __declspec() decoration level: 
  15.          __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  16.          DECLSPEC_UUID(), MIDL_INTERFACE()
  17. */
  18. //@@MIDL_FILE_HEADING(  )
  19.  
  20.  
  21. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  22. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  23. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  24. #endif
  25.  
  26. #include "rpc.h"
  27. #include "rpcndr.h"
  28.  
  29. #ifndef __RPCNDR_H_VERSION__
  30. #error this stub requires an updated version of <rpcndr.h>
  31. #endif // __RPCNDR_H_VERSION__
  32.  
  33. #ifndef COM_NO_WINDOWS_H
  34. #include "windows.h"
  35. #include "ole2.h"
  36. #endif /*COM_NO_WINDOWS_H*/
  37.  
  38. #ifndef __amrtpss_h__
  39. #define __amrtpss_h__
  40.  
  41. /* Forward Declarations */ 
  42.  
  43. #ifndef __ISilenceSuppressor_FWD_DEFINED__
  44. #define __ISilenceSuppressor_FWD_DEFINED__
  45. typedef interface ISilenceSuppressor ISilenceSuppressor;
  46. #endif     /* __ISilenceSuppressor_FWD_DEFINED__ */
  47.  
  48.  
  49. /* header files for imported files */
  50. #include "oaidl.h"
  51.  
  52. #ifdef __cplusplus
  53. extern "C"{
  54. #endif 
  55.  
  56. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  57. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  58.  
  59. #ifndef __ISilenceSuppressor_INTERFACE_DEFINED__
  60. #define __ISilenceSuppressor_INTERFACE_DEFINED__
  61.  
  62. /* interface ISilenceSuppressor */
  63. /* [unique][helpstring][local][uuid][object] */ 
  64.  
  65.  
  66. EXTERN_C const IID IID_ISilenceSuppressor;
  67.  
  68. #if defined(__cplusplus) && !defined(CINTERFACE)
  69.     
  70.     MIDL_INTERFACE("40C1D160-52F2-11d0-A874-00AA00B5CA1B")
  71.     ISilenceSuppressor : public IUnknown
  72.     {
  73.     public:
  74.         virtual HRESULT STDMETHODCALLTYPE GetPostplayTime( 
  75.             /* [out] */ LPDWORD lpdwPostplayBufferTime) = 0;
  76.         
  77.         virtual HRESULT STDMETHODCALLTYPE SetPostplayTime( 
  78.             /* [in] */ DWORD dwPostplayBufferTime) = 0;
  79.         
  80.         virtual HRESULT STDMETHODCALLTYPE GetKeepPlayTime( 
  81.             /* [out] */ LPDWORD lpdwRunningAverageTime) = 0;
  82.         
  83.         virtual HRESULT STDMETHODCALLTYPE SetKeepPlayTime( 
  84.             /* [in] */ DWORD dwRunningAverageTime) = 0;
  85.         
  86.         virtual HRESULT STDMETHODCALLTYPE GetThresholdIncrementor( 
  87.             /* [out] */ LPDWORD lpdwThresholdIncrementor) = 0;
  88.         
  89.         virtual HRESULT STDMETHODCALLTYPE SetThresholdIncrementor( 
  90.             /* [in] */ DWORD dwThresholdIncrementor) = 0;
  91.         
  92.         virtual HRESULT STDMETHODCALLTYPE GetBaseThreshold( 
  93.             /* [out] */ LPDWORD lpdwBaseThreshold) = 0;
  94.         
  95.         virtual HRESULT STDMETHODCALLTYPE SetBaseThreshold( 
  96.             /* [in] */ DWORD dwBaseThreshold) = 0;
  97.         
  98.         virtual HRESULT STDMETHODCALLTYPE EnableEvents( 
  99.             /* [in] */ DWORD dwMask,
  100.             /* [in] */ DWORD dwMinimumInterval) = 0;
  101.         
  102.     };
  103.     
  104. #else     /* C style interface */
  105.  
  106.     typedef struct ISilenceSuppressorVtbl
  107.     {
  108.         BEGIN_INTERFACE
  109.         
  110.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  111.             ISilenceSuppressor __RPC_FAR * This,
  112.             /* [in] */ REFIID riid,
  113.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  114.         
  115.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  116.             ISilenceSuppressor __RPC_FAR * This);
  117.         
  118.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  119.             ISilenceSuppressor __RPC_FAR * This);
  120.         
  121.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPostplayTime )( 
  122.             ISilenceSuppressor __RPC_FAR * This,
  123.             /* [out] */ LPDWORD lpdwPostplayBufferTime);
  124.         
  125.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPostplayTime )( 
  126.             ISilenceSuppressor __RPC_FAR * This,
  127.             /* [in] */ DWORD dwPostplayBufferTime);
  128.         
  129.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetKeepPlayTime )( 
  130.             ISilenceSuppressor __RPC_FAR * This,
  131.             /* [out] */ LPDWORD lpdwRunningAverageTime);
  132.         
  133.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetKeepPlayTime )( 
  134.             ISilenceSuppressor __RPC_FAR * This,
  135.             /* [in] */ DWORD dwRunningAverageTime);
  136.         
  137.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetThresholdIncrementor )( 
  138.             ISilenceSuppressor __RPC_FAR * This,
  139.             /* [out] */ LPDWORD lpdwThresholdIncrementor);
  140.         
  141.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetThresholdIncrementor )( 
  142.             ISilenceSuppressor __RPC_FAR * This,
  143.             /* [in] */ DWORD dwThresholdIncrementor);
  144.         
  145.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetBaseThreshold )( 
  146.             ISilenceSuppressor __RPC_FAR * This,
  147.             /* [out] */ LPDWORD lpdwBaseThreshold);
  148.         
  149.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetBaseThreshold )( 
  150.             ISilenceSuppressor __RPC_FAR * This,
  151.             /* [in] */ DWORD dwBaseThreshold);
  152.         
  153.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EnableEvents )( 
  154.             ISilenceSuppressor __RPC_FAR * This,
  155.             /* [in] */ DWORD dwMask,
  156.             /* [in] */ DWORD dwMinimumInterval);
  157.         
  158.         END_INTERFACE
  159.     } ISilenceSuppressorVtbl;
  160.  
  161.     interface ISilenceSuppressor
  162.     {
  163.         CONST_VTBL struct ISilenceSuppressorVtbl __RPC_FAR *lpVtbl;
  164.     };
  165.  
  166.     
  167.  
  168. #ifdef COBJMACROS
  169.  
  170.  
  171. #define ISilenceSuppressor_QueryInterface(This,riid,ppvObject)    \
  172.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  173.  
  174. #define ISilenceSuppressor_AddRef(This)    \
  175.     (This)->lpVtbl -> AddRef(This)
  176.  
  177. #define ISilenceSuppressor_Release(This)    \
  178.     (This)->lpVtbl -> Release(This)
  179.  
  180.  
  181. #define ISilenceSuppressor_GetPostplayTime(This,lpdwPostplayBufferTime)    \
  182.     (This)->lpVtbl -> GetPostplayTime(This,lpdwPostplayBufferTime)
  183.  
  184. #define ISilenceSuppressor_SetPostplayTime(This,dwPostplayBufferTime)    \
  185.     (This)->lpVtbl -> SetPostplayTime(This,dwPostplayBufferTime)
  186.  
  187. #define ISilenceSuppressor_GetKeepPlayTime(This,lpdwRunningAverageTime)    \
  188.     (This)->lpVtbl -> GetKeepPlayTime(This,lpdwRunningAverageTime)
  189.  
  190. #define ISilenceSuppressor_SetKeepPlayTime(This,dwRunningAverageTime)    \
  191.     (This)->lpVtbl -> SetKeepPlayTime(This,dwRunningAverageTime)
  192.  
  193. #define ISilenceSuppressor_GetThresholdIncrementor(This,lpdwThresholdIncrementor)    \
  194.     (This)->lpVtbl -> GetThresholdIncrementor(This,lpdwThresholdIncrementor)
  195.  
  196. #define ISilenceSuppressor_SetThresholdIncrementor(This,dwThresholdIncrementor)    \
  197.     (This)->lpVtbl -> SetThresholdIncrementor(This,dwThresholdIncrementor)
  198.  
  199. #define ISilenceSuppressor_GetBaseThreshold(This,lpdwBaseThreshold)    \
  200.     (This)->lpVtbl -> GetBaseThreshold(This,lpdwBaseThreshold)
  201.  
  202. #define ISilenceSuppressor_SetBaseThreshold(This,dwBaseThreshold)    \
  203.     (This)->lpVtbl -> SetBaseThreshold(This,dwBaseThreshold)
  204.  
  205. #define ISilenceSuppressor_EnableEvents(This,dwMask,dwMinimumInterval)    \
  206.     (This)->lpVtbl -> EnableEvents(This,dwMask,dwMinimumInterval)
  207.  
  208. #endif /* COBJMACROS */
  209.  
  210.  
  211. #endif     /* C style interface */
  212.  
  213.  
  214.  
  215. HRESULT STDMETHODCALLTYPE ISilenceSuppressor_GetPostplayTime_Proxy( 
  216.     ISilenceSuppressor __RPC_FAR * This,
  217.     /* [out] */ LPDWORD lpdwPostplayBufferTime);
  218.  
  219.  
  220. void __RPC_STUB ISilenceSuppressor_GetPostplayTime_Stub(
  221.     IRpcStubBuffer *This,
  222.     IRpcChannelBuffer *_pRpcChannelBuffer,
  223.     PRPC_MESSAGE _pRpcMessage,
  224.     DWORD *_pdwStubPhase);
  225.  
  226.  
  227. HRESULT STDMETHODCALLTYPE ISilenceSuppressor_SetPostplayTime_Proxy( 
  228.     ISilenceSuppressor __RPC_FAR * This,
  229.     /* [in] */ DWORD dwPostplayBufferTime);
  230.  
  231.  
  232. void __RPC_STUB ISilenceSuppressor_SetPostplayTime_Stub(
  233.     IRpcStubBuffer *This,
  234.     IRpcChannelBuffer *_pRpcChannelBuffer,
  235.     PRPC_MESSAGE _pRpcMessage,
  236.     DWORD *_pdwStubPhase);
  237.  
  238.  
  239. HRESULT STDMETHODCALLTYPE ISilenceSuppressor_GetKeepPlayTime_Proxy( 
  240.     ISilenceSuppressor __RPC_FAR * This,
  241.     /* [out] */ LPDWORD lpdwRunningAverageTime);
  242.  
  243.  
  244. void __RPC_STUB ISilenceSuppressor_GetKeepPlayTime_Stub(
  245.     IRpcStubBuffer *This,
  246.     IRpcChannelBuffer *_pRpcChannelBuffer,
  247.     PRPC_MESSAGE _pRpcMessage,
  248.     DWORD *_pdwStubPhase);
  249.  
  250.  
  251. HRESULT STDMETHODCALLTYPE ISilenceSuppressor_SetKeepPlayTime_Proxy( 
  252.     ISilenceSuppressor __RPC_FAR * This,
  253.     /* [in] */ DWORD dwRunningAverageTime);
  254.  
  255.  
  256. void __RPC_STUB ISilenceSuppressor_SetKeepPlayTime_Stub(
  257.     IRpcStubBuffer *This,
  258.     IRpcChannelBuffer *_pRpcChannelBuffer,
  259.     PRPC_MESSAGE _pRpcMessage,
  260.     DWORD *_pdwStubPhase);
  261.  
  262.  
  263. HRESULT STDMETHODCALLTYPE ISilenceSuppressor_GetThresholdIncrementor_Proxy( 
  264.     ISilenceSuppressor __RPC_FAR * This,
  265.     /* [out] */ LPDWORD lpdwThresholdIncrementor);
  266.  
  267.  
  268. void __RPC_STUB ISilenceSuppressor_GetThresholdIncrementor_Stub(
  269.     IRpcStubBuffer *This,
  270.     IRpcChannelBuffer *_pRpcChannelBuffer,
  271.     PRPC_MESSAGE _pRpcMessage,
  272.     DWORD *_pdwStubPhase);
  273.  
  274.  
  275. HRESULT STDMETHODCALLTYPE ISilenceSuppressor_SetThresholdIncrementor_Proxy( 
  276.     ISilenceSuppressor __RPC_FAR * This,
  277.     /* [in] */ DWORD dwThresholdIncrementor);
  278.  
  279.  
  280. void __RPC_STUB ISilenceSuppressor_SetThresholdIncrementor_Stub(
  281.     IRpcStubBuffer *This,
  282.     IRpcChannelBuffer *_pRpcChannelBuffer,
  283.     PRPC_MESSAGE _pRpcMessage,
  284.     DWORD *_pdwStubPhase);
  285.  
  286.  
  287. HRESULT STDMETHODCALLTYPE ISilenceSuppressor_GetBaseThreshold_Proxy( 
  288.     ISilenceSuppressor __RPC_FAR * This,
  289.     /* [out] */ LPDWORD lpdwBaseThreshold);
  290.  
  291.  
  292. void __RPC_STUB ISilenceSuppressor_GetBaseThreshold_Stub(
  293.     IRpcStubBuffer *This,
  294.     IRpcChannelBuffer *_pRpcChannelBuffer,
  295.     PRPC_MESSAGE _pRpcMessage,
  296.     DWORD *_pdwStubPhase);
  297.  
  298.  
  299. HRESULT STDMETHODCALLTYPE ISilenceSuppressor_SetBaseThreshold_Proxy( 
  300.     ISilenceSuppressor __RPC_FAR * This,
  301.     /* [in] */ DWORD dwBaseThreshold);
  302.  
  303.  
  304. void __RPC_STUB ISilenceSuppressor_SetBaseThreshold_Stub(
  305.     IRpcStubBuffer *This,
  306.     IRpcChannelBuffer *_pRpcChannelBuffer,
  307.     PRPC_MESSAGE _pRpcMessage,
  308.     DWORD *_pdwStubPhase);
  309.  
  310.  
  311. HRESULT STDMETHODCALLTYPE ISilenceSuppressor_EnableEvents_Proxy( 
  312.     ISilenceSuppressor __RPC_FAR * This,
  313.     /* [in] */ DWORD dwMask,
  314.     /* [in] */ DWORD dwMinimumInterval);
  315.  
  316.  
  317. void __RPC_STUB ISilenceSuppressor_EnableEvents_Stub(
  318.     IRpcStubBuffer *This,
  319.     IRpcChannelBuffer *_pRpcChannelBuffer,
  320.     PRPC_MESSAGE _pRpcMessage,
  321.     DWORD *_pdwStubPhase);
  322.  
  323.  
  324.  
  325. #endif     /* __ISilenceSuppressor_INTERFACE_DEFINED__ */
  326.  
  327.  
  328. /* interface __MIDL_itf_amrtpss_0105 */
  329. /* [local] */ 
  330.  
  331. EXTERN_C const CLSID CLSID_SilenceSuppressionFilter;
  332. EXTERN_C const CLSID CLSID_SilenceSuppressionProperties;
  333. #define AGC_EVENTBASE (100000)
  334. typedef 
  335. enum AGC_EVENT
  336.     {    AGC_INCREASE_GAIN    = 0,
  337.     AGC_DECREASE_GAIN    = AGC_INCREASE_GAIN + 1,
  338.     AGC_TALKING    = AGC_DECREASE_GAIN + 1,
  339.     AGC_SILENCE    = AGC_TALKING + 1
  340.     }    AGC_EVENT;
  341.  
  342.  
  343.  
  344. extern RPC_IF_HANDLE __MIDL_itf_amrtpss_0105_v0_0_c_ifspec;
  345. extern RPC_IF_HANDLE __MIDL_itf_amrtpss_0105_v0_0_s_ifspec;
  346.  
  347. /* Additional Prototypes for ALL interfaces */
  348.  
  349. /* end of Additional Prototypes */
  350.  
  351. #ifdef __cplusplus
  352. }
  353. #endif
  354.  
  355. #endif
  356.  
  357.  
  358. #pragma option pop /*P_O_Pop*/
  359.