Tapi3if.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:710k
源码类别:

模拟服务器

开发平台:

C/C++

  1.     interface ITCallInfo2
  2.     {
  3.         CONST_VTBL struct ITCallInfo2Vtbl *lpVtbl;
  4.     };
  5.     
  6. #ifdef COBJMACROS
  7. #define ITCallInfo2_QueryInterface(This,riid,ppvObject)
  8.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  9. #define ITCallInfo2_AddRef(This)
  10.     (This)->lpVtbl -> AddRef(This)
  11. #define ITCallInfo2_Release(This)
  12.     (This)->lpVtbl -> Release(This)
  13. #define ITCallInfo2_GetTypeInfoCount(This,pctinfo)
  14.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  15. #define ITCallInfo2_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  16.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  17. #define ITCallInfo2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  18.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  19. #define ITCallInfo2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  20.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  21. #define ITCallInfo2_get_Address(This,ppAddress)
  22.     (This)->lpVtbl -> get_Address(This,ppAddress)
  23. #define ITCallInfo2_get_CallState(This,pCallState)
  24.     (This)->lpVtbl -> get_CallState(This,pCallState)
  25. #define ITCallInfo2_get_Privilege(This,pPrivilege)
  26.     (This)->lpVtbl -> get_Privilege(This,pPrivilege)
  27. #define ITCallInfo2_get_CallHub(This,ppCallHub)
  28.     (This)->lpVtbl -> get_CallHub(This,ppCallHub)
  29. #define ITCallInfo2_get_CallInfoLong(This,CallInfoLong,plCallInfoLongVal)
  30.     (This)->lpVtbl -> get_CallInfoLong(This,CallInfoLong,plCallInfoLongVal)
  31. #define ITCallInfo2_put_CallInfoLong(This,CallInfoLong,lCallInfoLongVal)
  32.     (This)->lpVtbl -> put_CallInfoLong(This,CallInfoLong,lCallInfoLongVal)
  33. #define ITCallInfo2_get_CallInfoString(This,CallInfoString,ppCallInfoString)
  34.     (This)->lpVtbl -> get_CallInfoString(This,CallInfoString,ppCallInfoString)
  35. #define ITCallInfo2_put_CallInfoString(This,CallInfoString,pCallInfoString)
  36.     (This)->lpVtbl -> put_CallInfoString(This,CallInfoString,pCallInfoString)
  37. #define ITCallInfo2_get_CallInfoBuffer(This,CallInfoBuffer,ppCallInfoBuffer)
  38.     (This)->lpVtbl -> get_CallInfoBuffer(This,CallInfoBuffer,ppCallInfoBuffer)
  39. #define ITCallInfo2_put_CallInfoBuffer(This,CallInfoBuffer,pCallInfoBuffer)
  40.     (This)->lpVtbl -> put_CallInfoBuffer(This,CallInfoBuffer,pCallInfoBuffer)
  41. #define ITCallInfo2_GetCallInfoBuffer(This,CallInfoBuffer,pdwSize,ppCallInfoBuffer)
  42.     (This)->lpVtbl -> GetCallInfoBuffer(This,CallInfoBuffer,pdwSize,ppCallInfoBuffer)
  43. #define ITCallInfo2_SetCallInfoBuffer(This,CallInfoBuffer,dwSize,pCallInfoBuffer)
  44.     (This)->lpVtbl -> SetCallInfoBuffer(This,CallInfoBuffer,dwSize,pCallInfoBuffer)
  45. #define ITCallInfo2_ReleaseUserUserInfo(This)
  46.     (This)->lpVtbl -> ReleaseUserUserInfo(This)
  47. #define ITCallInfo2_get_EventFilter(This,TapiEvent,lSubEvent,pEnable)
  48.     (This)->lpVtbl -> get_EventFilter(This,TapiEvent,lSubEvent,pEnable)
  49. #define ITCallInfo2_put_EventFilter(This,TapiEvent,lSubEvent,bEnable)
  50.     (This)->lpVtbl -> put_EventFilter(This,TapiEvent,lSubEvent,bEnable)
  51. #endif /* COBJMACROS */
  52. #endif  /* C style interface */
  53. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallInfo2_get_EventFilter_Proxy( 
  54.     ITCallInfo2 * This,
  55.     /* [in] */ TAPI_EVENT TapiEvent,
  56.     /* [in] */ long lSubEvent,
  57.     /* [retval][out] */ VARIANT_BOOL *pEnable);
  58. void __RPC_STUB ITCallInfo2_get_EventFilter_Stub(
  59.     IRpcStubBuffer *This,
  60.     IRpcChannelBuffer *_pRpcChannelBuffer,
  61.     PRPC_MESSAGE _pRpcMessage,
  62.     DWORD *_pdwStubPhase);
  63. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITCallInfo2_put_EventFilter_Proxy( 
  64.     ITCallInfo2 * This,
  65.     /* [in] */ TAPI_EVENT TapiEvent,
  66.     /* [in] */ long lSubEvent,
  67.     /* [in] */ VARIANT_BOOL bEnable);
  68. void __RPC_STUB ITCallInfo2_put_EventFilter_Stub(
  69.     IRpcStubBuffer *This,
  70.     IRpcChannelBuffer *_pRpcChannelBuffer,
  71.     PRPC_MESSAGE _pRpcMessage,
  72.     DWORD *_pdwStubPhase);
  73. #endif  /* __ITCallInfo2_INTERFACE_DEFINED__ */
  74. #ifndef __ITTerminal_INTERFACE_DEFINED__
  75. #define __ITTerminal_INTERFACE_DEFINED__
  76. /* interface ITTerminal */
  77. /* [object][dual][helpstring][uuid] */ 
  78. EXTERN_C const IID IID_ITTerminal;
  79. #if defined(__cplusplus) && !defined(CINTERFACE)
  80.     
  81.     MIDL_INTERFACE("B1EFC38A-9355-11d0-835C-00AA003CCABD")
  82.     ITTerminal : public IDispatch
  83.     {
  84.     public:
  85.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name( 
  86.             /* [retval][out] */ BSTR *ppName) = 0;
  87.         
  88.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_State( 
  89.             /* [retval][out] */ TERMINAL_STATE *pTerminalState) = 0;
  90.         
  91.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TerminalType( 
  92.             /* [retval][out] */ TERMINAL_TYPE *pType) = 0;
  93.         
  94.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TerminalClass( 
  95.             /* [retval][out] */ BSTR *ppTerminalClass) = 0;
  96.         
  97.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MediaType( 
  98.             /* [retval][out] */ long *plMediaType) = 0;
  99.         
  100.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Direction( 
  101.             /* [retval][out] */ TERMINAL_DIRECTION *pDirection) = 0;
  102.         
  103.     };
  104.     
  105. #else  /* C style interface */
  106.     typedef struct ITTerminalVtbl
  107.     {
  108.         BEGIN_INTERFACE
  109.         
  110.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  111.             ITTerminal * This,
  112.             /* [in] */ REFIID riid,
  113.             /* [iid_is][out] */ void **ppvObject);
  114.         
  115.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  116.             ITTerminal * This);
  117.         
  118.         ULONG ( STDMETHODCALLTYPE *Release )( 
  119.             ITTerminal * This);
  120.         
  121.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  122.             ITTerminal * This,
  123.             /* [out] */ UINT *pctinfo);
  124.         
  125.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  126.             ITTerminal * This,
  127.             /* [in] */ UINT iTInfo,
  128.             /* [in] */ LCID lcid,
  129.             /* [out] */ ITypeInfo **ppTInfo);
  130.         
  131.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  132.             ITTerminal * This,
  133.             /* [in] */ REFIID riid,
  134.             /* [size_is][in] */ LPOLESTR *rgszNames,
  135.             /* [in] */ UINT cNames,
  136.             /* [in] */ LCID lcid,
  137.             /* [size_is][out] */ DISPID *rgDispId);
  138.         
  139.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  140.             ITTerminal * This,
  141.             /* [in] */ DISPID dispIdMember,
  142.             /* [in] */ REFIID riid,
  143.             /* [in] */ LCID lcid,
  144.             /* [in] */ WORD wFlags,
  145.             /* [out][in] */ DISPPARAMS *pDispParams,
  146.             /* [out] */ VARIANT *pVarResult,
  147.             /* [out] */ EXCEPINFO *pExcepInfo,
  148.             /* [out] */ UINT *puArgErr);
  149.         
  150.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( 
  151.             ITTerminal * This,
  152.             /* [retval][out] */ BSTR *ppName);
  153.         
  154.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_State )( 
  155.             ITTerminal * This,
  156.             /* [retval][out] */ TERMINAL_STATE *pTerminalState);
  157.         
  158.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TerminalType )( 
  159.             ITTerminal * This,
  160.             /* [retval][out] */ TERMINAL_TYPE *pType);
  161.         
  162.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TerminalClass )( 
  163.             ITTerminal * This,
  164.             /* [retval][out] */ BSTR *ppTerminalClass);
  165.         
  166.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MediaType )( 
  167.             ITTerminal * This,
  168.             /* [retval][out] */ long *plMediaType);
  169.         
  170.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Direction )( 
  171.             ITTerminal * This,
  172.             /* [retval][out] */ TERMINAL_DIRECTION *pDirection);
  173.         
  174.         END_INTERFACE
  175.     } ITTerminalVtbl;
  176.     interface ITTerminal
  177.     {
  178.         CONST_VTBL struct ITTerminalVtbl *lpVtbl;
  179.     };
  180.     
  181. #ifdef COBJMACROS
  182. #define ITTerminal_QueryInterface(This,riid,ppvObject)
  183.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  184. #define ITTerminal_AddRef(This)
  185.     (This)->lpVtbl -> AddRef(This)
  186. #define ITTerminal_Release(This)
  187.     (This)->lpVtbl -> Release(This)
  188. #define ITTerminal_GetTypeInfoCount(This,pctinfo)
  189.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  190. #define ITTerminal_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  191.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  192. #define ITTerminal_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  193.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  194. #define ITTerminal_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  195.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  196. #define ITTerminal_get_Name(This,ppName)
  197.     (This)->lpVtbl -> get_Name(This,ppName)
  198. #define ITTerminal_get_State(This,pTerminalState)
  199.     (This)->lpVtbl -> get_State(This,pTerminalState)
  200. #define ITTerminal_get_TerminalType(This,pType)
  201.     (This)->lpVtbl -> get_TerminalType(This,pType)
  202. #define ITTerminal_get_TerminalClass(This,ppTerminalClass)
  203.     (This)->lpVtbl -> get_TerminalClass(This,ppTerminalClass)
  204. #define ITTerminal_get_MediaType(This,plMediaType)
  205.     (This)->lpVtbl -> get_MediaType(This,plMediaType)
  206. #define ITTerminal_get_Direction(This,pDirection)
  207.     (This)->lpVtbl -> get_Direction(This,pDirection)
  208. #endif /* COBJMACROS */
  209. #endif  /* C style interface */
  210. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTerminal_get_Name_Proxy( 
  211.     ITTerminal * This,
  212.     /* [retval][out] */ BSTR *ppName);
  213. void __RPC_STUB ITTerminal_get_Name_Stub(
  214.     IRpcStubBuffer *This,
  215.     IRpcChannelBuffer *_pRpcChannelBuffer,
  216.     PRPC_MESSAGE _pRpcMessage,
  217.     DWORD *_pdwStubPhase);
  218. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTerminal_get_State_Proxy( 
  219.     ITTerminal * This,
  220.     /* [retval][out] */ TERMINAL_STATE *pTerminalState);
  221. void __RPC_STUB ITTerminal_get_State_Stub(
  222.     IRpcStubBuffer *This,
  223.     IRpcChannelBuffer *_pRpcChannelBuffer,
  224.     PRPC_MESSAGE _pRpcMessage,
  225.     DWORD *_pdwStubPhase);
  226. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTerminal_get_TerminalType_Proxy( 
  227.     ITTerminal * This,
  228.     /* [retval][out] */ TERMINAL_TYPE *pType);
  229. void __RPC_STUB ITTerminal_get_TerminalType_Stub(
  230.     IRpcStubBuffer *This,
  231.     IRpcChannelBuffer *_pRpcChannelBuffer,
  232.     PRPC_MESSAGE _pRpcMessage,
  233.     DWORD *_pdwStubPhase);
  234. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTerminal_get_TerminalClass_Proxy( 
  235.     ITTerminal * This,
  236.     /* [retval][out] */ BSTR *ppTerminalClass);
  237. void __RPC_STUB ITTerminal_get_TerminalClass_Stub(
  238.     IRpcStubBuffer *This,
  239.     IRpcChannelBuffer *_pRpcChannelBuffer,
  240.     PRPC_MESSAGE _pRpcMessage,
  241.     DWORD *_pdwStubPhase);
  242. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTerminal_get_MediaType_Proxy( 
  243.     ITTerminal * This,
  244.     /* [retval][out] */ long *plMediaType);
  245. void __RPC_STUB ITTerminal_get_MediaType_Stub(
  246.     IRpcStubBuffer *This,
  247.     IRpcChannelBuffer *_pRpcChannelBuffer,
  248.     PRPC_MESSAGE _pRpcMessage,
  249.     DWORD *_pdwStubPhase);
  250. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTerminal_get_Direction_Proxy( 
  251.     ITTerminal * This,
  252.     /* [retval][out] */ TERMINAL_DIRECTION *pDirection);
  253. void __RPC_STUB ITTerminal_get_Direction_Stub(
  254.     IRpcStubBuffer *This,
  255.     IRpcChannelBuffer *_pRpcChannelBuffer,
  256.     PRPC_MESSAGE _pRpcMessage,
  257.     DWORD *_pdwStubPhase);
  258. #endif  /* __ITTerminal_INTERFACE_DEFINED__ */
  259. #ifndef __ITMultiTrackTerminal_INTERFACE_DEFINED__
  260. #define __ITMultiTrackTerminal_INTERFACE_DEFINED__
  261. /* interface ITMultiTrackTerminal */
  262. /* [helpstring][dual][uuid][object] */ 
  263. EXTERN_C const IID IID_ITMultiTrackTerminal;
  264. #if defined(__cplusplus) && !defined(CINTERFACE)
  265.     
  266.     MIDL_INTERFACE("FE040091-ADE8-4072-95C9-BF7DE8C54B44")
  267.     ITMultiTrackTerminal : public IDispatch
  268.     {
  269.     public:
  270.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TrackTerminals( 
  271.             /* [retval][out] */ VARIANT *pVariant) = 0;
  272.         
  273.         virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateTrackTerminals( 
  274.             /* [retval][out] */ IEnumTerminal **ppEnumTerminal) = 0;
  275.         
  276.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateTrackTerminal( 
  277.             /* [in] */ long MediaType,
  278.             /* [in] */ TERMINAL_DIRECTION TerminalDirection,
  279.             /* [retval][out] */ ITTerminal **ppTerminal) = 0;
  280.         
  281.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MediaTypesInUse( 
  282.             /* [retval][out] */ long *plMediaTypesInUse) = 0;
  283.         
  284.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DirectionsInUse( 
  285.             /* [retval][out] */ TERMINAL_DIRECTION *plDirectionsInUsed) = 0;
  286.         
  287.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RemoveTrackTerminal( 
  288.             /* [in] */ ITTerminal *pTrackTerminalToRemove) = 0;
  289.         
  290.     };
  291.     
  292. #else  /* C style interface */
  293.     typedef struct ITMultiTrackTerminalVtbl
  294.     {
  295.         BEGIN_INTERFACE
  296.         
  297.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  298.             ITMultiTrackTerminal * This,
  299.             /* [in] */ REFIID riid,
  300.             /* [iid_is][out] */ void **ppvObject);
  301.         
  302.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  303.             ITMultiTrackTerminal * This);
  304.         
  305.         ULONG ( STDMETHODCALLTYPE *Release )( 
  306.             ITMultiTrackTerminal * This);
  307.         
  308.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  309.             ITMultiTrackTerminal * This,
  310.             /* [out] */ UINT *pctinfo);
  311.         
  312.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  313.             ITMultiTrackTerminal * This,
  314.             /* [in] */ UINT iTInfo,
  315.             /* [in] */ LCID lcid,
  316.             /* [out] */ ITypeInfo **ppTInfo);
  317.         
  318.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  319.             ITMultiTrackTerminal * This,
  320.             /* [in] */ REFIID riid,
  321.             /* [size_is][in] */ LPOLESTR *rgszNames,
  322.             /* [in] */ UINT cNames,
  323.             /* [in] */ LCID lcid,
  324.             /* [size_is][out] */ DISPID *rgDispId);
  325.         
  326.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  327.             ITMultiTrackTerminal * This,
  328.             /* [in] */ DISPID dispIdMember,
  329.             /* [in] */ REFIID riid,
  330.             /* [in] */ LCID lcid,
  331.             /* [in] */ WORD wFlags,
  332.             /* [out][in] */ DISPPARAMS *pDispParams,
  333.             /* [out] */ VARIANT *pVarResult,
  334.             /* [out] */ EXCEPINFO *pExcepInfo,
  335.             /* [out] */ UINT *puArgErr);
  336.         
  337.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TrackTerminals )( 
  338.             ITMultiTrackTerminal * This,
  339.             /* [retval][out] */ VARIANT *pVariant);
  340.         
  341.         /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateTrackTerminals )( 
  342.             ITMultiTrackTerminal * This,
  343.             /* [retval][out] */ IEnumTerminal **ppEnumTerminal);
  344.         
  345.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateTrackTerminal )( 
  346.             ITMultiTrackTerminal * This,
  347.             /* [in] */ long MediaType,
  348.             /* [in] */ TERMINAL_DIRECTION TerminalDirection,
  349.             /* [retval][out] */ ITTerminal **ppTerminal);
  350.         
  351.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MediaTypesInUse )( 
  352.             ITMultiTrackTerminal * This,
  353.             /* [retval][out] */ long *plMediaTypesInUse);
  354.         
  355.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DirectionsInUse )( 
  356.             ITMultiTrackTerminal * This,
  357.             /* [retval][out] */ TERMINAL_DIRECTION *plDirectionsInUsed);
  358.         
  359.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RemoveTrackTerminal )( 
  360.             ITMultiTrackTerminal * This,
  361.             /* [in] */ ITTerminal *pTrackTerminalToRemove);
  362.         
  363.         END_INTERFACE
  364.     } ITMultiTrackTerminalVtbl;
  365.     interface ITMultiTrackTerminal
  366.     {
  367.         CONST_VTBL struct ITMultiTrackTerminalVtbl *lpVtbl;
  368.     };
  369.     
  370. #ifdef COBJMACROS
  371. #define ITMultiTrackTerminal_QueryInterface(This,riid,ppvObject)
  372.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  373. #define ITMultiTrackTerminal_AddRef(This)
  374.     (This)->lpVtbl -> AddRef(This)
  375. #define ITMultiTrackTerminal_Release(This)
  376.     (This)->lpVtbl -> Release(This)
  377. #define ITMultiTrackTerminal_GetTypeInfoCount(This,pctinfo)
  378.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  379. #define ITMultiTrackTerminal_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  380.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  381. #define ITMultiTrackTerminal_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  382.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  383. #define ITMultiTrackTerminal_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  384.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  385. #define ITMultiTrackTerminal_get_TrackTerminals(This,pVariant)
  386.     (This)->lpVtbl -> get_TrackTerminals(This,pVariant)
  387. #define ITMultiTrackTerminal_EnumerateTrackTerminals(This,ppEnumTerminal)
  388.     (This)->lpVtbl -> EnumerateTrackTerminals(This,ppEnumTerminal)
  389. #define ITMultiTrackTerminal_CreateTrackTerminal(This,MediaType,TerminalDirection,ppTerminal)
  390.     (This)->lpVtbl -> CreateTrackTerminal(This,MediaType,TerminalDirection,ppTerminal)
  391. #define ITMultiTrackTerminal_get_MediaTypesInUse(This,plMediaTypesInUse)
  392.     (This)->lpVtbl -> get_MediaTypesInUse(This,plMediaTypesInUse)
  393. #define ITMultiTrackTerminal_get_DirectionsInUse(This,plDirectionsInUsed)
  394.     (This)->lpVtbl -> get_DirectionsInUse(This,plDirectionsInUsed)
  395. #define ITMultiTrackTerminal_RemoveTrackTerminal(This,pTrackTerminalToRemove)
  396.     (This)->lpVtbl -> RemoveTrackTerminal(This,pTrackTerminalToRemove)
  397. #endif /* COBJMACROS */
  398. #endif  /* C style interface */
  399. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITMultiTrackTerminal_get_TrackTerminals_Proxy( 
  400.     ITMultiTrackTerminal * This,
  401.     /* [retval][out] */ VARIANT *pVariant);
  402. void __RPC_STUB ITMultiTrackTerminal_get_TrackTerminals_Stub(
  403.     IRpcStubBuffer *This,
  404.     IRpcChannelBuffer *_pRpcChannelBuffer,
  405.     PRPC_MESSAGE _pRpcMessage,
  406.     DWORD *_pdwStubPhase);
  407. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITMultiTrackTerminal_EnumerateTrackTerminals_Proxy( 
  408.     ITMultiTrackTerminal * This,
  409.     /* [retval][out] */ IEnumTerminal **ppEnumTerminal);
  410. void __RPC_STUB ITMultiTrackTerminal_EnumerateTrackTerminals_Stub(
  411.     IRpcStubBuffer *This,
  412.     IRpcChannelBuffer *_pRpcChannelBuffer,
  413.     PRPC_MESSAGE _pRpcMessage,
  414.     DWORD *_pdwStubPhase);
  415. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITMultiTrackTerminal_CreateTrackTerminal_Proxy( 
  416.     ITMultiTrackTerminal * This,
  417.     /* [in] */ long MediaType,
  418.     /* [in] */ TERMINAL_DIRECTION TerminalDirection,
  419.     /* [retval][out] */ ITTerminal **ppTerminal);
  420. void __RPC_STUB ITMultiTrackTerminal_CreateTrackTerminal_Stub(
  421.     IRpcStubBuffer *This,
  422.     IRpcChannelBuffer *_pRpcChannelBuffer,
  423.     PRPC_MESSAGE _pRpcMessage,
  424.     DWORD *_pdwStubPhase);
  425. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITMultiTrackTerminal_get_MediaTypesInUse_Proxy( 
  426.     ITMultiTrackTerminal * This,
  427.     /* [retval][out] */ long *plMediaTypesInUse);
  428. void __RPC_STUB ITMultiTrackTerminal_get_MediaTypesInUse_Stub(
  429.     IRpcStubBuffer *This,
  430.     IRpcChannelBuffer *_pRpcChannelBuffer,
  431.     PRPC_MESSAGE _pRpcMessage,
  432.     DWORD *_pdwStubPhase);
  433. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITMultiTrackTerminal_get_DirectionsInUse_Proxy( 
  434.     ITMultiTrackTerminal * This,
  435.     /* [retval][out] */ TERMINAL_DIRECTION *plDirectionsInUsed);
  436. void __RPC_STUB ITMultiTrackTerminal_get_DirectionsInUse_Stub(
  437.     IRpcStubBuffer *This,
  438.     IRpcChannelBuffer *_pRpcChannelBuffer,
  439.     PRPC_MESSAGE _pRpcMessage,
  440.     DWORD *_pdwStubPhase);
  441. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITMultiTrackTerminal_RemoveTrackTerminal_Proxy( 
  442.     ITMultiTrackTerminal * This,
  443.     /* [in] */ ITTerminal *pTrackTerminalToRemove);
  444. void __RPC_STUB ITMultiTrackTerminal_RemoveTrackTerminal_Stub(
  445.     IRpcStubBuffer *This,
  446.     IRpcChannelBuffer *_pRpcChannelBuffer,
  447.     PRPC_MESSAGE _pRpcMessage,
  448.     DWORD *_pdwStubPhase);
  449. #endif  /* __ITMultiTrackTerminal_INTERFACE_DEFINED__ */
  450. /* interface __MIDL_itf_tapi3if_0415 */
  451. /* [local] */ 
  452. typedef 
  453. enum TERMINAL_MEDIA_STATE
  454.     { TMS_IDLE = 0,
  455. TMS_ACTIVE = TMS_IDLE + 1,
  456. TMS_PAUSED = TMS_ACTIVE + 1,
  457. TMS_LASTITEM = TMS_PAUSED
  458.     }  TERMINAL_MEDIA_STATE;
  459. typedef 
  460. enum FT_STATE_EVENT_CAUSE
  461.     { FTEC_NORMAL = 0,
  462. FTEC_END_OF_FILE = FTEC_NORMAL + 1,
  463. FTEC_READ_ERROR = FTEC_END_OF_FILE + 1,
  464. FTEC_WRITE_ERROR = FTEC_READ_ERROR + 1
  465.     }  FT_STATE_EVENT_CAUSE;
  466. extern RPC_IF_HANDLE __MIDL_itf_tapi3if_0415_v0_0_c_ifspec;
  467. extern RPC_IF_HANDLE __MIDL_itf_tapi3if_0415_v0_0_s_ifspec;
  468. #ifndef __ITFileTrack_INTERFACE_DEFINED__
  469. #define __ITFileTrack_INTERFACE_DEFINED__
  470. /* interface ITFileTrack */
  471. /* [unique][helpstring][dual][uuid][object] */ 
  472. EXTERN_C const IID IID_ITFileTrack;
  473. #if defined(__cplusplus) && !defined(CINTERFACE)
  474.     
  475.     MIDL_INTERFACE("31CA6EA9-C08A-4bea-8811-8E9C1BA3EA3A")
  476.     ITFileTrack : public IDispatch
  477.     {
  478.     public:
  479.         virtual /* [helpstring][hidden][id][propget] */ HRESULT STDMETHODCALLTYPE get_Format( 
  480.             /* [retval][out] */ AM_MEDIA_TYPE **ppmt) = 0;
  481.         
  482.         virtual /* [helpstring][hidden][id][propput] */ HRESULT STDMETHODCALLTYPE put_Format( 
  483.             /* [in] */ const AM_MEDIA_TYPE *pmt) = 0;
  484.         
  485.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ControllingTerminal( 
  486.             /* [retval][out] */ ITTerminal **ppControllingTerminal) = 0;
  487.         
  488.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AudioFormatForScripting( 
  489.             /* [retval][out] */ ITScriptableAudioFormat **ppAudioFormat) = 0;
  490.         
  491.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AudioFormatForScripting( 
  492.             /* [in] */ ITScriptableAudioFormat *pAudioFormat) = 0;
  493.         
  494.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EmptyAudioFormatForScripting( 
  495.             /* [retval][out] */ ITScriptableAudioFormat **ppAudioFormat) = 0;
  496.         
  497.     };
  498.     
  499. #else  /* C style interface */
  500.     typedef struct ITFileTrackVtbl
  501.     {
  502.         BEGIN_INTERFACE
  503.         
  504.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  505.             ITFileTrack * This,
  506.             /* [in] */ REFIID riid,
  507.             /* [iid_is][out] */ void **ppvObject);
  508.         
  509.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  510.             ITFileTrack * This);
  511.         
  512.         ULONG ( STDMETHODCALLTYPE *Release )( 
  513.             ITFileTrack * This);
  514.         
  515.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  516.             ITFileTrack * This,
  517.             /* [out] */ UINT *pctinfo);
  518.         
  519.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  520.             ITFileTrack * This,
  521.             /* [in] */ UINT iTInfo,
  522.             /* [in] */ LCID lcid,
  523.             /* [out] */ ITypeInfo **ppTInfo);
  524.         
  525.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  526.             ITFileTrack * This,
  527.             /* [in] */ REFIID riid,
  528.             /* [size_is][in] */ LPOLESTR *rgszNames,
  529.             /* [in] */ UINT cNames,
  530.             /* [in] */ LCID lcid,
  531.             /* [size_is][out] */ DISPID *rgDispId);
  532.         
  533.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  534.             ITFileTrack * This,
  535.             /* [in] */ DISPID dispIdMember,
  536.             /* [in] */ REFIID riid,
  537.             /* [in] */ LCID lcid,
  538.             /* [in] */ WORD wFlags,
  539.             /* [out][in] */ DISPPARAMS *pDispParams,
  540.             /* [out] */ VARIANT *pVarResult,
  541.             /* [out] */ EXCEPINFO *pExcepInfo,
  542.             /* [out] */ UINT *puArgErr);
  543.         
  544.         /* [helpstring][hidden][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Format )( 
  545.             ITFileTrack * This,
  546.             /* [retval][out] */ AM_MEDIA_TYPE **ppmt);
  547.         
  548.         /* [helpstring][hidden][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Format )( 
  549.             ITFileTrack * This,
  550.             /* [in] */ const AM_MEDIA_TYPE *pmt);
  551.         
  552.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ControllingTerminal )( 
  553.             ITFileTrack * This,
  554.             /* [retval][out] */ ITTerminal **ppControllingTerminal);
  555.         
  556.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AudioFormatForScripting )( 
  557.             ITFileTrack * This,
  558.             /* [retval][out] */ ITScriptableAudioFormat **ppAudioFormat);
  559.         
  560.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AudioFormatForScripting )( 
  561.             ITFileTrack * This,
  562.             /* [in] */ ITScriptableAudioFormat *pAudioFormat);
  563.         
  564.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EmptyAudioFormatForScripting )( 
  565.             ITFileTrack * This,
  566.             /* [retval][out] */ ITScriptableAudioFormat **ppAudioFormat);
  567.         
  568.         END_INTERFACE
  569.     } ITFileTrackVtbl;
  570.     interface ITFileTrack
  571.     {
  572.         CONST_VTBL struct ITFileTrackVtbl *lpVtbl;
  573.     };
  574.     
  575. #ifdef COBJMACROS
  576. #define ITFileTrack_QueryInterface(This,riid,ppvObject)
  577.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  578. #define ITFileTrack_AddRef(This)
  579.     (This)->lpVtbl -> AddRef(This)
  580. #define ITFileTrack_Release(This)
  581.     (This)->lpVtbl -> Release(This)
  582. #define ITFileTrack_GetTypeInfoCount(This,pctinfo)
  583.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  584. #define ITFileTrack_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  585.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  586. #define ITFileTrack_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  587.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  588. #define ITFileTrack_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  589.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  590. #define ITFileTrack_get_Format(This,ppmt)
  591.     (This)->lpVtbl -> get_Format(This,ppmt)
  592. #define ITFileTrack_put_Format(This,pmt)
  593.     (This)->lpVtbl -> put_Format(This,pmt)
  594. #define ITFileTrack_get_ControllingTerminal(This,ppControllingTerminal)
  595.     (This)->lpVtbl -> get_ControllingTerminal(This,ppControllingTerminal)
  596. #define ITFileTrack_get_AudioFormatForScripting(This,ppAudioFormat)
  597.     (This)->lpVtbl -> get_AudioFormatForScripting(This,ppAudioFormat)
  598. #define ITFileTrack_put_AudioFormatForScripting(This,pAudioFormat)
  599.     (This)->lpVtbl -> put_AudioFormatForScripting(This,pAudioFormat)
  600. #define ITFileTrack_get_EmptyAudioFormatForScripting(This,ppAudioFormat)
  601.     (This)->lpVtbl -> get_EmptyAudioFormatForScripting(This,ppAudioFormat)
  602. #endif /* COBJMACROS */
  603. #endif  /* C style interface */
  604. /* [helpstring][hidden][id][propget] */ HRESULT STDMETHODCALLTYPE ITFileTrack_get_Format_Proxy( 
  605.     ITFileTrack * This,
  606.     /* [retval][out] */ AM_MEDIA_TYPE **ppmt);
  607. void __RPC_STUB ITFileTrack_get_Format_Stub(
  608.     IRpcStubBuffer *This,
  609.     IRpcChannelBuffer *_pRpcChannelBuffer,
  610.     PRPC_MESSAGE _pRpcMessage,
  611.     DWORD *_pdwStubPhase);
  612. /* [helpstring][hidden][id][propput] */ HRESULT STDMETHODCALLTYPE ITFileTrack_put_Format_Proxy( 
  613.     ITFileTrack * This,
  614.     /* [in] */ const AM_MEDIA_TYPE *pmt);
  615. void __RPC_STUB ITFileTrack_put_Format_Stub(
  616.     IRpcStubBuffer *This,
  617.     IRpcChannelBuffer *_pRpcChannelBuffer,
  618.     PRPC_MESSAGE _pRpcMessage,
  619.     DWORD *_pdwStubPhase);
  620. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITFileTrack_get_ControllingTerminal_Proxy( 
  621.     ITFileTrack * This,
  622.     /* [retval][out] */ ITTerminal **ppControllingTerminal);
  623. void __RPC_STUB ITFileTrack_get_ControllingTerminal_Stub(
  624.     IRpcStubBuffer *This,
  625.     IRpcChannelBuffer *_pRpcChannelBuffer,
  626.     PRPC_MESSAGE _pRpcMessage,
  627.     DWORD *_pdwStubPhase);
  628. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITFileTrack_get_AudioFormatForScripting_Proxy( 
  629.     ITFileTrack * This,
  630.     /* [retval][out] */ ITScriptableAudioFormat **ppAudioFormat);
  631. void __RPC_STUB ITFileTrack_get_AudioFormatForScripting_Stub(
  632.     IRpcStubBuffer *This,
  633.     IRpcChannelBuffer *_pRpcChannelBuffer,
  634.     PRPC_MESSAGE _pRpcMessage,
  635.     DWORD *_pdwStubPhase);
  636. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITFileTrack_put_AudioFormatForScripting_Proxy( 
  637.     ITFileTrack * This,
  638.     /* [in] */ ITScriptableAudioFormat *pAudioFormat);
  639. void __RPC_STUB ITFileTrack_put_AudioFormatForScripting_Stub(
  640.     IRpcStubBuffer *This,
  641.     IRpcChannelBuffer *_pRpcChannelBuffer,
  642.     PRPC_MESSAGE _pRpcMessage,
  643.     DWORD *_pdwStubPhase);
  644. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITFileTrack_get_EmptyAudioFormatForScripting_Proxy( 
  645.     ITFileTrack * This,
  646.     /* [retval][out] */ ITScriptableAudioFormat **ppAudioFormat);
  647. void __RPC_STUB ITFileTrack_get_EmptyAudioFormatForScripting_Stub(
  648.     IRpcStubBuffer *This,
  649.     IRpcChannelBuffer *_pRpcChannelBuffer,
  650.     PRPC_MESSAGE _pRpcMessage,
  651.     DWORD *_pdwStubPhase);
  652. #endif  /* __ITFileTrack_INTERFACE_DEFINED__ */
  653. #ifndef __ITMediaPlayback_INTERFACE_DEFINED__
  654. #define __ITMediaPlayback_INTERFACE_DEFINED__
  655. /* interface ITMediaPlayback */
  656. /* [unique][helpstring][dual][uuid][object] */ 
  657. EXTERN_C const IID IID_ITMediaPlayback;
  658. #if defined(__cplusplus) && !defined(CINTERFACE)
  659.     
  660.     MIDL_INTERFACE("627E8AE6-AE4C-4a69-BB63-2AD625404B77")
  661.     ITMediaPlayback : public IDispatch
  662.     {
  663.     public:
  664.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PlayList( 
  665.             /* [in] */ VARIANTARG PlayListVariant) = 0;
  666.         
  667.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PlayList( 
  668.             /* [retval][out] */ VARIANTARG *pPlayListVariant) = 0;
  669.         
  670.     };
  671.     
  672. #else  /* C style interface */
  673.     typedef struct ITMediaPlaybackVtbl
  674.     {
  675.         BEGIN_INTERFACE
  676.         
  677.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  678.             ITMediaPlayback * This,
  679.             /* [in] */ REFIID riid,
  680.             /* [iid_is][out] */ void **ppvObject);
  681.         
  682.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  683.             ITMediaPlayback * This);
  684.         
  685.         ULONG ( STDMETHODCALLTYPE *Release )( 
  686.             ITMediaPlayback * This);
  687.         
  688.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  689.             ITMediaPlayback * This,
  690.             /* [out] */ UINT *pctinfo);
  691.         
  692.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  693.             ITMediaPlayback * This,
  694.             /* [in] */ UINT iTInfo,
  695.             /* [in] */ LCID lcid,
  696.             /* [out] */ ITypeInfo **ppTInfo);
  697.         
  698.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  699.             ITMediaPlayback * This,
  700.             /* [in] */ REFIID riid,
  701.             /* [size_is][in] */ LPOLESTR *rgszNames,
  702.             /* [in] */ UINT cNames,
  703.             /* [in] */ LCID lcid,
  704.             /* [size_is][out] */ DISPID *rgDispId);
  705.         
  706.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  707.             ITMediaPlayback * This,
  708.             /* [in] */ DISPID dispIdMember,
  709.             /* [in] */ REFIID riid,
  710.             /* [in] */ LCID lcid,
  711.             /* [in] */ WORD wFlags,
  712.             /* [out][in] */ DISPPARAMS *pDispParams,
  713.             /* [out] */ VARIANT *pVarResult,
  714.             /* [out] */ EXCEPINFO *pExcepInfo,
  715.             /* [out] */ UINT *puArgErr);
  716.         
  717.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_PlayList )( 
  718.             ITMediaPlayback * This,
  719.             /* [in] */ VARIANTARG PlayListVariant);
  720.         
  721.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PlayList )( 
  722.             ITMediaPlayback * This,
  723.             /* [retval][out] */ VARIANTARG *pPlayListVariant);
  724.         
  725.         END_INTERFACE
  726.     } ITMediaPlaybackVtbl;
  727.     interface ITMediaPlayback
  728.     {
  729.         CONST_VTBL struct ITMediaPlaybackVtbl *lpVtbl;
  730.     };
  731.     
  732. #ifdef COBJMACROS
  733. #define ITMediaPlayback_QueryInterface(This,riid,ppvObject)
  734.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  735. #define ITMediaPlayback_AddRef(This)
  736.     (This)->lpVtbl -> AddRef(This)
  737. #define ITMediaPlayback_Release(This)
  738.     (This)->lpVtbl -> Release(This)
  739. #define ITMediaPlayback_GetTypeInfoCount(This,pctinfo)
  740.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  741. #define ITMediaPlayback_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  742.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  743. #define ITMediaPlayback_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  744.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  745. #define ITMediaPlayback_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  746.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  747. #define ITMediaPlayback_put_PlayList(This,PlayListVariant)
  748.     (This)->lpVtbl -> put_PlayList(This,PlayListVariant)
  749. #define ITMediaPlayback_get_PlayList(This,pPlayListVariant)
  750.     (This)->lpVtbl -> get_PlayList(This,pPlayListVariant)
  751. #endif /* COBJMACROS */
  752. #endif  /* C style interface */
  753. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITMediaPlayback_put_PlayList_Proxy( 
  754.     ITMediaPlayback * This,
  755.     /* [in] */ VARIANTARG PlayListVariant);
  756. void __RPC_STUB ITMediaPlayback_put_PlayList_Stub(
  757.     IRpcStubBuffer *This,
  758.     IRpcChannelBuffer *_pRpcChannelBuffer,
  759.     PRPC_MESSAGE _pRpcMessage,
  760.     DWORD *_pdwStubPhase);
  761. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITMediaPlayback_get_PlayList_Proxy( 
  762.     ITMediaPlayback * This,
  763.     /* [retval][out] */ VARIANTARG *pPlayListVariant);
  764. void __RPC_STUB ITMediaPlayback_get_PlayList_Stub(
  765.     IRpcStubBuffer *This,
  766.     IRpcChannelBuffer *_pRpcChannelBuffer,
  767.     PRPC_MESSAGE _pRpcMessage,
  768.     DWORD *_pdwStubPhase);
  769. #endif  /* __ITMediaPlayback_INTERFACE_DEFINED__ */
  770. #ifndef __ITMediaRecord_INTERFACE_DEFINED__
  771. #define __ITMediaRecord_INTERFACE_DEFINED__
  772. /* interface ITMediaRecord */
  773. /* [unique][helpstring][dual][uuid][object] */ 
  774. EXTERN_C const IID IID_ITMediaRecord;
  775. #if defined(__cplusplus) && !defined(CINTERFACE)
  776.     
  777.     MIDL_INTERFACE("F5DD4592-5476-4cc1-9D4D-FAD3EEFE7DB2")
  778.     ITMediaRecord : public IDispatch
  779.     {
  780.     public:
  781.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_FileName( 
  782.             /* [in] */ BSTR bstrFileName) = 0;
  783.         
  784.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FileName( 
  785.             /* [retval][out] */ BSTR *pbstrFileName) = 0;
  786.         
  787.     };
  788.     
  789. #else  /* C style interface */
  790.     typedef struct ITMediaRecordVtbl
  791.     {
  792.         BEGIN_INTERFACE
  793.         
  794.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  795.             ITMediaRecord * This,
  796.             /* [in] */ REFIID riid,
  797.             /* [iid_is][out] */ void **ppvObject);
  798.         
  799.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  800.             ITMediaRecord * This);
  801.         
  802.         ULONG ( STDMETHODCALLTYPE *Release )( 
  803.             ITMediaRecord * This);
  804.         
  805.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  806.             ITMediaRecord * This,
  807.             /* [out] */ UINT *pctinfo);
  808.         
  809.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  810.             ITMediaRecord * This,
  811.             /* [in] */ UINT iTInfo,
  812.             /* [in] */ LCID lcid,
  813.             /* [out] */ ITypeInfo **ppTInfo);
  814.         
  815.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  816.             ITMediaRecord * This,
  817.             /* [in] */ REFIID riid,
  818.             /* [size_is][in] */ LPOLESTR *rgszNames,
  819.             /* [in] */ UINT cNames,
  820.             /* [in] */ LCID lcid,
  821.             /* [size_is][out] */ DISPID *rgDispId);
  822.         
  823.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  824.             ITMediaRecord * This,
  825.             /* [in] */ DISPID dispIdMember,
  826.             /* [in] */ REFIID riid,
  827.             /* [in] */ LCID lcid,
  828.             /* [in] */ WORD wFlags,
  829.             /* [out][in] */ DISPPARAMS *pDispParams,
  830.             /* [out] */ VARIANT *pVarResult,
  831.             /* [out] */ EXCEPINFO *pExcepInfo,
  832.             /* [out] */ UINT *puArgErr);
  833.         
  834.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_FileName )( 
  835.             ITMediaRecord * This,
  836.             /* [in] */ BSTR bstrFileName);
  837.         
  838.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FileName )( 
  839.             ITMediaRecord * This,
  840.             /* [retval][out] */ BSTR *pbstrFileName);
  841.         
  842.         END_INTERFACE
  843.     } ITMediaRecordVtbl;
  844.     interface ITMediaRecord
  845.     {
  846.         CONST_VTBL struct ITMediaRecordVtbl *lpVtbl;
  847.     };
  848.     
  849. #ifdef COBJMACROS
  850. #define ITMediaRecord_QueryInterface(This,riid,ppvObject)
  851.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  852. #define ITMediaRecord_AddRef(This)
  853.     (This)->lpVtbl -> AddRef(This)
  854. #define ITMediaRecord_Release(This)
  855.     (This)->lpVtbl -> Release(This)
  856. #define ITMediaRecord_GetTypeInfoCount(This,pctinfo)
  857.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  858. #define ITMediaRecord_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  859.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  860. #define ITMediaRecord_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  861.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  862. #define ITMediaRecord_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  863.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  864. #define ITMediaRecord_put_FileName(This,bstrFileName)
  865.     (This)->lpVtbl -> put_FileName(This,bstrFileName)
  866. #define ITMediaRecord_get_FileName(This,pbstrFileName)
  867.     (This)->lpVtbl -> get_FileName(This,pbstrFileName)
  868. #endif /* COBJMACROS */
  869. #endif  /* C style interface */
  870. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITMediaRecord_put_FileName_Proxy( 
  871.     ITMediaRecord * This,
  872.     /* [in] */ BSTR bstrFileName);
  873. void __RPC_STUB ITMediaRecord_put_FileName_Stub(
  874.     IRpcStubBuffer *This,
  875.     IRpcChannelBuffer *_pRpcChannelBuffer,
  876.     PRPC_MESSAGE _pRpcMessage,
  877.     DWORD *_pdwStubPhase);
  878. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITMediaRecord_get_FileName_Proxy( 
  879.     ITMediaRecord * This,
  880.     /* [retval][out] */ BSTR *pbstrFileName);
  881. void __RPC_STUB ITMediaRecord_get_FileName_Stub(
  882.     IRpcStubBuffer *This,
  883.     IRpcChannelBuffer *_pRpcChannelBuffer,
  884.     PRPC_MESSAGE _pRpcMessage,
  885.     DWORD *_pdwStubPhase);
  886. #endif  /* __ITMediaRecord_INTERFACE_DEFINED__ */
  887. #ifndef __ITMediaControl_INTERFACE_DEFINED__
  888. #define __ITMediaControl_INTERFACE_DEFINED__
  889. /* interface ITMediaControl */
  890. /* [unique][helpstring][dual][uuid][object] */ 
  891. EXTERN_C const IID IID_ITMediaControl;
  892. #if defined(__cplusplus) && !defined(CINTERFACE)
  893.     
  894.     MIDL_INTERFACE("C445DDE8-5199-4bc7-9807-5FFB92E42E09")
  895.     ITMediaControl : public IDispatch
  896.     {
  897.     public:
  898.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Start( void) = 0;
  899.         
  900.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Stop( void) = 0;
  901.         
  902.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Pause( void) = 0;
  903.         
  904.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MediaState( 
  905.             /* [retval][out] */ TERMINAL_MEDIA_STATE *pTerminalMediaState) = 0;
  906.         
  907.     };
  908.     
  909. #else  /* C style interface */
  910.     typedef struct ITMediaControlVtbl
  911.     {
  912.         BEGIN_INTERFACE
  913.         
  914.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  915.             ITMediaControl * This,
  916.             /* [in] */ REFIID riid,
  917.             /* [iid_is][out] */ void **ppvObject);
  918.         
  919.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  920.             ITMediaControl * This);
  921.         
  922.         ULONG ( STDMETHODCALLTYPE *Release )( 
  923.             ITMediaControl * This);
  924.         
  925.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  926.             ITMediaControl * This,
  927.             /* [out] */ UINT *pctinfo);
  928.         
  929.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  930.             ITMediaControl * This,
  931.             /* [in] */ UINT iTInfo,
  932.             /* [in] */ LCID lcid,
  933.             /* [out] */ ITypeInfo **ppTInfo);
  934.         
  935.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  936.             ITMediaControl * This,
  937.             /* [in] */ REFIID riid,
  938.             /* [size_is][in] */ LPOLESTR *rgszNames,
  939.             /* [in] */ UINT cNames,
  940.             /* [in] */ LCID lcid,
  941.             /* [size_is][out] */ DISPID *rgDispId);
  942.         
  943.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  944.             ITMediaControl * This,
  945.             /* [in] */ DISPID dispIdMember,
  946.             /* [in] */ REFIID riid,
  947.             /* [in] */ LCID lcid,
  948.             /* [in] */ WORD wFlags,
  949.             /* [out][in] */ DISPPARAMS *pDispParams,
  950.             /* [out] */ VARIANT *pVarResult,
  951.             /* [out] */ EXCEPINFO *pExcepInfo,
  952.             /* [out] */ UINT *puArgErr);
  953.         
  954.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Start )( 
  955.             ITMediaControl * This);
  956.         
  957.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Stop )( 
  958.             ITMediaControl * This);
  959.         
  960.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Pause )( 
  961.             ITMediaControl * This);
  962.         
  963.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MediaState )( 
  964.             ITMediaControl * This,
  965.             /* [retval][out] */ TERMINAL_MEDIA_STATE *pTerminalMediaState);
  966.         
  967.         END_INTERFACE
  968.     } ITMediaControlVtbl;
  969.     interface ITMediaControl
  970.     {
  971.         CONST_VTBL struct ITMediaControlVtbl *lpVtbl;
  972.     };
  973.     
  974. #ifdef COBJMACROS
  975. #define ITMediaControl_QueryInterface(This,riid,ppvObject)
  976.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  977. #define ITMediaControl_AddRef(This)
  978.     (This)->lpVtbl -> AddRef(This)
  979. #define ITMediaControl_Release(This)
  980.     (This)->lpVtbl -> Release(This)
  981. #define ITMediaControl_GetTypeInfoCount(This,pctinfo)
  982.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  983. #define ITMediaControl_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  984.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  985. #define ITMediaControl_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  986.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  987. #define ITMediaControl_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  988.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  989. #define ITMediaControl_Start(This)
  990.     (This)->lpVtbl -> Start(This)
  991. #define ITMediaControl_Stop(This)
  992.     (This)->lpVtbl -> Stop(This)
  993. #define ITMediaControl_Pause(This)
  994.     (This)->lpVtbl -> Pause(This)
  995. #define ITMediaControl_get_MediaState(This,pTerminalMediaState)
  996.     (This)->lpVtbl -> get_MediaState(This,pTerminalMediaState)
  997. #endif /* COBJMACROS */
  998. #endif  /* C style interface */
  999. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITMediaControl_Start_Proxy( 
  1000.     ITMediaControl * This);
  1001. void __RPC_STUB ITMediaControl_Start_Stub(
  1002.     IRpcStubBuffer *This,
  1003.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1004.     PRPC_MESSAGE _pRpcMessage,
  1005.     DWORD *_pdwStubPhase);
  1006. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITMediaControl_Stop_Proxy( 
  1007.     ITMediaControl * This);
  1008. void __RPC_STUB ITMediaControl_Stop_Stub(
  1009.     IRpcStubBuffer *This,
  1010.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1011.     PRPC_MESSAGE _pRpcMessage,
  1012.     DWORD *_pdwStubPhase);
  1013. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITMediaControl_Pause_Proxy( 
  1014.     ITMediaControl * This);
  1015. void __RPC_STUB ITMediaControl_Pause_Stub(
  1016.     IRpcStubBuffer *This,
  1017.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1018.     PRPC_MESSAGE _pRpcMessage,
  1019.     DWORD *_pdwStubPhase);
  1020. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITMediaControl_get_MediaState_Proxy( 
  1021.     ITMediaControl * This,
  1022.     /* [retval][out] */ TERMINAL_MEDIA_STATE *pTerminalMediaState);
  1023. void __RPC_STUB ITMediaControl_get_MediaState_Stub(
  1024.     IRpcStubBuffer *This,
  1025.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1026.     PRPC_MESSAGE _pRpcMessage,
  1027.     DWORD *_pdwStubPhase);
  1028. #endif  /* __ITMediaControl_INTERFACE_DEFINED__ */
  1029. #ifndef __ITBasicAudioTerminal_INTERFACE_DEFINED__
  1030. #define __ITBasicAudioTerminal_INTERFACE_DEFINED__
  1031. /* interface ITBasicAudioTerminal */
  1032. /* [object][dual][helpstring][uuid] */ 
  1033. EXTERN_C const IID IID_ITBasicAudioTerminal;
  1034. #if defined(__cplusplus) && !defined(CINTERFACE)
  1035.     
  1036.     MIDL_INTERFACE("B1EFC38D-9355-11d0-835C-00AA003CCABD")
  1037.     ITBasicAudioTerminal : public IDispatch
  1038.     {
  1039.     public:
  1040.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Volume( 
  1041.             /* [in] */ long lVolume) = 0;
  1042.         
  1043.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Volume( 
  1044.             /* [retval][out] */ long *plVolume) = 0;
  1045.         
  1046.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Balance( 
  1047.             /* [in] */ long lBalance) = 0;
  1048.         
  1049.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Balance( 
  1050.             /* [retval][out] */ long *plBalance) = 0;
  1051.         
  1052.     };
  1053.     
  1054. #else  /* C style interface */
  1055.     typedef struct ITBasicAudioTerminalVtbl
  1056.     {
  1057.         BEGIN_INTERFACE
  1058.         
  1059.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1060.             ITBasicAudioTerminal * This,
  1061.             /* [in] */ REFIID riid,
  1062.             /* [iid_is][out] */ void **ppvObject);
  1063.         
  1064.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1065.             ITBasicAudioTerminal * This);
  1066.         
  1067.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1068.             ITBasicAudioTerminal * This);
  1069.         
  1070.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1071.             ITBasicAudioTerminal * This,
  1072.             /* [out] */ UINT *pctinfo);
  1073.         
  1074.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1075.             ITBasicAudioTerminal * This,
  1076.             /* [in] */ UINT iTInfo,
  1077.             /* [in] */ LCID lcid,
  1078.             /* [out] */ ITypeInfo **ppTInfo);
  1079.         
  1080.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1081.             ITBasicAudioTerminal * This,
  1082.             /* [in] */ REFIID riid,
  1083.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1084.             /* [in] */ UINT cNames,
  1085.             /* [in] */ LCID lcid,
  1086.             /* [size_is][out] */ DISPID *rgDispId);
  1087.         
  1088.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1089.             ITBasicAudioTerminal * This,
  1090.             /* [in] */ DISPID dispIdMember,
  1091.             /* [in] */ REFIID riid,
  1092.             /* [in] */ LCID lcid,
  1093.             /* [in] */ WORD wFlags,
  1094.             /* [out][in] */ DISPPARAMS *pDispParams,
  1095.             /* [out] */ VARIANT *pVarResult,
  1096.             /* [out] */ EXCEPINFO *pExcepInfo,
  1097.             /* [out] */ UINT *puArgErr);
  1098.         
  1099.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Volume )( 
  1100.             ITBasicAudioTerminal * This,
  1101.             /* [in] */ long lVolume);
  1102.         
  1103.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Volume )( 
  1104.             ITBasicAudioTerminal * This,
  1105.             /* [retval][out] */ long *plVolume);
  1106.         
  1107.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Balance )( 
  1108.             ITBasicAudioTerminal * This,
  1109.             /* [in] */ long lBalance);
  1110.         
  1111.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Balance )( 
  1112.             ITBasicAudioTerminal * This,
  1113.             /* [retval][out] */ long *plBalance);
  1114.         
  1115.         END_INTERFACE
  1116.     } ITBasicAudioTerminalVtbl;
  1117.     interface ITBasicAudioTerminal
  1118.     {
  1119.         CONST_VTBL struct ITBasicAudioTerminalVtbl *lpVtbl;
  1120.     };
  1121.     
  1122. #ifdef COBJMACROS
  1123. #define ITBasicAudioTerminal_QueryInterface(This,riid,ppvObject)
  1124.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1125. #define ITBasicAudioTerminal_AddRef(This)
  1126.     (This)->lpVtbl -> AddRef(This)
  1127. #define ITBasicAudioTerminal_Release(This)
  1128.     (This)->lpVtbl -> Release(This)
  1129. #define ITBasicAudioTerminal_GetTypeInfoCount(This,pctinfo)
  1130.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1131. #define ITBasicAudioTerminal_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1132.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1133. #define ITBasicAudioTerminal_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1134.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1135. #define ITBasicAudioTerminal_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1136.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1137. #define ITBasicAudioTerminal_put_Volume(This,lVolume)
  1138.     (This)->lpVtbl -> put_Volume(This,lVolume)
  1139. #define ITBasicAudioTerminal_get_Volume(This,plVolume)
  1140.     (This)->lpVtbl -> get_Volume(This,plVolume)
  1141. #define ITBasicAudioTerminal_put_Balance(This,lBalance)
  1142.     (This)->lpVtbl -> put_Balance(This,lBalance)
  1143. #define ITBasicAudioTerminal_get_Balance(This,plBalance)
  1144.     (This)->lpVtbl -> get_Balance(This,plBalance)
  1145. #endif /* COBJMACROS */
  1146. #endif  /* C style interface */
  1147. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITBasicAudioTerminal_put_Volume_Proxy( 
  1148.     ITBasicAudioTerminal * This,
  1149.     /* [in] */ long lVolume);
  1150. void __RPC_STUB ITBasicAudioTerminal_put_Volume_Stub(
  1151.     IRpcStubBuffer *This,
  1152.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1153.     PRPC_MESSAGE _pRpcMessage,
  1154.     DWORD *_pdwStubPhase);
  1155. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITBasicAudioTerminal_get_Volume_Proxy( 
  1156.     ITBasicAudioTerminal * This,
  1157.     /* [retval][out] */ long *plVolume);
  1158. void __RPC_STUB ITBasicAudioTerminal_get_Volume_Stub(
  1159.     IRpcStubBuffer *This,
  1160.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1161.     PRPC_MESSAGE _pRpcMessage,
  1162.     DWORD *_pdwStubPhase);
  1163. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITBasicAudioTerminal_put_Balance_Proxy( 
  1164.     ITBasicAudioTerminal * This,
  1165.     /* [in] */ long lBalance);
  1166. void __RPC_STUB ITBasicAudioTerminal_put_Balance_Stub(
  1167.     IRpcStubBuffer *This,
  1168.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1169.     PRPC_MESSAGE _pRpcMessage,
  1170.     DWORD *_pdwStubPhase);
  1171. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITBasicAudioTerminal_get_Balance_Proxy( 
  1172.     ITBasicAudioTerminal * This,
  1173.     /* [retval][out] */ long *plBalance);
  1174. void __RPC_STUB ITBasicAudioTerminal_get_Balance_Stub(
  1175.     IRpcStubBuffer *This,
  1176.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1177.     PRPC_MESSAGE _pRpcMessage,
  1178.     DWORD *_pdwStubPhase);
  1179. #endif  /* __ITBasicAudioTerminal_INTERFACE_DEFINED__ */
  1180. #ifndef __ITStaticAudioTerminal_INTERFACE_DEFINED__
  1181. #define __ITStaticAudioTerminal_INTERFACE_DEFINED__
  1182. /* interface ITStaticAudioTerminal */
  1183. /* [object][dual][helpstring][uuid] */ 
  1184. EXTERN_C const IID IID_ITStaticAudioTerminal;
  1185. #if defined(__cplusplus) && !defined(CINTERFACE)
  1186.     
  1187.     MIDL_INTERFACE("A86B7871-D14C-48e6-922E-A8D15F984800")
  1188.     ITStaticAudioTerminal : public IDispatch
  1189.     {
  1190.     public:
  1191.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_WaveId( 
  1192.             /* [retval][out] */ long *plWaveId) = 0;
  1193.         
  1194.     };
  1195.     
  1196. #else  /* C style interface */
  1197.     typedef struct ITStaticAudioTerminalVtbl
  1198.     {
  1199.         BEGIN_INTERFACE
  1200.         
  1201.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1202.             ITStaticAudioTerminal * This,
  1203.             /* [in] */ REFIID riid,
  1204.             /* [iid_is][out] */ void **ppvObject);
  1205.         
  1206.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1207.             ITStaticAudioTerminal * This);
  1208.         
  1209.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1210.             ITStaticAudioTerminal * This);
  1211.         
  1212.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1213.             ITStaticAudioTerminal * This,
  1214.             /* [out] */ UINT *pctinfo);
  1215.         
  1216.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1217.             ITStaticAudioTerminal * This,
  1218.             /* [in] */ UINT iTInfo,
  1219.             /* [in] */ LCID lcid,
  1220.             /* [out] */ ITypeInfo **ppTInfo);
  1221.         
  1222.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1223.             ITStaticAudioTerminal * This,
  1224.             /* [in] */ REFIID riid,
  1225.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1226.             /* [in] */ UINT cNames,
  1227.             /* [in] */ LCID lcid,
  1228.             /* [size_is][out] */ DISPID *rgDispId);
  1229.         
  1230.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1231.             ITStaticAudioTerminal * This,
  1232.             /* [in] */ DISPID dispIdMember,
  1233.             /* [in] */ REFIID riid,
  1234.             /* [in] */ LCID lcid,
  1235.             /* [in] */ WORD wFlags,
  1236.             /* [out][in] */ DISPPARAMS *pDispParams,
  1237.             /* [out] */ VARIANT *pVarResult,
  1238.             /* [out] */ EXCEPINFO *pExcepInfo,
  1239.             /* [out] */ UINT *puArgErr);
  1240.         
  1241.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_WaveId )( 
  1242.             ITStaticAudioTerminal * This,
  1243.             /* [retval][out] */ long *plWaveId);
  1244.         
  1245.         END_INTERFACE
  1246.     } ITStaticAudioTerminalVtbl;
  1247.     interface ITStaticAudioTerminal
  1248.     {
  1249.         CONST_VTBL struct ITStaticAudioTerminalVtbl *lpVtbl;
  1250.     };
  1251.     
  1252. #ifdef COBJMACROS
  1253. #define ITStaticAudioTerminal_QueryInterface(This,riid,ppvObject)
  1254.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1255. #define ITStaticAudioTerminal_AddRef(This)
  1256.     (This)->lpVtbl -> AddRef(This)
  1257. #define ITStaticAudioTerminal_Release(This)
  1258.     (This)->lpVtbl -> Release(This)
  1259. #define ITStaticAudioTerminal_GetTypeInfoCount(This,pctinfo)
  1260.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1261. #define ITStaticAudioTerminal_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1262.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1263. #define ITStaticAudioTerminal_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1264.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1265. #define ITStaticAudioTerminal_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1266.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1267. #define ITStaticAudioTerminal_get_WaveId(This,plWaveId)
  1268.     (This)->lpVtbl -> get_WaveId(This,plWaveId)
  1269. #endif /* COBJMACROS */
  1270. #endif  /* C style interface */
  1271. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITStaticAudioTerminal_get_WaveId_Proxy( 
  1272.     ITStaticAudioTerminal * This,
  1273.     /* [retval][out] */ long *plWaveId);
  1274. void __RPC_STUB ITStaticAudioTerminal_get_WaveId_Stub(
  1275.     IRpcStubBuffer *This,
  1276.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1277.     PRPC_MESSAGE _pRpcMessage,
  1278.     DWORD *_pdwStubPhase);
  1279. #endif  /* __ITStaticAudioTerminal_INTERFACE_DEFINED__ */
  1280. #ifndef __ITCallHub_INTERFACE_DEFINED__
  1281. #define __ITCallHub_INTERFACE_DEFINED__
  1282. /* interface ITCallHub */
  1283. /* [object][dual][helpstring][uuid] */ 
  1284. EXTERN_C const IID IID_ITCallHub;
  1285. #if defined(__cplusplus) && !defined(CINTERFACE)
  1286.     
  1287.     MIDL_INTERFACE("A3C1544E-5B92-11d1-8F4E-00C04FB6809F")
  1288.     ITCallHub : public IDispatch
  1289.     {
  1290.     public:
  1291.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Clear( void) = 0;
  1292.         
  1293.         virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateCalls( 
  1294.             /* [retval][out] */ IEnumCall **ppEnumCall) = 0;
  1295.         
  1296.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Calls( 
  1297.             /* [retval][out] */ VARIANT *pCalls) = 0;
  1298.         
  1299.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NumCalls( 
  1300.             /* [retval][out] */ long *plCalls) = 0;
  1301.         
  1302.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_State( 
  1303.             /* [retval][out] */ CALLHUB_STATE *pState) = 0;
  1304.         
  1305.     };
  1306.     
  1307. #else  /* C style interface */
  1308.     typedef struct ITCallHubVtbl
  1309.     {
  1310.         BEGIN_INTERFACE
  1311.         
  1312.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1313.             ITCallHub * This,
  1314.             /* [in] */ REFIID riid,
  1315.             /* [iid_is][out] */ void **ppvObject);
  1316.         
  1317.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1318.             ITCallHub * This);
  1319.         
  1320.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1321.             ITCallHub * This);
  1322.         
  1323.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1324.             ITCallHub * This,
  1325.             /* [out] */ UINT *pctinfo);
  1326.         
  1327.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1328.             ITCallHub * This,
  1329.             /* [in] */ UINT iTInfo,
  1330.             /* [in] */ LCID lcid,
  1331.             /* [out] */ ITypeInfo **ppTInfo);
  1332.         
  1333.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1334.             ITCallHub * This,
  1335.             /* [in] */ REFIID riid,
  1336.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1337.             /* [in] */ UINT cNames,
  1338.             /* [in] */ LCID lcid,
  1339.             /* [size_is][out] */ DISPID *rgDispId);
  1340.         
  1341.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1342.             ITCallHub * This,
  1343.             /* [in] */ DISPID dispIdMember,
  1344.             /* [in] */ REFIID riid,
  1345.             /* [in] */ LCID lcid,
  1346.             /* [in] */ WORD wFlags,
  1347.             /* [out][in] */ DISPPARAMS *pDispParams,
  1348.             /* [out] */ VARIANT *pVarResult,
  1349.             /* [out] */ EXCEPINFO *pExcepInfo,
  1350.             /* [out] */ UINT *puArgErr);
  1351.         
  1352.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Clear )( 
  1353.             ITCallHub * This);
  1354.         
  1355.         /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateCalls )( 
  1356.             ITCallHub * This,
  1357.             /* [retval][out] */ IEnumCall **ppEnumCall);
  1358.         
  1359.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Calls )( 
  1360.             ITCallHub * This,
  1361.             /* [retval][out] */ VARIANT *pCalls);
  1362.         
  1363.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NumCalls )( 
  1364.             ITCallHub * This,
  1365.             /* [retval][out] */ long *plCalls);
  1366.         
  1367.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_State )( 
  1368.             ITCallHub * This,
  1369.             /* [retval][out] */ CALLHUB_STATE *pState);
  1370.         
  1371.         END_INTERFACE
  1372.     } ITCallHubVtbl;
  1373.     interface ITCallHub
  1374.     {
  1375.         CONST_VTBL struct ITCallHubVtbl *lpVtbl;
  1376.     };
  1377.     
  1378. #ifdef COBJMACROS
  1379. #define ITCallHub_QueryInterface(This,riid,ppvObject)
  1380.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1381. #define ITCallHub_AddRef(This)
  1382.     (This)->lpVtbl -> AddRef(This)
  1383. #define ITCallHub_Release(This)
  1384.     (This)->lpVtbl -> Release(This)
  1385. #define ITCallHub_GetTypeInfoCount(This,pctinfo)
  1386.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1387. #define ITCallHub_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1388.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1389. #define ITCallHub_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1390.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1391. #define ITCallHub_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1392.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1393. #define ITCallHub_Clear(This)
  1394.     (This)->lpVtbl -> Clear(This)
  1395. #define ITCallHub_EnumerateCalls(This,ppEnumCall)
  1396.     (This)->lpVtbl -> EnumerateCalls(This,ppEnumCall)
  1397. #define ITCallHub_get_Calls(This,pCalls)
  1398.     (This)->lpVtbl -> get_Calls(This,pCalls)
  1399. #define ITCallHub_get_NumCalls(This,plCalls)
  1400.     (This)->lpVtbl -> get_NumCalls(This,plCalls)
  1401. #define ITCallHub_get_State(This,pState)
  1402.     (This)->lpVtbl -> get_State(This,pState)
  1403. #endif /* COBJMACROS */
  1404. #endif  /* C style interface */
  1405. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITCallHub_Clear_Proxy( 
  1406.     ITCallHub * This);
  1407. void __RPC_STUB ITCallHub_Clear_Stub(
  1408.     IRpcStubBuffer *This,
  1409.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1410.     PRPC_MESSAGE _pRpcMessage,
  1411.     DWORD *_pdwStubPhase);
  1412. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITCallHub_EnumerateCalls_Proxy( 
  1413.     ITCallHub * This,
  1414.     /* [retval][out] */ IEnumCall **ppEnumCall);
  1415. void __RPC_STUB ITCallHub_EnumerateCalls_Stub(
  1416.     IRpcStubBuffer *This,
  1417.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1418.     PRPC_MESSAGE _pRpcMessage,
  1419.     DWORD *_pdwStubPhase);
  1420. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallHub_get_Calls_Proxy( 
  1421.     ITCallHub * This,
  1422.     /* [retval][out] */ VARIANT *pCalls);
  1423. void __RPC_STUB ITCallHub_get_Calls_Stub(
  1424.     IRpcStubBuffer *This,
  1425.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1426.     PRPC_MESSAGE _pRpcMessage,
  1427.     DWORD *_pdwStubPhase);
  1428. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallHub_get_NumCalls_Proxy( 
  1429.     ITCallHub * This,
  1430.     /* [retval][out] */ long *plCalls);
  1431. void __RPC_STUB ITCallHub_get_NumCalls_Stub(
  1432.     IRpcStubBuffer *This,
  1433.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1434.     PRPC_MESSAGE _pRpcMessage,
  1435.     DWORD *_pdwStubPhase);
  1436. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallHub_get_State_Proxy( 
  1437.     ITCallHub * This,
  1438.     /* [retval][out] */ CALLHUB_STATE *pState);
  1439. void __RPC_STUB ITCallHub_get_State_Stub(
  1440.     IRpcStubBuffer *This,
  1441.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1442.     PRPC_MESSAGE _pRpcMessage,
  1443.     DWORD *_pdwStubPhase);
  1444. #endif  /* __ITCallHub_INTERFACE_DEFINED__ */
  1445. #ifndef __ITLegacyAddressMediaControl_INTERFACE_DEFINED__
  1446. #define __ITLegacyAddressMediaControl_INTERFACE_DEFINED__
  1447. /* interface ITLegacyAddressMediaControl */
  1448. /* [object][unique][hidden][helpstring][uuid] */ 
  1449. EXTERN_C const IID IID_ITLegacyAddressMediaControl;
  1450. #if defined(__cplusplus) && !defined(CINTERFACE)
  1451.     
  1452.     MIDL_INTERFACE("AB493640-4C0B-11D2-A046-00C04FB6809F")
  1453.     ITLegacyAddressMediaControl : public IUnknown
  1454.     {
  1455.     public:
  1456.         virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE GetID( 
  1457.             /* [in] */ BSTR pDeviceClass,
  1458.             /* [out] */ DWORD *pdwSize,
  1459.             /* [size_is][size_is][out] */ BYTE **ppDeviceID) = 0;
  1460.         
  1461.         virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE GetDevConfig( 
  1462.             /* [in] */ BSTR pDeviceClass,
  1463.             /* [out] */ DWORD *pdwSize,
  1464.             /* [size_is][size_is][out] */ BYTE **ppDeviceConfig) = 0;
  1465.         
  1466.         virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE SetDevConfig( 
  1467.             /* [in] */ BSTR pDeviceClass,
  1468.             /* [in] */ DWORD dwSize,
  1469.             /* [size_is][in] */ BYTE *pDeviceConfig) = 0;
  1470.         
  1471.     };
  1472.     
  1473. #else  /* C style interface */
  1474.     typedef struct ITLegacyAddressMediaControlVtbl
  1475.     {
  1476.         BEGIN_INTERFACE
  1477.         
  1478.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1479.             ITLegacyAddressMediaControl * This,
  1480.             /* [in] */ REFIID riid,
  1481.             /* [iid_is][out] */ void **ppvObject);
  1482.         
  1483.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1484.             ITLegacyAddressMediaControl * This);
  1485.         
  1486.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1487.             ITLegacyAddressMediaControl * This);
  1488.         
  1489.         /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *GetID )( 
  1490.             ITLegacyAddressMediaControl * This,
  1491.             /* [in] */ BSTR pDeviceClass,
  1492.             /* [out] */ DWORD *pdwSize,
  1493.             /* [size_is][size_is][out] */ BYTE **ppDeviceID);
  1494.         
  1495.         /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *GetDevConfig )( 
  1496.             ITLegacyAddressMediaControl * This,
  1497.             /* [in] */ BSTR pDeviceClass,
  1498.             /* [out] */ DWORD *pdwSize,
  1499.             /* [size_is][size_is][out] */ BYTE **ppDeviceConfig);
  1500.         
  1501.         /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *SetDevConfig )( 
  1502.             ITLegacyAddressMediaControl * This,
  1503.             /* [in] */ BSTR pDeviceClass,
  1504.             /* [in] */ DWORD dwSize,
  1505.             /* [size_is][in] */ BYTE *pDeviceConfig);
  1506.         
  1507.         END_INTERFACE
  1508.     } ITLegacyAddressMediaControlVtbl;
  1509.     interface ITLegacyAddressMediaControl
  1510.     {
  1511.         CONST_VTBL struct ITLegacyAddressMediaControlVtbl *lpVtbl;
  1512.     };
  1513.     
  1514. #ifdef COBJMACROS
  1515. #define ITLegacyAddressMediaControl_QueryInterface(This,riid,ppvObject)
  1516.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1517. #define ITLegacyAddressMediaControl_AddRef(This)
  1518.     (This)->lpVtbl -> AddRef(This)
  1519. #define ITLegacyAddressMediaControl_Release(This)
  1520.     (This)->lpVtbl -> Release(This)
  1521. #define ITLegacyAddressMediaControl_GetID(This,pDeviceClass,pdwSize,ppDeviceID)
  1522.     (This)->lpVtbl -> GetID(This,pDeviceClass,pdwSize,ppDeviceID)
  1523. #define ITLegacyAddressMediaControl_GetDevConfig(This,pDeviceClass,pdwSize,ppDeviceConfig)
  1524.     (This)->lpVtbl -> GetDevConfig(This,pDeviceClass,pdwSize,ppDeviceConfig)
  1525. #define ITLegacyAddressMediaControl_SetDevConfig(This,pDeviceClass,dwSize,pDeviceConfig)
  1526.     (This)->lpVtbl -> SetDevConfig(This,pDeviceClass,dwSize,pDeviceConfig)
  1527. #endif /* COBJMACROS */
  1528. #endif  /* C style interface */
  1529. /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITLegacyAddressMediaControl_GetID_Proxy( 
  1530.     ITLegacyAddressMediaControl * This,
  1531.     /* [in] */ BSTR pDeviceClass,
  1532.     /* [out] */ DWORD *pdwSize,
  1533.     /* [size_is][size_is][out] */ BYTE **ppDeviceID);
  1534. void __RPC_STUB ITLegacyAddressMediaControl_GetID_Stub(
  1535.     IRpcStubBuffer *This,
  1536.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1537.     PRPC_MESSAGE _pRpcMessage,
  1538.     DWORD *_pdwStubPhase);
  1539. /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITLegacyAddressMediaControl_GetDevConfig_Proxy( 
  1540.     ITLegacyAddressMediaControl * This,
  1541.     /* [in] */ BSTR pDeviceClass,
  1542.     /* [out] */ DWORD *pdwSize,
  1543.     /* [size_is][size_is][out] */ BYTE **ppDeviceConfig);
  1544. void __RPC_STUB ITLegacyAddressMediaControl_GetDevConfig_Stub(
  1545.     IRpcStubBuffer *This,
  1546.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1547.     PRPC_MESSAGE _pRpcMessage,
  1548.     DWORD *_pdwStubPhase);
  1549. /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITLegacyAddressMediaControl_SetDevConfig_Proxy( 
  1550.     ITLegacyAddressMediaControl * This,
  1551.     /* [in] */ BSTR pDeviceClass,
  1552.     /* [in] */ DWORD dwSize,
  1553.     /* [size_is][in] */ BYTE *pDeviceConfig);
  1554. void __RPC_STUB ITLegacyAddressMediaControl_SetDevConfig_Stub(
  1555.     IRpcStubBuffer *This,
  1556.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1557.     PRPC_MESSAGE _pRpcMessage,
  1558.     DWORD *_pdwStubPhase);
  1559. #endif  /* __ITLegacyAddressMediaControl_INTERFACE_DEFINED__ */
  1560. #ifndef __ITPrivateEvent_INTERFACE_DEFINED__
  1561. #define __ITPrivateEvent_INTERFACE_DEFINED__
  1562. /* interface ITPrivateEvent */
  1563. /* [object][dual][helpstring][uuid] */ 
  1564. EXTERN_C const IID IID_ITPrivateEvent;
  1565. #if defined(__cplusplus) && !defined(CINTERFACE)
  1566.     
  1567.     MIDL_INTERFACE("0e269cd0-10d4-4121-9c22-9c85d625650d")
  1568.     ITPrivateEvent : public IDispatch
  1569.     {
  1570.     public:
  1571.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Address( 
  1572.             /* [retval][out] */ ITAddress **ppAddress) = 0;
  1573.         
  1574.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Call( 
  1575.             /* [retval][out] */ ITCallInfo **ppCallInfo) = 0;
  1576.         
  1577.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallHub( 
  1578.             /* [retval][out] */ ITCallHub **ppCallHub) = 0;
  1579.         
  1580.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EventCode( 
  1581.             /* [retval][out] */ long *plEventCode) = 0;
  1582.         
  1583.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EventInterface( 
  1584.             /* [retval][out] */ IDispatch **pEventInterface) = 0;
  1585.         
  1586.     };
  1587.     
  1588. #else  /* C style interface */
  1589.     typedef struct ITPrivateEventVtbl
  1590.     {
  1591.         BEGIN_INTERFACE
  1592.         
  1593.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1594.             ITPrivateEvent * This,
  1595.             /* [in] */ REFIID riid,
  1596.             /* [iid_is][out] */ void **ppvObject);
  1597.         
  1598.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1599.             ITPrivateEvent * This);
  1600.         
  1601.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1602.             ITPrivateEvent * This);
  1603.         
  1604.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1605.             ITPrivateEvent * This,
  1606.             /* [out] */ UINT *pctinfo);
  1607.         
  1608.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1609.             ITPrivateEvent * This,
  1610.             /* [in] */ UINT iTInfo,
  1611.             /* [in] */ LCID lcid,
  1612.             /* [out] */ ITypeInfo **ppTInfo);
  1613.         
  1614.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1615.             ITPrivateEvent * This,
  1616.             /* [in] */ REFIID riid,
  1617.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1618.             /* [in] */ UINT cNames,
  1619.             /* [in] */ LCID lcid,
  1620.             /* [size_is][out] */ DISPID *rgDispId);
  1621.         
  1622.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1623.             ITPrivateEvent * This,
  1624.             /* [in] */ DISPID dispIdMember,
  1625.             /* [in] */ REFIID riid,
  1626.             /* [in] */ LCID lcid,
  1627.             /* [in] */ WORD wFlags,
  1628.             /* [out][in] */ DISPPARAMS *pDispParams,
  1629.             /* [out] */ VARIANT *pVarResult,
  1630.             /* [out] */ EXCEPINFO *pExcepInfo,
  1631.             /* [out] */ UINT *puArgErr);
  1632.         
  1633.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Address )( 
  1634.             ITPrivateEvent * This,
  1635.             /* [retval][out] */ ITAddress **ppAddress);
  1636.         
  1637.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Call )( 
  1638.             ITPrivateEvent * This,
  1639.             /* [retval][out] */ ITCallInfo **ppCallInfo);
  1640.         
  1641.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallHub )( 
  1642.             ITPrivateEvent * This,
  1643.             /* [retval][out] */ ITCallHub **ppCallHub);
  1644.         
  1645.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EventCode )( 
  1646.             ITPrivateEvent * This,
  1647.             /* [retval][out] */ long *plEventCode);
  1648.         
  1649.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EventInterface )( 
  1650.             ITPrivateEvent * This,
  1651.             /* [retval][out] */ IDispatch **pEventInterface);
  1652.         
  1653.         END_INTERFACE
  1654.     } ITPrivateEventVtbl;
  1655.     interface ITPrivateEvent
  1656.     {
  1657.         CONST_VTBL struct ITPrivateEventVtbl *lpVtbl;
  1658.     };
  1659.     
  1660. #ifdef COBJMACROS
  1661. #define ITPrivateEvent_QueryInterface(This,riid,ppvObject)
  1662.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1663. #define ITPrivateEvent_AddRef(This)
  1664.     (This)->lpVtbl -> AddRef(This)
  1665. #define ITPrivateEvent_Release(This)
  1666.     (This)->lpVtbl -> Release(This)
  1667. #define ITPrivateEvent_GetTypeInfoCount(This,pctinfo)
  1668.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1669. #define ITPrivateEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1670.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1671. #define ITPrivateEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1672.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1673. #define ITPrivateEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1674.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1675. #define ITPrivateEvent_get_Address(This,ppAddress)
  1676.     (This)->lpVtbl -> get_Address(This,ppAddress)
  1677. #define ITPrivateEvent_get_Call(This,ppCallInfo)
  1678.     (This)->lpVtbl -> get_Call(This,ppCallInfo)
  1679. #define ITPrivateEvent_get_CallHub(This,ppCallHub)
  1680.     (This)->lpVtbl -> get_CallHub(This,ppCallHub)
  1681. #define ITPrivateEvent_get_EventCode(This,plEventCode)
  1682.     (This)->lpVtbl -> get_EventCode(This,plEventCode)
  1683. #define ITPrivateEvent_get_EventInterface(This,pEventInterface)
  1684.     (This)->lpVtbl -> get_EventInterface(This,pEventInterface)
  1685. #endif /* COBJMACROS */
  1686. #endif  /* C style interface */
  1687. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPrivateEvent_get_Address_Proxy( 
  1688.     ITPrivateEvent * This,
  1689.     /* [retval][out] */ ITAddress **ppAddress);
  1690. void __RPC_STUB ITPrivateEvent_get_Address_Stub(
  1691.     IRpcStubBuffer *This,
  1692.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1693.     PRPC_MESSAGE _pRpcMessage,
  1694.     DWORD *_pdwStubPhase);
  1695. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPrivateEvent_get_Call_Proxy( 
  1696.     ITPrivateEvent * This,
  1697.     /* [retval][out] */ ITCallInfo **ppCallInfo);
  1698. void __RPC_STUB ITPrivateEvent_get_Call_Stub(
  1699.     IRpcStubBuffer *This,
  1700.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1701.     PRPC_MESSAGE _pRpcMessage,
  1702.     DWORD *_pdwStubPhase);
  1703. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPrivateEvent_get_CallHub_Proxy( 
  1704.     ITPrivateEvent * This,
  1705.     /* [retval][out] */ ITCallHub **ppCallHub);
  1706. void __RPC_STUB ITPrivateEvent_get_CallHub_Stub(
  1707.     IRpcStubBuffer *This,
  1708.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1709.     PRPC_MESSAGE _pRpcMessage,
  1710.     DWORD *_pdwStubPhase);
  1711. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPrivateEvent_get_EventCode_Proxy( 
  1712.     ITPrivateEvent * This,
  1713.     /* [retval][out] */ long *plEventCode);
  1714. void __RPC_STUB ITPrivateEvent_get_EventCode_Stub(
  1715.     IRpcStubBuffer *This,
  1716.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1717.     PRPC_MESSAGE _pRpcMessage,
  1718.     DWORD *_pdwStubPhase);
  1719. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPrivateEvent_get_EventInterface_Proxy( 
  1720.     ITPrivateEvent * This,
  1721.     /* [retval][out] */ IDispatch **pEventInterface);
  1722. void __RPC_STUB ITPrivateEvent_get_EventInterface_Stub(
  1723.     IRpcStubBuffer *This,
  1724.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1725.     PRPC_MESSAGE _pRpcMessage,
  1726.     DWORD *_pdwStubPhase);
  1727. #endif  /* __ITPrivateEvent_INTERFACE_DEFINED__ */
  1728. #ifndef __ITLegacyAddressMediaControl2_INTERFACE_DEFINED__
  1729. #define __ITLegacyAddressMediaControl2_INTERFACE_DEFINED__
  1730. /* interface ITLegacyAddressMediaControl2 */
  1731. /* [object][unique][hidden][helpstring][uuid] */ 
  1732. EXTERN_C const IID IID_ITLegacyAddressMediaControl2;
  1733. #if defined(__cplusplus) && !defined(CINTERFACE)
  1734.     
  1735.     MIDL_INTERFACE("B0EE512B-A531-409e-9DD9-4099FE86C738")
  1736.     ITLegacyAddressMediaControl2 : public ITLegacyAddressMediaControl
  1737.     {
  1738.     public:
  1739.         virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ConfigDialog( 
  1740.             /* [in] */ HWND hwndOwner,
  1741.             /* [in] */ BSTR pDeviceClass) = 0;
  1742.         
  1743.         virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ConfigDialogEdit( 
  1744.             /* [in] */ HWND hwndOwner,
  1745.             /* [in] */ BSTR pDeviceClass,
  1746.             /* [in] */ DWORD dwSizeIn,
  1747.             /* [size_is][in] */ BYTE *pDeviceConfigIn,
  1748.             /* [out] */ DWORD *pdwSizeOut,
  1749.             /* [size_is][size_is][out] */ BYTE **ppDeviceConfigOut) = 0;
  1750.         
  1751.     };
  1752.     
  1753. #else  /* C style interface */
  1754.     typedef struct ITLegacyAddressMediaControl2Vtbl
  1755.     {
  1756.         BEGIN_INTERFACE
  1757.         
  1758.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1759.             ITLegacyAddressMediaControl2 * This,
  1760.             /* [in] */ REFIID riid,
  1761.             /* [iid_is][out] */ void **ppvObject);
  1762.         
  1763.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1764.             ITLegacyAddressMediaControl2 * This);
  1765.         
  1766.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1767.             ITLegacyAddressMediaControl2 * This);
  1768.         
  1769.         /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *GetID )( 
  1770.             ITLegacyAddressMediaControl2 * This,
  1771.             /* [in] */ BSTR pDeviceClass,
  1772.             /* [out] */ DWORD *pdwSize,
  1773.             /* [size_is][size_is][out] */ BYTE **ppDeviceID);
  1774.         
  1775.         /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *GetDevConfig )( 
  1776.             ITLegacyAddressMediaControl2 * This,
  1777.             /* [in] */ BSTR pDeviceClass,
  1778.             /* [out] */ DWORD *pdwSize,
  1779.             /* [size_is][size_is][out] */ BYTE **ppDeviceConfig);
  1780.         
  1781.         /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *SetDevConfig )( 
  1782.             ITLegacyAddressMediaControl2 * This,
  1783.             /* [in] */ BSTR pDeviceClass,
  1784.             /* [in] */ DWORD dwSize,
  1785.             /* [size_is][in] */ BYTE *pDeviceConfig);
  1786.         
  1787.         /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *ConfigDialog )( 
  1788.             ITLegacyAddressMediaControl2 * This,
  1789.             /* [in] */ HWND hwndOwner,
  1790.             /* [in] */ BSTR pDeviceClass);
  1791.         
  1792.         /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *ConfigDialogEdit )( 
  1793.             ITLegacyAddressMediaControl2 * This,
  1794.             /* [in] */ HWND hwndOwner,
  1795.             /* [in] */ BSTR pDeviceClass,
  1796.             /* [in] */ DWORD dwSizeIn,
  1797.             /* [size_is][in] */ BYTE *pDeviceConfigIn,
  1798.             /* [out] */ DWORD *pdwSizeOut,
  1799.             /* [size_is][size_is][out] */ BYTE **ppDeviceConfigOut);
  1800.         
  1801.         END_INTERFACE
  1802.     } ITLegacyAddressMediaControl2Vtbl;
  1803.     interface ITLegacyAddressMediaControl2
  1804.     {
  1805.         CONST_VTBL struct ITLegacyAddressMediaControl2Vtbl *lpVtbl;
  1806.     };
  1807.     
  1808. #ifdef COBJMACROS
  1809. #define ITLegacyAddressMediaControl2_QueryInterface(This,riid,ppvObject)
  1810.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1811. #define ITLegacyAddressMediaControl2_AddRef(This)
  1812.     (This)->lpVtbl -> AddRef(This)
  1813. #define ITLegacyAddressMediaControl2_Release(This)
  1814.     (This)->lpVtbl -> Release(This)
  1815. #define ITLegacyAddressMediaControl2_GetID(This,pDeviceClass,pdwSize,ppDeviceID)
  1816.     (This)->lpVtbl -> GetID(This,pDeviceClass,pdwSize,ppDeviceID)
  1817. #define ITLegacyAddressMediaControl2_GetDevConfig(This,pDeviceClass,pdwSize,ppDeviceConfig)
  1818.     (This)->lpVtbl -> GetDevConfig(This,pDeviceClass,pdwSize,ppDeviceConfig)
  1819. #define ITLegacyAddressMediaControl2_SetDevConfig(This,pDeviceClass,dwSize,pDeviceConfig)
  1820.     (This)->lpVtbl -> SetDevConfig(This,pDeviceClass,dwSize,pDeviceConfig)
  1821. #define ITLegacyAddressMediaControl2_ConfigDialog(This,hwndOwner,pDeviceClass)
  1822.     (This)->lpVtbl -> ConfigDialog(This,hwndOwner,pDeviceClass)
  1823. #define ITLegacyAddressMediaControl2_ConfigDialogEdit(This,hwndOwner,pDeviceClass,dwSizeIn,pDeviceConfigIn,pdwSizeOut,ppDeviceConfigOut)
  1824.     (This)->lpVtbl -> ConfigDialogEdit(This,hwndOwner,pDeviceClass,dwSizeIn,pDeviceConfigIn,pdwSizeOut,ppDeviceConfigOut)
  1825. #endif /* COBJMACROS */
  1826. #endif  /* C style interface */
  1827. /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITLegacyAddressMediaControl2_ConfigDialog_Proxy( 
  1828.     ITLegacyAddressMediaControl2 * This,
  1829.     /* [in] */ HWND hwndOwner,
  1830.     /* [in] */ BSTR pDeviceClass);
  1831. void __RPC_STUB ITLegacyAddressMediaControl2_ConfigDialog_Stub(
  1832.     IRpcStubBuffer *This,
  1833.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1834.     PRPC_MESSAGE _pRpcMessage,
  1835.     DWORD *_pdwStubPhase);
  1836. /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITLegacyAddressMediaControl2_ConfigDialogEdit_Proxy( 
  1837.     ITLegacyAddressMediaControl2 * This,
  1838.     /* [in] */ HWND hwndOwner,
  1839.     /* [in] */ BSTR pDeviceClass,
  1840.     /* [in] */ DWORD dwSizeIn,
  1841.     /* [size_is][in] */ BYTE *pDeviceConfigIn,
  1842.     /* [out] */ DWORD *pdwSizeOut,
  1843.     /* [size_is][size_is][out] */ BYTE **ppDeviceConfigOut);
  1844. void __RPC_STUB ITLegacyAddressMediaControl2_ConfigDialogEdit_Stub(
  1845.     IRpcStubBuffer *This,
  1846.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1847.     PRPC_MESSAGE _pRpcMessage,
  1848.     DWORD *_pdwStubPhase);
  1849. #endif  /* __ITLegacyAddressMediaControl2_INTERFACE_DEFINED__ */
  1850. #ifndef __ITLegacyCallMediaControl_INTERFACE_DEFINED__
  1851. #define __ITLegacyCallMediaControl_INTERFACE_DEFINED__
  1852. /* interface ITLegacyCallMediaControl */
  1853. /* [object][unique][dual][helpstring][uuid] */ 
  1854. EXTERN_C const IID IID_ITLegacyCallMediaControl;
  1855. #if defined(__cplusplus) && !defined(CINTERFACE)
  1856.     
  1857.     MIDL_INTERFACE("d624582f-cc23-4436-b8a5-47c625c8045d")
  1858.     ITLegacyCallMediaControl : public IDispatch
  1859.     {
  1860.     public:
  1861.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DetectDigits( 
  1862.             /* [in] */ TAPI_DIGITMODE DigitMode) = 0;
  1863.         
  1864.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GenerateDigits( 
  1865.             /* [in] */ BSTR pDigits,
  1866.             /* [in] */ TAPI_DIGITMODE DigitMode) = 0;
  1867.         
  1868.         virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE GetID( 
  1869.             /* [in] */ BSTR pDeviceClass,
  1870.             /* [out] */ DWORD *pdwSize,
  1871.             /* [size_is][size_is][out] */ BYTE **ppDeviceID) = 0;
  1872.         
  1873.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetMediaType( 
  1874.             /* [in] */ long lMediaType) = 0;
  1875.         
  1876.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE MonitorMedia( 
  1877.             /* [in] */ long lMediaType) = 0;
  1878.         
  1879.     };
  1880.     
  1881. #else  /* C style interface */
  1882.     typedef struct ITLegacyCallMediaControlVtbl
  1883.     {
  1884.         BEGIN_INTERFACE
  1885.         
  1886.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1887.             ITLegacyCallMediaControl * This,
  1888.             /* [in] */ REFIID riid,
  1889.             /* [iid_is][out] */ void **ppvObject);
  1890.         
  1891.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1892.             ITLegacyCallMediaControl * This);
  1893.         
  1894.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1895.             ITLegacyCallMediaControl * This);
  1896.         
  1897.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1898.             ITLegacyCallMediaControl * This,
  1899.             /* [out] */ UINT *pctinfo);
  1900.         
  1901.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1902.             ITLegacyCallMediaControl * This,
  1903.             /* [in] */ UINT iTInfo,
  1904.             /* [in] */ LCID lcid,
  1905.             /* [out] */ ITypeInfo **ppTInfo);
  1906.         
  1907.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1908.             ITLegacyCallMediaControl * This,
  1909.             /* [in] */ REFIID riid,
  1910.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1911.             /* [in] */ UINT cNames,
  1912.             /* [in] */ LCID lcid,
  1913.             /* [size_is][out] */ DISPID *rgDispId);
  1914.         
  1915.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1916.             ITLegacyCallMediaControl * This,
  1917.             /* [in] */ DISPID dispIdMember,
  1918.             /* [in] */ REFIID riid,
  1919.             /* [in] */ LCID lcid,
  1920.             /* [in] */ WORD wFlags,
  1921.             /* [out][in] */ DISPPARAMS *pDispParams,
  1922.             /* [out] */ VARIANT *pVarResult,
  1923.             /* [out] */ EXCEPINFO *pExcepInfo,
  1924.             /* [out] */ UINT *puArgErr);
  1925.         
  1926.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DetectDigits )( 
  1927.             ITLegacyCallMediaControl * This,
  1928.             /* [in] */ TAPI_DIGITMODE DigitMode);
  1929.         
  1930.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GenerateDigits )( 
  1931.             ITLegacyCallMediaControl * This,
  1932.             /* [in] */ BSTR pDigits,
  1933.             /* [in] */ TAPI_DIGITMODE DigitMode);
  1934.         
  1935.         /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *GetID )( 
  1936.             ITLegacyCallMediaControl * This,
  1937.             /* [in] */ BSTR pDeviceClass,
  1938.             /* [out] */ DWORD *pdwSize,
  1939.             /* [size_is][size_is][out] */ BYTE **ppDeviceID);
  1940.         
  1941.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetMediaType )( 
  1942.             ITLegacyCallMediaControl * This,
  1943.             /* [in] */ long lMediaType);
  1944.         
  1945.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *MonitorMedia )( 
  1946.             ITLegacyCallMediaControl * This,
  1947.             /* [in] */ long lMediaType);
  1948.         
  1949.         END_INTERFACE
  1950.     } ITLegacyCallMediaControlVtbl;
  1951.     interface ITLegacyCallMediaControl
  1952.     {
  1953.         CONST_VTBL struct ITLegacyCallMediaControlVtbl *lpVtbl;
  1954.     };
  1955.     
  1956. #ifdef COBJMACROS
  1957. #define ITLegacyCallMediaControl_QueryInterface(This,riid,ppvObject)
  1958.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1959. #define ITLegacyCallMediaControl_AddRef(This)
  1960.     (This)->lpVtbl -> AddRef(This)
  1961. #define ITLegacyCallMediaControl_Release(This)
  1962.     (This)->lpVtbl -> Release(This)
  1963. #define ITLegacyCallMediaControl_GetTypeInfoCount(This,pctinfo)
  1964.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1965. #define ITLegacyCallMediaControl_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1966.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1967. #define ITLegacyCallMediaControl_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1968.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1969. #define ITLegacyCallMediaControl_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1970.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1971. #define ITLegacyCallMediaControl_DetectDigits(This,DigitMode)
  1972.     (This)->lpVtbl -> DetectDigits(This,DigitMode)
  1973. #define ITLegacyCallMediaControl_GenerateDigits(This,pDigits,DigitMode)
  1974.     (This)->lpVtbl -> GenerateDigits(This,pDigits,DigitMode)
  1975. #define ITLegacyCallMediaControl_GetID(This,pDeviceClass,pdwSize,ppDeviceID)
  1976.     (This)->lpVtbl -> GetID(This,pDeviceClass,pdwSize,ppDeviceID)
  1977. #define ITLegacyCallMediaControl_SetMediaType(This,lMediaType)
  1978.     (This)->lpVtbl -> SetMediaType(This,lMediaType)
  1979. #define ITLegacyCallMediaControl_MonitorMedia(This,lMediaType)
  1980.     (This)->lpVtbl -> MonitorMedia(This,lMediaType)
  1981. #endif /* COBJMACROS */
  1982. #endif  /* C style interface */
  1983. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITLegacyCallMediaControl_DetectDigits_Proxy( 
  1984.     ITLegacyCallMediaControl * This,
  1985.     /* [in] */ TAPI_DIGITMODE DigitMode);
  1986. void __RPC_STUB ITLegacyCallMediaControl_DetectDigits_Stub(
  1987.     IRpcStubBuffer *This,
  1988.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1989.     PRPC_MESSAGE _pRpcMessage,
  1990.     DWORD *_pdwStubPhase);
  1991. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITLegacyCallMediaControl_GenerateDigits_Proxy( 
  1992.     ITLegacyCallMediaControl * This,
  1993.     /* [in] */ BSTR pDigits,
  1994.     /* [in] */ TAPI_DIGITMODE DigitMode);
  1995. void __RPC_STUB ITLegacyCallMediaControl_GenerateDigits_Stub(
  1996.     IRpcStubBuffer *This,
  1997.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1998.     PRPC_MESSAGE _pRpcMessage,
  1999.     DWORD *_pdwStubPhase);
  2000. /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITLegacyCallMediaControl_GetID_Proxy( 
  2001.     ITLegacyCallMediaControl * This,
  2002.     /* [in] */ BSTR pDeviceClass,
  2003.     /* [out] */ DWORD *pdwSize,
  2004.     /* [size_is][size_is][out] */ BYTE **ppDeviceID);
  2005. void __RPC_STUB ITLegacyCallMediaControl_GetID_Stub(
  2006.     IRpcStubBuffer *This,
  2007.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2008.     PRPC_MESSAGE _pRpcMessage,
  2009.     DWORD *_pdwStubPhase);
  2010. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITLegacyCallMediaControl_SetMediaType_Proxy( 
  2011.     ITLegacyCallMediaControl * This,
  2012.     /* [in] */ long lMediaType);
  2013. void __RPC_STUB ITLegacyCallMediaControl_SetMediaType_Stub(
  2014.     IRpcStubBuffer *This,
  2015.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2016.     PRPC_MESSAGE _pRpcMessage,
  2017.     DWORD *_pdwStubPhase);
  2018. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITLegacyCallMediaControl_MonitorMedia_Proxy( 
  2019.     ITLegacyCallMediaControl * This,
  2020.     /* [in] */ long lMediaType);
  2021. void __RPC_STUB ITLegacyCallMediaControl_MonitorMedia_Stub(
  2022.     IRpcStubBuffer *This,
  2023.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2024.     PRPC_MESSAGE _pRpcMessage,
  2025.     DWORD *_pdwStubPhase);
  2026. #endif  /* __ITLegacyCallMediaControl_INTERFACE_DEFINED__ */
  2027. #ifndef __ITLegacyCallMediaControl2_INTERFACE_DEFINED__
  2028. #define __ITLegacyCallMediaControl2_INTERFACE_DEFINED__
  2029. /* interface ITLegacyCallMediaControl2 */
  2030. /* [object][dual][helpstring][uuid] */ 
  2031. EXTERN_C const IID IID_ITLegacyCallMediaControl2;
  2032. #if defined(__cplusplus) && !defined(CINTERFACE)
  2033.     
  2034.     MIDL_INTERFACE("57CA332D-7BC2-44f1-A60C-936FE8D7CE73")
  2035.     ITLegacyCallMediaControl2 : public ITLegacyCallMediaControl
  2036.     {
  2037.     public:
  2038.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GenerateDigits2( 
  2039.             /* [in] */ BSTR pDigits,
  2040.             /* [in] */ TAPI_DIGITMODE DigitMode,
  2041.             /* [in] */ long lDuration) = 0;
  2042.         
  2043.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GatherDigits( 
  2044.             /* [in] */ TAPI_DIGITMODE DigitMode,
  2045.             /* [in] */ long lNumDigits,
  2046.             /* [in] */ BSTR pTerminationDigits,
  2047.             /* [in] */ long lFirstDigitTimeout,
  2048.             /* [in] */ long lInterDigitTimeout) = 0;
  2049.         
  2050.         virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE DetectTones( 
  2051.             /* [in] */ TAPI_DETECTTONE *pToneList,
  2052.             /* [in] */ long lNumTones) = 0;
  2053.         
  2054.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DetectTonesByCollection( 
  2055.             /* [in] */ ITCollection2 *pDetectToneCollection) = 0;
  2056.         
  2057.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GenerateTone( 
  2058.             /* [in] */ TAPI_TONEMODE ToneMode,
  2059.             /* [in] */ long lDuration) = 0;
  2060.         
  2061.         virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE GenerateCustomTones( 
  2062.             /* [in] */ TAPI_CUSTOMTONE *pToneList,
  2063.             /* [in] */ long lNumTones,
  2064.             /* [in] */ long lDuration) = 0;
  2065.         
  2066.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GenerateCustomTonesByCollection( 
  2067.             /* [in] */ ITCollection2 *pCustomToneCollection,
  2068.             /* [in] */ long lDuration) = 0;
  2069.         
  2070.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateDetectToneObject( 
  2071.             /* [retval][out] */ ITDetectTone **ppDetectTone) = 0;
  2072.         
  2073.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateCustomToneObject( 
  2074.             /* [retval][out] */ ITCustomTone **ppCustomTone) = 0;
  2075.         
  2076.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetIDAsVariant( 
  2077.             /* [in] */ BSTR bstrDeviceClass,
  2078.             /* [retval][out] */ VARIANT *pVarDeviceID) = 0;
  2079.         
  2080.     };
  2081.     
  2082. #else  /* C style interface */
  2083.     typedef struct ITLegacyCallMediaControl2Vtbl
  2084.     {
  2085.         BEGIN_INTERFACE
  2086.         
  2087.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2088.             ITLegacyCallMediaControl2 * This,
  2089.             /* [in] */ REFIID riid,
  2090.             /* [iid_is][out] */ void **ppvObject);
  2091.         
  2092.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2093.             ITLegacyCallMediaControl2 * This);
  2094.         
  2095.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2096.             ITLegacyCallMediaControl2 * This);
  2097.         
  2098.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  2099.             ITLegacyCallMediaControl2 * This,
  2100.             /* [out] */ UINT *pctinfo);
  2101.         
  2102.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  2103.             ITLegacyCallMediaControl2 * This,
  2104.             /* [in] */ UINT iTInfo,
  2105.             /* [in] */ LCID lcid,
  2106.             /* [out] */ ITypeInfo **ppTInfo);
  2107.         
  2108.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  2109.             ITLegacyCallMediaControl2 * This,
  2110.             /* [in] */ REFIID riid,
  2111.             /* [size_is][in] */ LPOLESTR *rgszNames,
  2112.             /* [in] */ UINT cNames,
  2113.             /* [in] */ LCID lcid,
  2114.             /* [size_is][out] */ DISPID *rgDispId);
  2115.         
  2116.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  2117.             ITLegacyCallMediaControl2 * This,
  2118.             /* [in] */ DISPID dispIdMember,
  2119.             /* [in] */ REFIID riid,
  2120.             /* [in] */ LCID lcid,
  2121.             /* [in] */ WORD wFlags,
  2122.             /* [out][in] */ DISPPARAMS *pDispParams,
  2123.             /* [out] */ VARIANT *pVarResult,
  2124.             /* [out] */ EXCEPINFO *pExcepInfo,
  2125.             /* [out] */ UINT *puArgErr);
  2126.         
  2127.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DetectDigits )( 
  2128.             ITLegacyCallMediaControl2 * This,
  2129.             /* [in] */ TAPI_DIGITMODE DigitMode);
  2130.         
  2131.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GenerateDigits )( 
  2132.             ITLegacyCallMediaControl2 * This,
  2133.             /* [in] */ BSTR pDigits,
  2134.             /* [in] */ TAPI_DIGITMODE DigitMode);
  2135.         
  2136.         /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *GetID )( 
  2137.             ITLegacyCallMediaControl2 * This,
  2138.             /* [in] */ BSTR pDeviceClass,
  2139.             /* [out] */ DWORD *pdwSize,
  2140.             /* [size_is][size_is][out] */ BYTE **ppDeviceID);
  2141.         
  2142.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetMediaType )( 
  2143.             ITLegacyCallMediaControl2 * This,
  2144.             /* [in] */ long lMediaType);
  2145.         
  2146.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *MonitorMedia )( 
  2147.             ITLegacyCallMediaControl2 * This,
  2148.             /* [in] */ long lMediaType);
  2149.         
  2150.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GenerateDigits2 )( 
  2151.             ITLegacyCallMediaControl2 * This,
  2152.             /* [in] */ BSTR pDigits,
  2153.             /* [in] */ TAPI_DIGITMODE DigitMode,
  2154.             /* [in] */ long lDuration);
  2155.         
  2156.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GatherDigits )( 
  2157.             ITLegacyCallMediaControl2 * This,
  2158.             /* [in] */ TAPI_DIGITMODE DigitMode,
  2159.             /* [in] */ long lNumDigits,
  2160.             /* [in] */ BSTR pTerminationDigits,
  2161.             /* [in] */ long lFirstDigitTimeout,
  2162.             /* [in] */ long lInterDigitTimeout);
  2163.         
  2164.         /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *DetectTones )( 
  2165.             ITLegacyCallMediaControl2 * This,
  2166.             /* [in] */ TAPI_DETECTTONE *pToneList,
  2167.             /* [in] */ long lNumTones);
  2168.         
  2169.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DetectTonesByCollection )( 
  2170.             ITLegacyCallMediaControl2 * This,
  2171.             /* [in] */ ITCollection2 *pDetectToneCollection);
  2172.         
  2173.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GenerateTone )( 
  2174.             ITLegacyCallMediaControl2 * This,
  2175.             /* [in] */ TAPI_TONEMODE ToneMode,
  2176.             /* [in] */ long lDuration);
  2177.         
  2178.         /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *GenerateCustomTones )( 
  2179.             ITLegacyCallMediaControl2 * This,
  2180.             /* [in] */ TAPI_CUSTOMTONE *pToneList,
  2181.             /* [in] */ long lNumTones,
  2182.             /* [in] */ long lDuration);
  2183.         
  2184.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GenerateCustomTonesByCollection )( 
  2185.             ITLegacyCallMediaControl2 * This,
  2186.             /* [in] */ ITCollection2 *pCustomToneCollection,
  2187.             /* [in] */ long lDuration);
  2188.         
  2189.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateDetectToneObject )( 
  2190.             ITLegacyCallMediaControl2 * This,
  2191.             /* [retval][out] */ ITDetectTone **ppDetectTone);
  2192.         
  2193.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateCustomToneObject )( 
  2194.             ITLegacyCallMediaControl2 * This,
  2195.             /* [retval][out] */ ITCustomTone **ppCustomTone);
  2196.         
  2197.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetIDAsVariant )( 
  2198.             ITLegacyCallMediaControl2 * This,
  2199.             /* [in] */ BSTR bstrDeviceClass,
  2200.             /* [retval][out] */ VARIANT *pVarDeviceID);
  2201.         
  2202.         END_INTERFACE
  2203.     } ITLegacyCallMediaControl2Vtbl;
  2204.     interface ITLegacyCallMediaControl2
  2205.     {
  2206.         CONST_VTBL struct ITLegacyCallMediaControl2Vtbl *lpVtbl;
  2207.     };
  2208.     
  2209. #ifdef COBJMACROS
  2210. #define ITLegacyCallMediaControl2_QueryInterface(This,riid,ppvObject)
  2211.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2212. #define ITLegacyCallMediaControl2_AddRef(This)
  2213.     (This)->lpVtbl -> AddRef(This)
  2214. #define ITLegacyCallMediaControl2_Release(This)
  2215.     (This)->lpVtbl -> Release(This)
  2216. #define ITLegacyCallMediaControl2_GetTypeInfoCount(This,pctinfo)
  2217.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2218. #define ITLegacyCallMediaControl2_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2219.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2220. #define ITLegacyCallMediaControl2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2221.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2222. #define ITLegacyCallMediaControl2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2223.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2224. #define ITLegacyCallMediaControl2_DetectDigits(This,DigitMode)
  2225.     (This)->lpVtbl -> DetectDigits(This,DigitMode)
  2226. #define ITLegacyCallMediaControl2_GenerateDigits(This,pDigits,DigitMode)
  2227.     (This)->lpVtbl -> GenerateDigits(This,pDigits,DigitMode)
  2228. #define ITLegacyCallMediaControl2_GetID(This,pDeviceClass,pdwSize,ppDeviceID)
  2229.     (This)->lpVtbl -> GetID(This,pDeviceClass,pdwSize,ppDeviceID)
  2230. #define ITLegacyCallMediaControl2_SetMediaType(This,lMediaType)
  2231.     (This)->lpVtbl -> SetMediaType(This,lMediaType)
  2232. #define ITLegacyCallMediaControl2_MonitorMedia(This,lMediaType)
  2233.     (This)->lpVtbl -> MonitorMedia(This,lMediaType)
  2234. #define ITLegacyCallMediaControl2_GenerateDigits2(This,pDigits,DigitMode,lDuration)
  2235.     (This)->lpVtbl -> GenerateDigits2(This,pDigits,DigitMode,lDuration)
  2236. #define ITLegacyCallMediaControl2_GatherDigits(This,DigitMode,lNumDigits,pTerminationDigits,lFirstDigitTimeout,lInterDigitTimeout)
  2237.     (This)->lpVtbl -> GatherDigits(This,DigitMode,lNumDigits,pTerminationDigits,lFirstDigitTimeout,lInterDigitTimeout)
  2238. #define ITLegacyCallMediaControl2_DetectTones(This,pToneList,lNumTones)
  2239.     (This)->lpVtbl -> DetectTones(This,pToneList,lNumTones)
  2240. #define ITLegacyCallMediaControl2_DetectTonesByCollection(This,pDetectToneCollection)
  2241.     (This)->lpVtbl -> DetectTonesByCollection(This,pDetectToneCollection)
  2242. #define ITLegacyCallMediaControl2_GenerateTone(This,ToneMode,lDuration)
  2243.     (This)->lpVtbl -> GenerateTone(This,ToneMode,lDuration)
  2244. #define ITLegacyCallMediaControl2_GenerateCustomTones(This,pToneList,lNumTones,lDuration)
  2245.     (This)->lpVtbl -> GenerateCustomTones(This,pToneList,lNumTones,lDuration)
  2246. #define ITLegacyCallMediaControl2_GenerateCustomTonesByCollection(This,pCustomToneCollection,lDuration)
  2247.     (This)->lpVtbl -> GenerateCustomTonesByCollection(This,pCustomToneCollection,lDuration)
  2248. #define ITLegacyCallMediaControl2_CreateDetectToneObject(This,ppDetectTone)
  2249.     (This)->lpVtbl -> CreateDetectToneObject(This,ppDetectTone)
  2250. #define ITLegacyCallMediaControl2_CreateCustomToneObject(This,ppCustomTone)
  2251.     (This)->lpVtbl -> CreateCustomToneObject(This,ppCustomTone)
  2252. #define ITLegacyCallMediaControl2_GetIDAsVariant(This,bstrDeviceClass,pVarDeviceID)
  2253.     (This)->lpVtbl -> GetIDAsVariant(This,bstrDeviceClass,pVarDeviceID)
  2254. #endif /* COBJMACROS */
  2255. #endif  /* C style interface */
  2256. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITLegacyCallMediaControl2_GenerateDigits2_Proxy( 
  2257.     ITLegacyCallMediaControl2 * This,
  2258.     /* [in] */ BSTR pDigits,
  2259.     /* [in] */ TAPI_DIGITMODE DigitMode,
  2260.     /* [in] */ long lDuration);
  2261. void __RPC_STUB ITLegacyCallMediaControl2_GenerateDigits2_Stub(
  2262.     IRpcStubBuffer *This,
  2263.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2264.     PRPC_MESSAGE _pRpcMessage,
  2265.     DWORD *_pdwStubPhase);
  2266. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITLegacyCallMediaControl2_GatherDigits_Proxy( 
  2267.     ITLegacyCallMediaControl2 * This,
  2268.     /* [in] */ TAPI_DIGITMODE DigitMode,
  2269.     /* [in] */ long lNumDigits,
  2270.     /* [in] */ BSTR pTerminationDigits,
  2271.     /* [in] */ long lFirstDigitTimeout,
  2272.     /* [in] */ long lInterDigitTimeout);
  2273. void __RPC_STUB ITLegacyCallMediaControl2_GatherDigits_Stub(
  2274.     IRpcStubBuffer *This,
  2275.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2276.     PRPC_MESSAGE _pRpcMessage,
  2277.     DWORD *_pdwStubPhase);
  2278. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITLegacyCallMediaControl2_DetectTones_Proxy( 
  2279.     ITLegacyCallMediaControl2 * This,
  2280.     /* [in] */ TAPI_DETECTTONE *pToneList,
  2281.     /* [in] */ long lNumTones);
  2282. void __RPC_STUB ITLegacyCallMediaControl2_DetectTones_Stub(
  2283.     IRpcStubBuffer *This,
  2284.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2285.     PRPC_MESSAGE _pRpcMessage,
  2286.     DWORD *_pdwStubPhase);
  2287. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITLegacyCallMediaControl2_DetectTonesByCollection_Proxy( 
  2288.     ITLegacyCallMediaControl2 * This,
  2289.     /* [in] */ ITCollection2 *pDetectToneCollection);
  2290. void __RPC_STUB ITLegacyCallMediaControl2_DetectTonesByCollection_Stub(
  2291.     IRpcStubBuffer *This,
  2292.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2293.     PRPC_MESSAGE _pRpcMessage,
  2294.     DWORD *_pdwStubPhase);
  2295. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITLegacyCallMediaControl2_GenerateTone_Proxy( 
  2296.     ITLegacyCallMediaControl2 * This,
  2297.     /* [in] */ TAPI_TONEMODE ToneMode,
  2298.     /* [in] */ long lDuration);
  2299. void __RPC_STUB ITLegacyCallMediaControl2_GenerateTone_Stub(
  2300.     IRpcStubBuffer *This,
  2301.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2302.     PRPC_MESSAGE _pRpcMessage,
  2303.     DWORD *_pdwStubPhase);
  2304. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITLegacyCallMediaControl2_GenerateCustomTones_Proxy( 
  2305.     ITLegacyCallMediaControl2 * This,
  2306.     /* [in] */ TAPI_CUSTOMTONE *pToneList,
  2307.     /* [in] */ long lNumTones,
  2308.     /* [in] */ long lDuration);
  2309. void __RPC_STUB ITLegacyCallMediaControl2_GenerateCustomTones_Stub(
  2310.     IRpcStubBuffer *This,
  2311.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2312.     PRPC_MESSAGE _pRpcMessage,
  2313.     DWORD *_pdwStubPhase);
  2314. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITLegacyCallMediaControl2_GenerateCustomTonesByCollection_Proxy( 
  2315.     ITLegacyCallMediaControl2 * This,
  2316.     /* [in] */ ITCollection2 *pCustomToneCollection,
  2317.     /* [in] */ long lDuration);
  2318. void __RPC_STUB ITLegacyCallMediaControl2_GenerateCustomTonesByCollection_Stub(
  2319.     IRpcStubBuffer *This,
  2320.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2321.     PRPC_MESSAGE _pRpcMessage,
  2322.     DWORD *_pdwStubPhase);
  2323. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITLegacyCallMediaControl2_CreateDetectToneObject_Proxy( 
  2324.     ITLegacyCallMediaControl2 * This,
  2325.     /* [retval][out] */ ITDetectTone **ppDetectTone);
  2326. void __RPC_STUB ITLegacyCallMediaControl2_CreateDetectToneObject_Stub(
  2327.     IRpcStubBuffer *This,
  2328.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2329.     PRPC_MESSAGE _pRpcMessage,
  2330.     DWORD *_pdwStubPhase);
  2331. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITLegacyCallMediaControl2_CreateCustomToneObject_Proxy( 
  2332.     ITLegacyCallMediaControl2 * This,
  2333.     /* [retval][out] */ ITCustomTone **ppCustomTone);
  2334. void __RPC_STUB ITLegacyCallMediaControl2_CreateCustomToneObject_Stub(
  2335.     IRpcStubBuffer *This,
  2336.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2337.     PRPC_MESSAGE _pRpcMessage,
  2338.     DWORD *_pdwStubPhase);
  2339. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITLegacyCallMediaControl2_GetIDAsVariant_Proxy( 
  2340.     ITLegacyCallMediaControl2 * This,
  2341.     /* [in] */ BSTR bstrDeviceClass,
  2342.     /* [retval][out] */ VARIANT *pVarDeviceID);
  2343. void __RPC_STUB ITLegacyCallMediaControl2_GetIDAsVariant_Stub(
  2344.     IRpcStubBuffer *This,
  2345.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2346.     PRPC_MESSAGE _pRpcMessage,
  2347.     DWORD *_pdwStubPhase);
  2348. #endif  /* __ITLegacyCallMediaControl2_INTERFACE_DEFINED__ */
  2349. #ifndef __ITDetectTone_INTERFACE_DEFINED__
  2350. #define __ITDetectTone_INTERFACE_DEFINED__
  2351. /* interface ITDetectTone */
  2352. /* [object][dual][helpstring][uuid] */ 
  2353. EXTERN_C const IID IID_ITDetectTone;
  2354. #if defined(__cplusplus) && !defined(CINTERFACE)
  2355.     
  2356.     MIDL_INTERFACE("961F79BD-3097-49df-A1D6-909B77E89CA0")
  2357.     ITDetectTone : public IDispatch
  2358.     {
  2359.     public:
  2360.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AppSpecific( 
  2361.             /* [retval][out] */ long *plAppSpecific) = 0;
  2362.         
  2363.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AppSpecific( 
  2364.             /* [in] */ long lAppSpecific) = 0;
  2365.         
  2366.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Duration( 
  2367.             /* [retval][out] */ long *plDuration) = 0;
  2368.         
  2369.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Duration( 
  2370.             /* [in] */ long lDuration) = 0;
  2371.         
  2372.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Frequency( 
  2373.             /* [in] */ long Index,
  2374.             /* [retval][out] */ long *plFrequency) = 0;
  2375.         
  2376.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Frequency( 
  2377.             /* [in] */ long Index,
  2378.             /* [in] */ long lFrequency) = 0;
  2379.         
  2380.     };
  2381.     
  2382. #else  /* C style interface */
  2383.     typedef struct ITDetectToneVtbl
  2384.     {
  2385.         BEGIN_INTERFACE
  2386.         
  2387.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2388.             ITDetectTone * This,
  2389.             /* [in] */ REFIID riid,
  2390.             /* [iid_is][out] */ void **ppvObject);
  2391.         
  2392.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2393.             ITDetectTone * This);
  2394.         
  2395.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2396.             ITDetectTone * This);
  2397.         
  2398.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  2399.             ITDetectTone * This,
  2400.             /* [out] */ UINT *pctinfo);
  2401.         
  2402.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  2403.             ITDetectTone * This,
  2404.             /* [in] */ UINT iTInfo,
  2405.             /* [in] */ LCID lcid,
  2406.             /* [out] */ ITypeInfo **ppTInfo);
  2407.         
  2408.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  2409.             ITDetectTone * This,
  2410.             /* [in] */ REFIID riid,
  2411.             /* [size_is][in] */ LPOLESTR *rgszNames,
  2412.             /* [in] */ UINT cNames,
  2413.             /* [in] */ LCID lcid,
  2414.             /* [size_is][out] */ DISPID *rgDispId);
  2415.         
  2416.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  2417.             ITDetectTone * This,
  2418.             /* [in] */ DISPID dispIdMember,
  2419.             /* [in] */ REFIID riid,
  2420.             /* [in] */ LCID lcid,
  2421.             /* [in] */ WORD wFlags,
  2422.             /* [out][in] */ DISPPARAMS *pDispParams,
  2423.             /* [out] */ VARIANT *pVarResult,
  2424.             /* [out] */ EXCEPINFO *pExcepInfo,
  2425.             /* [out] */ UINT *puArgErr);
  2426.         
  2427.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AppSpecific )( 
  2428.             ITDetectTone * This,
  2429.             /* [retval][out] */ long *plAppSpecific);
  2430.         
  2431.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AppSpecific )( 
  2432.             ITDetectTone * This,
  2433.             /* [in] */ long lAppSpecific);
  2434.         
  2435.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Duration )( 
  2436.             ITDetectTone * This,
  2437.             /* [retval][out] */ long *plDuration);
  2438.         
  2439.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Duration )( 
  2440.             ITDetectTone * This,
  2441.             /* [in] */ long lDuration);
  2442.         
  2443.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Frequency )( 
  2444.             ITDetectTone * This,
  2445.             /* [in] */ long Index,
  2446.             /* [retval][out] */ long *plFrequency);
  2447.         
  2448.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Frequency )( 
  2449.             ITDetectTone * This,
  2450.             /* [in] */ long Index,
  2451.             /* [in] */ long lFrequency);
  2452.         
  2453.         END_INTERFACE
  2454.     } ITDetectToneVtbl;
  2455.     interface ITDetectTone
  2456.     {
  2457.         CONST_VTBL struct ITDetectToneVtbl *lpVtbl;
  2458.     };
  2459.     
  2460. #ifdef COBJMACROS
  2461. #define ITDetectTone_QueryInterface(This,riid,ppvObject)
  2462.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2463. #define ITDetectTone_AddRef(This)
  2464.     (This)->lpVtbl -> AddRef(This)
  2465. #define ITDetectTone_Release(This)
  2466.     (This)->lpVtbl -> Release(This)
  2467. #define ITDetectTone_GetTypeInfoCount(This,pctinfo)
  2468.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2469. #define ITDetectTone_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2470.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2471. #define ITDetectTone_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2472.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2473. #define ITDetectTone_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2474.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2475. #define ITDetectTone_get_AppSpecific(This,plAppSpecific)
  2476.     (This)->lpVtbl -> get_AppSpecific(This,plAppSpecific)
  2477. #define ITDetectTone_put_AppSpecific(This,lAppSpecific)
  2478.     (This)->lpVtbl -> put_AppSpecific(This,lAppSpecific)
  2479. #define ITDetectTone_get_Duration(This,plDuration)
  2480.     (This)->lpVtbl -> get_Duration(This,plDuration)
  2481. #define ITDetectTone_put_Duration(This,lDuration)
  2482.     (This)->lpVtbl -> put_Duration(This,lDuration)
  2483. #define ITDetectTone_get_Frequency(This,Index,plFrequency)
  2484.     (This)->lpVtbl -> get_Frequency(This,Index,plFrequency)
  2485. #define ITDetectTone_put_Frequency(This,Index,lFrequency)
  2486.     (This)->lpVtbl -> put_Frequency(This,Index,lFrequency)
  2487. #endif /* COBJMACROS */
  2488. #endif  /* C style interface */
  2489. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITDetectTone_get_AppSpecific_Proxy( 
  2490.     ITDetectTone * This,
  2491.     /* [retval][out] */ long *plAppSpecific);
  2492. void __RPC_STUB ITDetectTone_get_AppSpecific_Stub(
  2493.     IRpcStubBuffer *This,
  2494.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2495.     PRPC_MESSAGE _pRpcMessage,
  2496.     DWORD *_pdwStubPhase);
  2497. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITDetectTone_put_AppSpecific_Proxy( 
  2498.     ITDetectTone * This,
  2499.     /* [in] */ long lAppSpecific);
  2500. void __RPC_STUB ITDetectTone_put_AppSpecific_Stub(
  2501.     IRpcStubBuffer *This,
  2502.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2503.     PRPC_MESSAGE _pRpcMessage,
  2504.     DWORD *_pdwStubPhase);
  2505. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITDetectTone_get_Duration_Proxy( 
  2506.     ITDetectTone * This,
  2507.     /* [retval][out] */ long *plDuration);
  2508. void __RPC_STUB ITDetectTone_get_Duration_Stub(
  2509.     IRpcStubBuffer *This,
  2510.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2511.     PRPC_MESSAGE _pRpcMessage,
  2512.     DWORD *_pdwStubPhase);
  2513. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITDetectTone_put_Duration_Proxy( 
  2514.     ITDetectTone * This,
  2515.     /* [in] */ long lDuration);
  2516. void __RPC_STUB ITDetectTone_put_Duration_Stub(
  2517.     IRpcStubBuffer *This,
  2518.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2519.     PRPC_MESSAGE _pRpcMessage,
  2520.     DWORD *_pdwStubPhase);
  2521. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITDetectTone_get_Frequency_Proxy( 
  2522.     ITDetectTone * This,
  2523.     /* [in] */ long Index,
  2524.     /* [retval][out] */ long *plFrequency);
  2525. void __RPC_STUB ITDetectTone_get_Frequency_Stub(
  2526.     IRpcStubBuffer *This,
  2527.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2528.     PRPC_MESSAGE _pRpcMessage,
  2529.     DWORD *_pdwStubPhase);
  2530. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITDetectTone_put_Frequency_Proxy( 
  2531.     ITDetectTone * This,
  2532.     /* [in] */ long Index,
  2533.     /* [in] */ long lFrequency);
  2534. void __RPC_STUB ITDetectTone_put_Frequency_Stub(
  2535.     IRpcStubBuffer *This,
  2536.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2537.     PRPC_MESSAGE _pRpcMessage,
  2538.     DWORD *_pdwStubPhase);
  2539. #endif  /* __ITDetectTone_INTERFACE_DEFINED__ */
  2540. #ifndef __ITCustomTone_INTERFACE_DEFINED__
  2541. #define __ITCustomTone_INTERFACE_DEFINED__
  2542. /* interface ITCustomTone */
  2543. /* [object][unique][dual][helpstring][uuid] */ 
  2544. EXTERN_C const IID IID_ITCustomTone;
  2545. #if defined(__cplusplus) && !defined(CINTERFACE)
  2546.     
  2547.     MIDL_INTERFACE("357AD764-B3C6-4b2a-8FA5-0722827A9254")
  2548.     ITCustomTone : public IDispatch
  2549.     {
  2550.     public:
  2551.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Frequency( 
  2552.             /* [retval][out] */ long *plFrequency) = 0;
  2553.         
  2554.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Frequency( 
  2555.             /* [in] */ long lFrequency) = 0;
  2556.         
  2557.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CadenceOn( 
  2558.             /* [retval][out] */ long *plCadenceOn) = 0;
  2559.         
  2560.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_CadenceOn( 
  2561.             /* [in] */ long CadenceOn) = 0;
  2562.         
  2563.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CadenceOff( 
  2564.             /* [retval][out] */ long *plCadenceOff) = 0;
  2565.         
  2566.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_CadenceOff( 
  2567.             /* [in] */ long lCadenceOff) = 0;
  2568.         
  2569.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Volume( 
  2570.             /* [retval][out] */ long *plVolume) = 0;
  2571.         
  2572.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Volume( 
  2573.             /* [in] */ long lVolume) = 0;
  2574.         
  2575.     };
  2576.     
  2577. #else  /* C style interface */
  2578.     typedef struct ITCustomToneVtbl
  2579.     {
  2580.         BEGIN_INTERFACE
  2581.         
  2582.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2583.             ITCustomTone * This,
  2584.             /* [in] */ REFIID riid,
  2585.             /* [iid_is][out] */ void **ppvObject);
  2586.         
  2587.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2588.             ITCustomTone * This);
  2589.         
  2590.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2591.             ITCustomTone * This);
  2592.         
  2593.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  2594.             ITCustomTone * This,
  2595.             /* [out] */ UINT *pctinfo);
  2596.         
  2597.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  2598.             ITCustomTone * This,
  2599.             /* [in] */ UINT iTInfo,
  2600.             /* [in] */ LCID lcid,
  2601.             /* [out] */ ITypeInfo **ppTInfo);
  2602.         
  2603.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  2604.             ITCustomTone * This,
  2605.             /* [in] */ REFIID riid,
  2606.             /* [size_is][in] */ LPOLESTR *rgszNames,
  2607.             /* [in] */ UINT cNames,
  2608.             /* [in] */ LCID lcid,
  2609.             /* [size_is][out] */ DISPID *rgDispId);
  2610.         
  2611.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  2612.             ITCustomTone * This,
  2613.             /* [in] */ DISPID dispIdMember,
  2614.             /* [in] */ REFIID riid,
  2615.             /* [in] */ LCID lcid,
  2616.             /* [in] */ WORD wFlags,
  2617.             /* [out][in] */ DISPPARAMS *pDispParams,
  2618.             /* [out] */ VARIANT *pVarResult,
  2619.             /* [out] */ EXCEPINFO *pExcepInfo,
  2620.             /* [out] */ UINT *puArgErr);
  2621.         
  2622.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Frequency )( 
  2623.             ITCustomTone * This,
  2624.             /* [retval][out] */ long *plFrequency);
  2625.         
  2626.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Frequency )( 
  2627.             ITCustomTone * This,
  2628.             /* [in] */ long lFrequency);
  2629.         
  2630.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CadenceOn )( 
  2631.             ITCustomTone * This,
  2632.             /* [retval][out] */ long *plCadenceOn);
  2633.         
  2634.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CadenceOn )( 
  2635.             ITCustomTone * This,
  2636.             /* [in] */ long CadenceOn);
  2637.         
  2638.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CadenceOff )( 
  2639.             ITCustomTone * This,
  2640.             /* [retval][out] */ long *plCadenceOff);
  2641.         
  2642.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CadenceOff )( 
  2643.             ITCustomTone * This,
  2644.             /* [in] */ long lCadenceOff);
  2645.         
  2646.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Volume )( 
  2647.             ITCustomTone * This,
  2648.             /* [retval][out] */ long *plVolume);
  2649.         
  2650.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Volume )( 
  2651.             ITCustomTone * This,
  2652.             /* [in] */ long lVolume);
  2653.         
  2654.         END_INTERFACE
  2655.     } ITCustomToneVtbl;
  2656.     interface ITCustomTone
  2657.     {
  2658.         CONST_VTBL struct ITCustomToneVtbl *lpVtbl;
  2659.     };
  2660.     
  2661. #ifdef COBJMACROS
  2662. #define ITCustomTone_QueryInterface(This,riid,ppvObject)
  2663.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2664. #define ITCustomTone_AddRef(This)
  2665.     (This)->lpVtbl -> AddRef(This)
  2666. #define ITCustomTone_Release(This)
  2667.     (This)->lpVtbl -> Release(This)
  2668. #define ITCustomTone_GetTypeInfoCount(This,pctinfo)
  2669.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2670. #define ITCustomTone_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2671.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2672. #define ITCustomTone_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2673.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2674. #define ITCustomTone_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2675.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2676. #define ITCustomTone_get_Frequency(This,plFrequency)
  2677.     (This)->lpVtbl -> get_Frequency(This,plFrequency)
  2678. #define ITCustomTone_put_Frequency(This,lFrequency)
  2679.     (This)->lpVtbl -> put_Frequency(This,lFrequency)
  2680. #define ITCustomTone_get_CadenceOn(This,plCadenceOn)
  2681.     (This)->lpVtbl -> get_CadenceOn(This,plCadenceOn)
  2682. #define ITCustomTone_put_CadenceOn(This,CadenceOn)
  2683.     (This)->lpVtbl -> put_CadenceOn(This,CadenceOn)
  2684. #define ITCustomTone_get_CadenceOff(This,plCadenceOff)
  2685.     (This)->lpVtbl -> get_CadenceOff(This,plCadenceOff)
  2686. #define ITCustomTone_put_CadenceOff(This,lCadenceOff)
  2687.     (This)->lpVtbl -> put_CadenceOff(This,lCadenceOff)
  2688. #define ITCustomTone_get_Volume(This,plVolume)
  2689.     (This)->lpVtbl -> get_Volume(This,plVolume)
  2690. #define ITCustomTone_put_Volume(This,lVolume)
  2691.     (This)->lpVtbl -> put_Volume(This,lVolume)
  2692. #endif /* COBJMACROS */
  2693. #endif  /* C style interface */
  2694. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCustomTone_get_Frequency_Proxy( 
  2695.     ITCustomTone * This,
  2696.     /* [retval][out] */ long *plFrequency);
  2697. void __RPC_STUB ITCustomTone_get_Frequency_Stub(
  2698.     IRpcStubBuffer *This,
  2699.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2700.     PRPC_MESSAGE _pRpcMessage,
  2701.     DWORD *_pdwStubPhase);
  2702. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITCustomTone_put_Frequency_Proxy( 
  2703.     ITCustomTone * This,
  2704.     /* [in] */ long lFrequency);
  2705. void __RPC_STUB ITCustomTone_put_Frequency_Stub(
  2706.     IRpcStubBuffer *This,
  2707.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2708.     PRPC_MESSAGE _pRpcMessage,
  2709.     DWORD *_pdwStubPhase);
  2710. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCustomTone_get_CadenceOn_Proxy( 
  2711.     ITCustomTone * This,
  2712.     /* [retval][out] */ long *plCadenceOn);
  2713. void __RPC_STUB ITCustomTone_get_CadenceOn_Stub(
  2714.     IRpcStubBuffer *This,
  2715.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2716.     PRPC_MESSAGE _pRpcMessage,
  2717.     DWORD *_pdwStubPhase);
  2718. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITCustomTone_put_CadenceOn_Proxy( 
  2719.     ITCustomTone * This,
  2720.     /* [in] */ long CadenceOn);