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

模拟服务器

开发平台:

C/C++

  1. #ifndef __ITAgentHandlerEvent_INTERFACE_DEFINED__
  2. #define __ITAgentHandlerEvent_INTERFACE_DEFINED__
  3. /* interface ITAgentHandlerEvent */
  4. /* [object][dual][helpstring][uuid] */ 
  5. EXTERN_C const IID IID_ITAgentHandlerEvent;
  6. #if defined(__cplusplus) && !defined(CINTERFACE)
  7.     
  8.     MIDL_INTERFACE("297F3034-BD11-11d1-A0A7-00805FC147D3")
  9.     ITAgentHandlerEvent : public IDispatch
  10.     {
  11.     public:
  12.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AgentHandler( 
  13.             /* [retval][out] */ ITAgentHandler **ppAgentHandler) = 0;
  14.         
  15.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Event( 
  16.             /* [retval][out] */ AGENTHANDLER_EVENT *pEvent) = 0;
  17.         
  18.     };
  19.     
  20. #else  /* C style interface */
  21.     typedef struct ITAgentHandlerEventVtbl
  22.     {
  23.         BEGIN_INTERFACE
  24.         
  25.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  26.             ITAgentHandlerEvent * This,
  27.             /* [in] */ REFIID riid,
  28.             /* [iid_is][out] */ void **ppvObject);
  29.         
  30.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  31.             ITAgentHandlerEvent * This);
  32.         
  33.         ULONG ( STDMETHODCALLTYPE *Release )( 
  34.             ITAgentHandlerEvent * This);
  35.         
  36.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  37.             ITAgentHandlerEvent * This,
  38.             /* [out] */ UINT *pctinfo);
  39.         
  40.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  41.             ITAgentHandlerEvent * This,
  42.             /* [in] */ UINT iTInfo,
  43.             /* [in] */ LCID lcid,
  44.             /* [out] */ ITypeInfo **ppTInfo);
  45.         
  46.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  47.             ITAgentHandlerEvent * This,
  48.             /* [in] */ REFIID riid,
  49.             /* [size_is][in] */ LPOLESTR *rgszNames,
  50.             /* [in] */ UINT cNames,
  51.             /* [in] */ LCID lcid,
  52.             /* [size_is][out] */ DISPID *rgDispId);
  53.         
  54.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  55.             ITAgentHandlerEvent * This,
  56.             /* [in] */ DISPID dispIdMember,
  57.             /* [in] */ REFIID riid,
  58.             /* [in] */ LCID lcid,
  59.             /* [in] */ WORD wFlags,
  60.             /* [out][in] */ DISPPARAMS *pDispParams,
  61.             /* [out] */ VARIANT *pVarResult,
  62.             /* [out] */ EXCEPINFO *pExcepInfo,
  63.             /* [out] */ UINT *puArgErr);
  64.         
  65.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AgentHandler )( 
  66.             ITAgentHandlerEvent * This,
  67.             /* [retval][out] */ ITAgentHandler **ppAgentHandler);
  68.         
  69.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Event )( 
  70.             ITAgentHandlerEvent * This,
  71.             /* [retval][out] */ AGENTHANDLER_EVENT *pEvent);
  72.         
  73.         END_INTERFACE
  74.     } ITAgentHandlerEventVtbl;
  75.     interface ITAgentHandlerEvent
  76.     {
  77.         CONST_VTBL struct ITAgentHandlerEventVtbl *lpVtbl;
  78.     };
  79.     
  80. #ifdef COBJMACROS
  81. #define ITAgentHandlerEvent_QueryInterface(This,riid,ppvObject)
  82.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  83. #define ITAgentHandlerEvent_AddRef(This)
  84.     (This)->lpVtbl -> AddRef(This)
  85. #define ITAgentHandlerEvent_Release(This)
  86.     (This)->lpVtbl -> Release(This)
  87. #define ITAgentHandlerEvent_GetTypeInfoCount(This,pctinfo)
  88.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  89. #define ITAgentHandlerEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  90.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  91. #define ITAgentHandlerEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  92.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  93. #define ITAgentHandlerEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  94.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  95. #define ITAgentHandlerEvent_get_AgentHandler(This,ppAgentHandler)
  96.     (This)->lpVtbl -> get_AgentHandler(This,ppAgentHandler)
  97. #define ITAgentHandlerEvent_get_Event(This,pEvent)
  98.     (This)->lpVtbl -> get_Event(This,pEvent)
  99. #endif /* COBJMACROS */
  100. #endif  /* C style interface */
  101. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentHandlerEvent_get_AgentHandler_Proxy( 
  102.     ITAgentHandlerEvent * This,
  103.     /* [retval][out] */ ITAgentHandler **ppAgentHandler);
  104. void __RPC_STUB ITAgentHandlerEvent_get_AgentHandler_Stub(
  105.     IRpcStubBuffer *This,
  106.     IRpcChannelBuffer *_pRpcChannelBuffer,
  107.     PRPC_MESSAGE _pRpcMessage,
  108.     DWORD *_pdwStubPhase);
  109. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentHandlerEvent_get_Event_Proxy( 
  110.     ITAgentHandlerEvent * This,
  111.     /* [retval][out] */ AGENTHANDLER_EVENT *pEvent);
  112. void __RPC_STUB ITAgentHandlerEvent_get_Event_Stub(
  113.     IRpcStubBuffer *This,
  114.     IRpcChannelBuffer *_pRpcChannelBuffer,
  115.     PRPC_MESSAGE _pRpcMessage,
  116.     DWORD *_pdwStubPhase);
  117. #endif  /* __ITAgentHandlerEvent_INTERFACE_DEFINED__ */
  118. #ifndef __ITTAPICallCenter_INTERFACE_DEFINED__
  119. #define __ITTAPICallCenter_INTERFACE_DEFINED__
  120. /* interface ITTAPICallCenter */
  121. /* [object][dual][helpstring][uuid] */ 
  122. EXTERN_C const IID IID_ITTAPICallCenter;
  123. #if defined(__cplusplus) && !defined(CINTERFACE)
  124.     
  125.     MIDL_INTERFACE("5AFC3154-4BCC-11d1-BF80-00805FC147D3")
  126.     ITTAPICallCenter : public IDispatch
  127.     {
  128.     public:
  129.         virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateAgentHandlers( 
  130.             /* [retval][out] */ IEnumAgentHandler **ppEnumHandler) = 0;
  131.         
  132.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AgentHandlers( 
  133.             /* [retval][out] */ VARIANT *pVariant) = 0;
  134.         
  135.     };
  136.     
  137. #else  /* C style interface */
  138.     typedef struct ITTAPICallCenterVtbl
  139.     {
  140.         BEGIN_INTERFACE
  141.         
  142.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  143.             ITTAPICallCenter * This,
  144.             /* [in] */ REFIID riid,
  145.             /* [iid_is][out] */ void **ppvObject);
  146.         
  147.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  148.             ITTAPICallCenter * This);
  149.         
  150.         ULONG ( STDMETHODCALLTYPE *Release )( 
  151.             ITTAPICallCenter * This);
  152.         
  153.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  154.             ITTAPICallCenter * This,
  155.             /* [out] */ UINT *pctinfo);
  156.         
  157.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  158.             ITTAPICallCenter * This,
  159.             /* [in] */ UINT iTInfo,
  160.             /* [in] */ LCID lcid,
  161.             /* [out] */ ITypeInfo **ppTInfo);
  162.         
  163.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  164.             ITTAPICallCenter * This,
  165.             /* [in] */ REFIID riid,
  166.             /* [size_is][in] */ LPOLESTR *rgszNames,
  167.             /* [in] */ UINT cNames,
  168.             /* [in] */ LCID lcid,
  169.             /* [size_is][out] */ DISPID *rgDispId);
  170.         
  171.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  172.             ITTAPICallCenter * This,
  173.             /* [in] */ DISPID dispIdMember,
  174.             /* [in] */ REFIID riid,
  175.             /* [in] */ LCID lcid,
  176.             /* [in] */ WORD wFlags,
  177.             /* [out][in] */ DISPPARAMS *pDispParams,
  178.             /* [out] */ VARIANT *pVarResult,
  179.             /* [out] */ EXCEPINFO *pExcepInfo,
  180.             /* [out] */ UINT *puArgErr);
  181.         
  182.         /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateAgentHandlers )( 
  183.             ITTAPICallCenter * This,
  184.             /* [retval][out] */ IEnumAgentHandler **ppEnumHandler);
  185.         
  186.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AgentHandlers )( 
  187.             ITTAPICallCenter * This,
  188.             /* [retval][out] */ VARIANT *pVariant);
  189.         
  190.         END_INTERFACE
  191.     } ITTAPICallCenterVtbl;
  192.     interface ITTAPICallCenter
  193.     {
  194.         CONST_VTBL struct ITTAPICallCenterVtbl *lpVtbl;
  195.     };
  196.     
  197. #ifdef COBJMACROS
  198. #define ITTAPICallCenter_QueryInterface(This,riid,ppvObject)
  199.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  200. #define ITTAPICallCenter_AddRef(This)
  201.     (This)->lpVtbl -> AddRef(This)
  202. #define ITTAPICallCenter_Release(This)
  203.     (This)->lpVtbl -> Release(This)
  204. #define ITTAPICallCenter_GetTypeInfoCount(This,pctinfo)
  205.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  206. #define ITTAPICallCenter_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  207.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  208. #define ITTAPICallCenter_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  209.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  210. #define ITTAPICallCenter_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  211.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  212. #define ITTAPICallCenter_EnumerateAgentHandlers(This,ppEnumHandler)
  213.     (This)->lpVtbl -> EnumerateAgentHandlers(This,ppEnumHandler)
  214. #define ITTAPICallCenter_get_AgentHandlers(This,pVariant)
  215.     (This)->lpVtbl -> get_AgentHandlers(This,pVariant)
  216. #endif /* COBJMACROS */
  217. #endif  /* C style interface */
  218. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITTAPICallCenter_EnumerateAgentHandlers_Proxy( 
  219.     ITTAPICallCenter * This,
  220.     /* [retval][out] */ IEnumAgentHandler **ppEnumHandler);
  221. void __RPC_STUB ITTAPICallCenter_EnumerateAgentHandlers_Stub(
  222.     IRpcStubBuffer *This,
  223.     IRpcChannelBuffer *_pRpcChannelBuffer,
  224.     PRPC_MESSAGE _pRpcMessage,
  225.     DWORD *_pdwStubPhase);
  226. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTAPICallCenter_get_AgentHandlers_Proxy( 
  227.     ITTAPICallCenter * This,
  228.     /* [retval][out] */ VARIANT *pVariant);
  229. void __RPC_STUB ITTAPICallCenter_get_AgentHandlers_Stub(
  230.     IRpcStubBuffer *This,
  231.     IRpcChannelBuffer *_pRpcChannelBuffer,
  232.     PRPC_MESSAGE _pRpcMessage,
  233.     DWORD *_pdwStubPhase);
  234. #endif  /* __ITTAPICallCenter_INTERFACE_DEFINED__ */
  235. #ifndef __ITAgentHandler_INTERFACE_DEFINED__
  236. #define __ITAgentHandler_INTERFACE_DEFINED__
  237. /* interface ITAgentHandler */
  238. /* [object][dual][helpstring][uuid] */ 
  239. EXTERN_C const IID IID_ITAgentHandler;
  240. #if defined(__cplusplus) && !defined(CINTERFACE)
  241.     
  242.     MIDL_INTERFACE("587E8C22-9802-11d1-A0A4-00805FC147D3")
  243.     ITAgentHandler : public IDispatch
  244.     {
  245.     public:
  246.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name( 
  247.             /* [retval][out] */ BSTR *ppName) = 0;
  248.         
  249.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateAgent( 
  250.             /* [retval][out] */ ITAgent **ppAgent) = 0;
  251.         
  252.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateAgentWithID( 
  253.             /* [in] */ BSTR pID,
  254.             /* [in] */ BSTR pPIN,
  255.             /* [retval][out] */ ITAgent **ppAgent) = 0;
  256.         
  257.         virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateACDGroups( 
  258.             /* [retval][out] */ IEnumACDGroup **ppEnumACDGroup) = 0;
  259.         
  260.         virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateUsableAddresses( 
  261.             /* [retval][out] */ IEnumAddress **ppEnumAddress) = 0;
  262.         
  263.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ACDGroups( 
  264.             /* [retval][out] */ VARIANT *pVariant) = 0;
  265.         
  266.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_UsableAddresses( 
  267.             /* [retval][out] */ VARIANT *pVariant) = 0;
  268.         
  269.     };
  270.     
  271. #else  /* C style interface */
  272.     typedef struct ITAgentHandlerVtbl
  273.     {
  274.         BEGIN_INTERFACE
  275.         
  276.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  277.             ITAgentHandler * This,
  278.             /* [in] */ REFIID riid,
  279.             /* [iid_is][out] */ void **ppvObject);
  280.         
  281.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  282.             ITAgentHandler * This);
  283.         
  284.         ULONG ( STDMETHODCALLTYPE *Release )( 
  285.             ITAgentHandler * This);
  286.         
  287.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  288.             ITAgentHandler * This,
  289.             /* [out] */ UINT *pctinfo);
  290.         
  291.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  292.             ITAgentHandler * This,
  293.             /* [in] */ UINT iTInfo,
  294.             /* [in] */ LCID lcid,
  295.             /* [out] */ ITypeInfo **ppTInfo);
  296.         
  297.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  298.             ITAgentHandler * This,
  299.             /* [in] */ REFIID riid,
  300.             /* [size_is][in] */ LPOLESTR *rgszNames,
  301.             /* [in] */ UINT cNames,
  302.             /* [in] */ LCID lcid,
  303.             /* [size_is][out] */ DISPID *rgDispId);
  304.         
  305.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  306.             ITAgentHandler * This,
  307.             /* [in] */ DISPID dispIdMember,
  308.             /* [in] */ REFIID riid,
  309.             /* [in] */ LCID lcid,
  310.             /* [in] */ WORD wFlags,
  311.             /* [out][in] */ DISPPARAMS *pDispParams,
  312.             /* [out] */ VARIANT *pVarResult,
  313.             /* [out] */ EXCEPINFO *pExcepInfo,
  314.             /* [out] */ UINT *puArgErr);
  315.         
  316.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( 
  317.             ITAgentHandler * This,
  318.             /* [retval][out] */ BSTR *ppName);
  319.         
  320.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateAgent )( 
  321.             ITAgentHandler * This,
  322.             /* [retval][out] */ ITAgent **ppAgent);
  323.         
  324.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateAgentWithID )( 
  325.             ITAgentHandler * This,
  326.             /* [in] */ BSTR pID,
  327.             /* [in] */ BSTR pPIN,
  328.             /* [retval][out] */ ITAgent **ppAgent);
  329.         
  330.         /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateACDGroups )( 
  331.             ITAgentHandler * This,
  332.             /* [retval][out] */ IEnumACDGroup **ppEnumACDGroup);
  333.         
  334.         /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateUsableAddresses )( 
  335.             ITAgentHandler * This,
  336.             /* [retval][out] */ IEnumAddress **ppEnumAddress);
  337.         
  338.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ACDGroups )( 
  339.             ITAgentHandler * This,
  340.             /* [retval][out] */ VARIANT *pVariant);
  341.         
  342.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UsableAddresses )( 
  343.             ITAgentHandler * This,
  344.             /* [retval][out] */ VARIANT *pVariant);
  345.         
  346.         END_INTERFACE
  347.     } ITAgentHandlerVtbl;
  348.     interface ITAgentHandler
  349.     {
  350.         CONST_VTBL struct ITAgentHandlerVtbl *lpVtbl;
  351.     };
  352.     
  353. #ifdef COBJMACROS
  354. #define ITAgentHandler_QueryInterface(This,riid,ppvObject)
  355.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  356. #define ITAgentHandler_AddRef(This)
  357.     (This)->lpVtbl -> AddRef(This)
  358. #define ITAgentHandler_Release(This)
  359.     (This)->lpVtbl -> Release(This)
  360. #define ITAgentHandler_GetTypeInfoCount(This,pctinfo)
  361.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  362. #define ITAgentHandler_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  363.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  364. #define ITAgentHandler_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  365.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  366. #define ITAgentHandler_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  367.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  368. #define ITAgentHandler_get_Name(This,ppName)
  369.     (This)->lpVtbl -> get_Name(This,ppName)
  370. #define ITAgentHandler_CreateAgent(This,ppAgent)
  371.     (This)->lpVtbl -> CreateAgent(This,ppAgent)
  372. #define ITAgentHandler_CreateAgentWithID(This,pID,pPIN,ppAgent)
  373.     (This)->lpVtbl -> CreateAgentWithID(This,pID,pPIN,ppAgent)
  374. #define ITAgentHandler_EnumerateACDGroups(This,ppEnumACDGroup)
  375.     (This)->lpVtbl -> EnumerateACDGroups(This,ppEnumACDGroup)
  376. #define ITAgentHandler_EnumerateUsableAddresses(This,ppEnumAddress)
  377.     (This)->lpVtbl -> EnumerateUsableAddresses(This,ppEnumAddress)
  378. #define ITAgentHandler_get_ACDGroups(This,pVariant)
  379.     (This)->lpVtbl -> get_ACDGroups(This,pVariant)
  380. #define ITAgentHandler_get_UsableAddresses(This,pVariant)
  381.     (This)->lpVtbl -> get_UsableAddresses(This,pVariant)
  382. #endif /* COBJMACROS */
  383. #endif  /* C style interface */
  384. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentHandler_get_Name_Proxy( 
  385.     ITAgentHandler * This,
  386.     /* [retval][out] */ BSTR *ppName);
  387. void __RPC_STUB ITAgentHandler_get_Name_Stub(
  388.     IRpcStubBuffer *This,
  389.     IRpcChannelBuffer *_pRpcChannelBuffer,
  390.     PRPC_MESSAGE _pRpcMessage,
  391.     DWORD *_pdwStubPhase);
  392. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAgentHandler_CreateAgent_Proxy( 
  393.     ITAgentHandler * This,
  394.     /* [retval][out] */ ITAgent **ppAgent);
  395. void __RPC_STUB ITAgentHandler_CreateAgent_Stub(
  396.     IRpcStubBuffer *This,
  397.     IRpcChannelBuffer *_pRpcChannelBuffer,
  398.     PRPC_MESSAGE _pRpcMessage,
  399.     DWORD *_pdwStubPhase);
  400. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAgentHandler_CreateAgentWithID_Proxy( 
  401.     ITAgentHandler * This,
  402.     /* [in] */ BSTR pID,
  403.     /* [in] */ BSTR pPIN,
  404.     /* [retval][out] */ ITAgent **ppAgent);
  405. void __RPC_STUB ITAgentHandler_CreateAgentWithID_Stub(
  406.     IRpcStubBuffer *This,
  407.     IRpcChannelBuffer *_pRpcChannelBuffer,
  408.     PRPC_MESSAGE _pRpcMessage,
  409.     DWORD *_pdwStubPhase);
  410. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITAgentHandler_EnumerateACDGroups_Proxy( 
  411.     ITAgentHandler * This,
  412.     /* [retval][out] */ IEnumACDGroup **ppEnumACDGroup);
  413. void __RPC_STUB ITAgentHandler_EnumerateACDGroups_Stub(
  414.     IRpcStubBuffer *This,
  415.     IRpcChannelBuffer *_pRpcChannelBuffer,
  416.     PRPC_MESSAGE _pRpcMessage,
  417.     DWORD *_pdwStubPhase);
  418. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITAgentHandler_EnumerateUsableAddresses_Proxy( 
  419.     ITAgentHandler * This,
  420.     /* [retval][out] */ IEnumAddress **ppEnumAddress);
  421. void __RPC_STUB ITAgentHandler_EnumerateUsableAddresses_Stub(
  422.     IRpcStubBuffer *This,
  423.     IRpcChannelBuffer *_pRpcChannelBuffer,
  424.     PRPC_MESSAGE _pRpcMessage,
  425.     DWORD *_pdwStubPhase);
  426. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentHandler_get_ACDGroups_Proxy( 
  427.     ITAgentHandler * This,
  428.     /* [retval][out] */ VARIANT *pVariant);
  429. void __RPC_STUB ITAgentHandler_get_ACDGroups_Stub(
  430.     IRpcStubBuffer *This,
  431.     IRpcChannelBuffer *_pRpcChannelBuffer,
  432.     PRPC_MESSAGE _pRpcMessage,
  433.     DWORD *_pdwStubPhase);
  434. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentHandler_get_UsableAddresses_Proxy( 
  435.     ITAgentHandler * This,
  436.     /* [retval][out] */ VARIANT *pVariant);
  437. void __RPC_STUB ITAgentHandler_get_UsableAddresses_Stub(
  438.     IRpcStubBuffer *This,
  439.     IRpcChannelBuffer *_pRpcChannelBuffer,
  440.     PRPC_MESSAGE _pRpcMessage,
  441.     DWORD *_pdwStubPhase);
  442. #endif  /* __ITAgentHandler_INTERFACE_DEFINED__ */
  443. #ifndef __IEnumAgent_INTERFACE_DEFINED__
  444. #define __IEnumAgent_INTERFACE_DEFINED__
  445. /* interface IEnumAgent */
  446. /* [object][unique][hidden][helpstring][uuid] */ 
  447. EXTERN_C const IID IID_IEnumAgent;
  448. #if defined(__cplusplus) && !defined(CINTERFACE)
  449.     
  450.     MIDL_INTERFACE("5AFC314D-4BCC-11d1-BF80-00805FC147D3")
  451.     IEnumAgent : public IUnknown
  452.     {
  453.     public:
  454.         virtual HRESULT STDMETHODCALLTYPE Next( 
  455.             /* [in] */ ULONG celt,
  456.             /* [out] */ ITAgent **ppElements,
  457.             /* [out] */ ULONG *pceltFetched) = 0;
  458.         
  459.         virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  460.         
  461.         virtual HRESULT STDMETHODCALLTYPE Skip( 
  462.             /* [in] */ ULONG celt) = 0;
  463.         
  464.         virtual HRESULT STDMETHODCALLTYPE Clone( 
  465.             /* [retval][out] */ IEnumAgent **ppEnum) = 0;
  466.         
  467.     };
  468.     
  469. #else  /* C style interface */
  470.     typedef struct IEnumAgentVtbl
  471.     {
  472.         BEGIN_INTERFACE
  473.         
  474.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  475.             IEnumAgent * This,
  476.             /* [in] */ REFIID riid,
  477.             /* [iid_is][out] */ void **ppvObject);
  478.         
  479.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  480.             IEnumAgent * This);
  481.         
  482.         ULONG ( STDMETHODCALLTYPE *Release )( 
  483.             IEnumAgent * This);
  484.         
  485.         HRESULT ( STDMETHODCALLTYPE *Next )( 
  486.             IEnumAgent * This,
  487.             /* [in] */ ULONG celt,
  488.             /* [out] */ ITAgent **ppElements,
  489.             /* [out] */ ULONG *pceltFetched);
  490.         
  491.         HRESULT ( STDMETHODCALLTYPE *Reset )( 
  492.             IEnumAgent * This);
  493.         
  494.         HRESULT ( STDMETHODCALLTYPE *Skip )( 
  495.             IEnumAgent * This,
  496.             /* [in] */ ULONG celt);
  497.         
  498.         HRESULT ( STDMETHODCALLTYPE *Clone )( 
  499.             IEnumAgent * This,
  500.             /* [retval][out] */ IEnumAgent **ppEnum);
  501.         
  502.         END_INTERFACE
  503.     } IEnumAgentVtbl;
  504.     interface IEnumAgent
  505.     {
  506.         CONST_VTBL struct IEnumAgentVtbl *lpVtbl;
  507.     };
  508.     
  509. #ifdef COBJMACROS
  510. #define IEnumAgent_QueryInterface(This,riid,ppvObject)
  511.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  512. #define IEnumAgent_AddRef(This)
  513.     (This)->lpVtbl -> AddRef(This)
  514. #define IEnumAgent_Release(This)
  515.     (This)->lpVtbl -> Release(This)
  516. #define IEnumAgent_Next(This,celt,ppElements,pceltFetched)
  517.     (This)->lpVtbl -> Next(This,celt,ppElements,pceltFetched)
  518. #define IEnumAgent_Reset(This)
  519.     (This)->lpVtbl -> Reset(This)
  520. #define IEnumAgent_Skip(This,celt)
  521.     (This)->lpVtbl -> Skip(This,celt)
  522. #define IEnumAgent_Clone(This,ppEnum)
  523.     (This)->lpVtbl -> Clone(This,ppEnum)
  524. #endif /* COBJMACROS */
  525. #endif  /* C style interface */
  526. HRESULT STDMETHODCALLTYPE IEnumAgent_Next_Proxy( 
  527.     IEnumAgent * This,
  528.     /* [in] */ ULONG celt,
  529.     /* [out] */ ITAgent **ppElements,
  530.     /* [out] */ ULONG *pceltFetched);
  531. void __RPC_STUB IEnumAgent_Next_Stub(
  532.     IRpcStubBuffer *This,
  533.     IRpcChannelBuffer *_pRpcChannelBuffer,
  534.     PRPC_MESSAGE _pRpcMessage,
  535.     DWORD *_pdwStubPhase);
  536. HRESULT STDMETHODCALLTYPE IEnumAgent_Reset_Proxy( 
  537.     IEnumAgent * This);
  538. void __RPC_STUB IEnumAgent_Reset_Stub(
  539.     IRpcStubBuffer *This,
  540.     IRpcChannelBuffer *_pRpcChannelBuffer,
  541.     PRPC_MESSAGE _pRpcMessage,
  542.     DWORD *_pdwStubPhase);
  543. HRESULT STDMETHODCALLTYPE IEnumAgent_Skip_Proxy( 
  544.     IEnumAgent * This,
  545.     /* [in] */ ULONG celt);
  546. void __RPC_STUB IEnumAgent_Skip_Stub(
  547.     IRpcStubBuffer *This,
  548.     IRpcChannelBuffer *_pRpcChannelBuffer,
  549.     PRPC_MESSAGE _pRpcMessage,
  550.     DWORD *_pdwStubPhase);
  551. HRESULT STDMETHODCALLTYPE IEnumAgent_Clone_Proxy( 
  552.     IEnumAgent * This,
  553.     /* [retval][out] */ IEnumAgent **ppEnum);
  554. void __RPC_STUB IEnumAgent_Clone_Stub(
  555.     IRpcStubBuffer *This,
  556.     IRpcChannelBuffer *_pRpcChannelBuffer,
  557.     PRPC_MESSAGE _pRpcMessage,
  558.     DWORD *_pdwStubPhase);
  559. #endif  /* __IEnumAgent_INTERFACE_DEFINED__ */
  560. #ifndef __IEnumAgentSession_INTERFACE_DEFINED__
  561. #define __IEnumAgentSession_INTERFACE_DEFINED__
  562. /* interface IEnumAgentSession */
  563. /* [object][unique][hidden][helpstring][uuid] */ 
  564. EXTERN_C const IID IID_IEnumAgentSession;
  565. #if defined(__cplusplus) && !defined(CINTERFACE)
  566.     
  567.     MIDL_INTERFACE("5AFC314E-4BCC-11d1-BF80-00805FC147D3")
  568.     IEnumAgentSession : public IUnknown
  569.     {
  570.     public:
  571.         virtual HRESULT STDMETHODCALLTYPE Next( 
  572.             /* [in] */ ULONG celt,
  573.             /* [out] */ ITAgentSession **ppElements,
  574.             /* [out] */ ULONG *pceltFetched) = 0;
  575.         
  576.         virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  577.         
  578.         virtual HRESULT STDMETHODCALLTYPE Skip( 
  579.             /* [in] */ ULONG celt) = 0;
  580.         
  581.         virtual HRESULT STDMETHODCALLTYPE Clone( 
  582.             /* [retval][out] */ IEnumAgentSession **ppEnum) = 0;
  583.         
  584.     };
  585.     
  586. #else  /* C style interface */
  587.     typedef struct IEnumAgentSessionVtbl
  588.     {
  589.         BEGIN_INTERFACE
  590.         
  591.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  592.             IEnumAgentSession * This,
  593.             /* [in] */ REFIID riid,
  594.             /* [iid_is][out] */ void **ppvObject);
  595.         
  596.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  597.             IEnumAgentSession * This);
  598.         
  599.         ULONG ( STDMETHODCALLTYPE *Release )( 
  600.             IEnumAgentSession * This);
  601.         
  602.         HRESULT ( STDMETHODCALLTYPE *Next )( 
  603.             IEnumAgentSession * This,
  604.             /* [in] */ ULONG celt,
  605.             /* [out] */ ITAgentSession **ppElements,
  606.             /* [out] */ ULONG *pceltFetched);
  607.         
  608.         HRESULT ( STDMETHODCALLTYPE *Reset )( 
  609.             IEnumAgentSession * This);
  610.         
  611.         HRESULT ( STDMETHODCALLTYPE *Skip )( 
  612.             IEnumAgentSession * This,
  613.             /* [in] */ ULONG celt);
  614.         
  615.         HRESULT ( STDMETHODCALLTYPE *Clone )( 
  616.             IEnumAgentSession * This,
  617.             /* [retval][out] */ IEnumAgentSession **ppEnum);
  618.         
  619.         END_INTERFACE
  620.     } IEnumAgentSessionVtbl;
  621.     interface IEnumAgentSession
  622.     {
  623.         CONST_VTBL struct IEnumAgentSessionVtbl *lpVtbl;
  624.     };
  625.     
  626. #ifdef COBJMACROS
  627. #define IEnumAgentSession_QueryInterface(This,riid,ppvObject)
  628.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  629. #define IEnumAgentSession_AddRef(This)
  630.     (This)->lpVtbl -> AddRef(This)
  631. #define IEnumAgentSession_Release(This)
  632.     (This)->lpVtbl -> Release(This)
  633. #define IEnumAgentSession_Next(This,celt,ppElements,pceltFetched)
  634.     (This)->lpVtbl -> Next(This,celt,ppElements,pceltFetched)
  635. #define IEnumAgentSession_Reset(This)
  636.     (This)->lpVtbl -> Reset(This)
  637. #define IEnumAgentSession_Skip(This,celt)
  638.     (This)->lpVtbl -> Skip(This,celt)
  639. #define IEnumAgentSession_Clone(This,ppEnum)
  640.     (This)->lpVtbl -> Clone(This,ppEnum)
  641. #endif /* COBJMACROS */
  642. #endif  /* C style interface */
  643. HRESULT STDMETHODCALLTYPE IEnumAgentSession_Next_Proxy( 
  644.     IEnumAgentSession * This,
  645.     /* [in] */ ULONG celt,
  646.     /* [out] */ ITAgentSession **ppElements,
  647.     /* [out] */ ULONG *pceltFetched);
  648. void __RPC_STUB IEnumAgentSession_Next_Stub(
  649.     IRpcStubBuffer *This,
  650.     IRpcChannelBuffer *_pRpcChannelBuffer,
  651.     PRPC_MESSAGE _pRpcMessage,
  652.     DWORD *_pdwStubPhase);
  653. HRESULT STDMETHODCALLTYPE IEnumAgentSession_Reset_Proxy( 
  654.     IEnumAgentSession * This);
  655. void __RPC_STUB IEnumAgentSession_Reset_Stub(
  656.     IRpcStubBuffer *This,
  657.     IRpcChannelBuffer *_pRpcChannelBuffer,
  658.     PRPC_MESSAGE _pRpcMessage,
  659.     DWORD *_pdwStubPhase);
  660. HRESULT STDMETHODCALLTYPE IEnumAgentSession_Skip_Proxy( 
  661.     IEnumAgentSession * This,
  662.     /* [in] */ ULONG celt);
  663. void __RPC_STUB IEnumAgentSession_Skip_Stub(
  664.     IRpcStubBuffer *This,
  665.     IRpcChannelBuffer *_pRpcChannelBuffer,
  666.     PRPC_MESSAGE _pRpcMessage,
  667.     DWORD *_pdwStubPhase);
  668. HRESULT STDMETHODCALLTYPE IEnumAgentSession_Clone_Proxy( 
  669.     IEnumAgentSession * This,
  670.     /* [retval][out] */ IEnumAgentSession **ppEnum);
  671. void __RPC_STUB IEnumAgentSession_Clone_Stub(
  672.     IRpcStubBuffer *This,
  673.     IRpcChannelBuffer *_pRpcChannelBuffer,
  674.     PRPC_MESSAGE _pRpcMessage,
  675.     DWORD *_pdwStubPhase);
  676. #endif  /* __IEnumAgentSession_INTERFACE_DEFINED__ */
  677. #ifndef __IEnumQueue_INTERFACE_DEFINED__
  678. #define __IEnumQueue_INTERFACE_DEFINED__
  679. /* interface IEnumQueue */
  680. /* [object][unique][hidden][helpstring][uuid] */ 
  681. EXTERN_C const IID IID_IEnumQueue;
  682. #if defined(__cplusplus) && !defined(CINTERFACE)
  683.     
  684.     MIDL_INTERFACE("5AFC3158-4BCC-11d1-BF80-00805FC147D3")
  685.     IEnumQueue : public IUnknown
  686.     {
  687.     public:
  688.         virtual HRESULT STDMETHODCALLTYPE Next( 
  689.             /* [in] */ ULONG celt,
  690.             /* [out] */ ITQueue **ppElements,
  691.             /* [out] */ ULONG *pceltFetched) = 0;
  692.         
  693.         virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  694.         
  695.         virtual HRESULT STDMETHODCALLTYPE Skip( 
  696.             /* [in] */ ULONG celt) = 0;
  697.         
  698.         virtual HRESULT STDMETHODCALLTYPE Clone( 
  699.             /* [retval][out] */ IEnumQueue **ppEnum) = 0;
  700.         
  701.     };
  702.     
  703. #else  /* C style interface */
  704.     typedef struct IEnumQueueVtbl
  705.     {
  706.         BEGIN_INTERFACE
  707.         
  708.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  709.             IEnumQueue * This,
  710.             /* [in] */ REFIID riid,
  711.             /* [iid_is][out] */ void **ppvObject);
  712.         
  713.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  714.             IEnumQueue * This);
  715.         
  716.         ULONG ( STDMETHODCALLTYPE *Release )( 
  717.             IEnumQueue * This);
  718.         
  719.         HRESULT ( STDMETHODCALLTYPE *Next )( 
  720.             IEnumQueue * This,
  721.             /* [in] */ ULONG celt,
  722.             /* [out] */ ITQueue **ppElements,
  723.             /* [out] */ ULONG *pceltFetched);
  724.         
  725.         HRESULT ( STDMETHODCALLTYPE *Reset )( 
  726.             IEnumQueue * This);
  727.         
  728.         HRESULT ( STDMETHODCALLTYPE *Skip )( 
  729.             IEnumQueue * This,
  730.             /* [in] */ ULONG celt);
  731.         
  732.         HRESULT ( STDMETHODCALLTYPE *Clone )( 
  733.             IEnumQueue * This,
  734.             /* [retval][out] */ IEnumQueue **ppEnum);
  735.         
  736.         END_INTERFACE
  737.     } IEnumQueueVtbl;
  738.     interface IEnumQueue
  739.     {
  740.         CONST_VTBL struct IEnumQueueVtbl *lpVtbl;
  741.     };
  742.     
  743. #ifdef COBJMACROS
  744. #define IEnumQueue_QueryInterface(This,riid,ppvObject)
  745.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  746. #define IEnumQueue_AddRef(This)
  747.     (This)->lpVtbl -> AddRef(This)
  748. #define IEnumQueue_Release(This)
  749.     (This)->lpVtbl -> Release(This)
  750. #define IEnumQueue_Next(This,celt,ppElements,pceltFetched)
  751.     (This)->lpVtbl -> Next(This,celt,ppElements,pceltFetched)
  752. #define IEnumQueue_Reset(This)
  753.     (This)->lpVtbl -> Reset(This)
  754. #define IEnumQueue_Skip(This,celt)
  755.     (This)->lpVtbl -> Skip(This,celt)
  756. #define IEnumQueue_Clone(This,ppEnum)
  757.     (This)->lpVtbl -> Clone(This,ppEnum)
  758. #endif /* COBJMACROS */
  759. #endif  /* C style interface */
  760. HRESULT STDMETHODCALLTYPE IEnumQueue_Next_Proxy( 
  761.     IEnumQueue * This,
  762.     /* [in] */ ULONG celt,
  763.     /* [out] */ ITQueue **ppElements,
  764.     /* [out] */ ULONG *pceltFetched);
  765. void __RPC_STUB IEnumQueue_Next_Stub(
  766.     IRpcStubBuffer *This,
  767.     IRpcChannelBuffer *_pRpcChannelBuffer,
  768.     PRPC_MESSAGE _pRpcMessage,
  769.     DWORD *_pdwStubPhase);
  770. HRESULT STDMETHODCALLTYPE IEnumQueue_Reset_Proxy( 
  771.     IEnumQueue * This);
  772. void __RPC_STUB IEnumQueue_Reset_Stub(
  773.     IRpcStubBuffer *This,
  774.     IRpcChannelBuffer *_pRpcChannelBuffer,
  775.     PRPC_MESSAGE _pRpcMessage,
  776.     DWORD *_pdwStubPhase);
  777. HRESULT STDMETHODCALLTYPE IEnumQueue_Skip_Proxy( 
  778.     IEnumQueue * This,
  779.     /* [in] */ ULONG celt);
  780. void __RPC_STUB IEnumQueue_Skip_Stub(
  781.     IRpcStubBuffer *This,
  782.     IRpcChannelBuffer *_pRpcChannelBuffer,
  783.     PRPC_MESSAGE _pRpcMessage,
  784.     DWORD *_pdwStubPhase);
  785. HRESULT STDMETHODCALLTYPE IEnumQueue_Clone_Proxy( 
  786.     IEnumQueue * This,
  787.     /* [retval][out] */ IEnumQueue **ppEnum);
  788. void __RPC_STUB IEnumQueue_Clone_Stub(
  789.     IRpcStubBuffer *This,
  790.     IRpcChannelBuffer *_pRpcChannelBuffer,
  791.     PRPC_MESSAGE _pRpcMessage,
  792.     DWORD *_pdwStubPhase);
  793. #endif  /* __IEnumQueue_INTERFACE_DEFINED__ */
  794. #ifndef __IEnumACDGroup_INTERFACE_DEFINED__
  795. #define __IEnumACDGroup_INTERFACE_DEFINED__
  796. /* interface IEnumACDGroup */
  797. /* [object][unique][hidden][helpstring][uuid] */ 
  798. EXTERN_C const IID IID_IEnumACDGroup;
  799. #if defined(__cplusplus) && !defined(CINTERFACE)
  800.     
  801.     MIDL_INTERFACE("5AFC3157-4BCC-11d1-BF80-00805FC147D3")
  802.     IEnumACDGroup : public IUnknown
  803.     {
  804.     public:
  805.         virtual HRESULT STDMETHODCALLTYPE Next( 
  806.             /* [in] */ ULONG celt,
  807.             /* [out] */ ITACDGroup **ppElements,
  808.             /* [out] */ ULONG *pceltFetched) = 0;
  809.         
  810.         virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  811.         
  812.         virtual HRESULT STDMETHODCALLTYPE Skip( 
  813.             /* [in] */ ULONG celt) = 0;
  814.         
  815.         virtual HRESULT STDMETHODCALLTYPE Clone( 
  816.             /* [retval][out] */ IEnumACDGroup **ppEnum) = 0;
  817.         
  818.     };
  819.     
  820. #else  /* C style interface */
  821.     typedef struct IEnumACDGroupVtbl
  822.     {
  823.         BEGIN_INTERFACE
  824.         
  825.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  826.             IEnumACDGroup * This,
  827.             /* [in] */ REFIID riid,
  828.             /* [iid_is][out] */ void **ppvObject);
  829.         
  830.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  831.             IEnumACDGroup * This);
  832.         
  833.         ULONG ( STDMETHODCALLTYPE *Release )( 
  834.             IEnumACDGroup * This);
  835.         
  836.         HRESULT ( STDMETHODCALLTYPE *Next )( 
  837.             IEnumACDGroup * This,
  838.             /* [in] */ ULONG celt,
  839.             /* [out] */ ITACDGroup **ppElements,
  840.             /* [out] */ ULONG *pceltFetched);
  841.         
  842.         HRESULT ( STDMETHODCALLTYPE *Reset )( 
  843.             IEnumACDGroup * This);
  844.         
  845.         HRESULT ( STDMETHODCALLTYPE *Skip )( 
  846.             IEnumACDGroup * This,
  847.             /* [in] */ ULONG celt);
  848.         
  849.         HRESULT ( STDMETHODCALLTYPE *Clone )( 
  850.             IEnumACDGroup * This,
  851.             /* [retval][out] */ IEnumACDGroup **ppEnum);
  852.         
  853.         END_INTERFACE
  854.     } IEnumACDGroupVtbl;
  855.     interface IEnumACDGroup
  856.     {
  857.         CONST_VTBL struct IEnumACDGroupVtbl *lpVtbl;
  858.     };
  859.     
  860. #ifdef COBJMACROS
  861. #define IEnumACDGroup_QueryInterface(This,riid,ppvObject)
  862.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  863. #define IEnumACDGroup_AddRef(This)
  864.     (This)->lpVtbl -> AddRef(This)
  865. #define IEnumACDGroup_Release(This)
  866.     (This)->lpVtbl -> Release(This)
  867. #define IEnumACDGroup_Next(This,celt,ppElements,pceltFetched)
  868.     (This)->lpVtbl -> Next(This,celt,ppElements,pceltFetched)
  869. #define IEnumACDGroup_Reset(This)
  870.     (This)->lpVtbl -> Reset(This)
  871. #define IEnumACDGroup_Skip(This,celt)
  872.     (This)->lpVtbl -> Skip(This,celt)
  873. #define IEnumACDGroup_Clone(This,ppEnum)
  874.     (This)->lpVtbl -> Clone(This,ppEnum)
  875. #endif /* COBJMACROS */
  876. #endif  /* C style interface */
  877. HRESULT STDMETHODCALLTYPE IEnumACDGroup_Next_Proxy( 
  878.     IEnumACDGroup * This,
  879.     /* [in] */ ULONG celt,
  880.     /* [out] */ ITACDGroup **ppElements,
  881.     /* [out] */ ULONG *pceltFetched);
  882. void __RPC_STUB IEnumACDGroup_Next_Stub(
  883.     IRpcStubBuffer *This,
  884.     IRpcChannelBuffer *_pRpcChannelBuffer,
  885.     PRPC_MESSAGE _pRpcMessage,
  886.     DWORD *_pdwStubPhase);
  887. HRESULT STDMETHODCALLTYPE IEnumACDGroup_Reset_Proxy( 
  888.     IEnumACDGroup * This);
  889. void __RPC_STUB IEnumACDGroup_Reset_Stub(
  890.     IRpcStubBuffer *This,
  891.     IRpcChannelBuffer *_pRpcChannelBuffer,
  892.     PRPC_MESSAGE _pRpcMessage,
  893.     DWORD *_pdwStubPhase);
  894. HRESULT STDMETHODCALLTYPE IEnumACDGroup_Skip_Proxy( 
  895.     IEnumACDGroup * This,
  896.     /* [in] */ ULONG celt);
  897. void __RPC_STUB IEnumACDGroup_Skip_Stub(
  898.     IRpcStubBuffer *This,
  899.     IRpcChannelBuffer *_pRpcChannelBuffer,
  900.     PRPC_MESSAGE _pRpcMessage,
  901.     DWORD *_pdwStubPhase);
  902. HRESULT STDMETHODCALLTYPE IEnumACDGroup_Clone_Proxy( 
  903.     IEnumACDGroup * This,
  904.     /* [retval][out] */ IEnumACDGroup **ppEnum);
  905. void __RPC_STUB IEnumACDGroup_Clone_Stub(
  906.     IRpcStubBuffer *This,
  907.     IRpcChannelBuffer *_pRpcChannelBuffer,
  908.     PRPC_MESSAGE _pRpcMessage,
  909.     DWORD *_pdwStubPhase);
  910. #endif  /* __IEnumACDGroup_INTERFACE_DEFINED__ */
  911. #ifndef __IEnumAgentHandler_INTERFACE_DEFINED__
  912. #define __IEnumAgentHandler_INTERFACE_DEFINED__
  913. /* interface IEnumAgentHandler */
  914. /* [object][unique][hidden][helpstring][uuid] */ 
  915. EXTERN_C const IID IID_IEnumAgentHandler;
  916. #if defined(__cplusplus) && !defined(CINTERFACE)
  917.     
  918.     MIDL_INTERFACE("587E8C28-9802-11d1-A0A4-00805FC147D3")
  919.     IEnumAgentHandler : public IUnknown
  920.     {
  921.     public:
  922.         virtual HRESULT STDMETHODCALLTYPE Next( 
  923.             /* [in] */ ULONG celt,
  924.             /* [out] */ ITAgentHandler **ppElements,
  925.             /* [out] */ ULONG *pceltFetched) = 0;
  926.         
  927.         virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  928.         
  929.         virtual HRESULT STDMETHODCALLTYPE Skip( 
  930.             /* [in] */ ULONG celt) = 0;
  931.         
  932.         virtual HRESULT STDMETHODCALLTYPE Clone( 
  933.             /* [retval][out] */ IEnumAgentHandler **ppEnum) = 0;
  934.         
  935.     };
  936.     
  937. #else  /* C style interface */
  938.     typedef struct IEnumAgentHandlerVtbl
  939.     {
  940.         BEGIN_INTERFACE
  941.         
  942.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  943.             IEnumAgentHandler * This,
  944.             /* [in] */ REFIID riid,
  945.             /* [iid_is][out] */ void **ppvObject);
  946.         
  947.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  948.             IEnumAgentHandler * This);
  949.         
  950.         ULONG ( STDMETHODCALLTYPE *Release )( 
  951.             IEnumAgentHandler * This);
  952.         
  953.         HRESULT ( STDMETHODCALLTYPE *Next )( 
  954.             IEnumAgentHandler * This,
  955.             /* [in] */ ULONG celt,
  956.             /* [out] */ ITAgentHandler **ppElements,
  957.             /* [out] */ ULONG *pceltFetched);
  958.         
  959.         HRESULT ( STDMETHODCALLTYPE *Reset )( 
  960.             IEnumAgentHandler * This);
  961.         
  962.         HRESULT ( STDMETHODCALLTYPE *Skip )( 
  963.             IEnumAgentHandler * This,
  964.             /* [in] */ ULONG celt);
  965.         
  966.         HRESULT ( STDMETHODCALLTYPE *Clone )( 
  967.             IEnumAgentHandler * This,
  968.             /* [retval][out] */ IEnumAgentHandler **ppEnum);
  969.         
  970.         END_INTERFACE
  971.     } IEnumAgentHandlerVtbl;
  972.     interface IEnumAgentHandler
  973.     {
  974.         CONST_VTBL struct IEnumAgentHandlerVtbl *lpVtbl;
  975.     };
  976.     
  977. #ifdef COBJMACROS
  978. #define IEnumAgentHandler_QueryInterface(This,riid,ppvObject)
  979.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  980. #define IEnumAgentHandler_AddRef(This)
  981.     (This)->lpVtbl -> AddRef(This)
  982. #define IEnumAgentHandler_Release(This)
  983.     (This)->lpVtbl -> Release(This)
  984. #define IEnumAgentHandler_Next(This,celt,ppElements,pceltFetched)
  985.     (This)->lpVtbl -> Next(This,celt,ppElements,pceltFetched)
  986. #define IEnumAgentHandler_Reset(This)
  987.     (This)->lpVtbl -> Reset(This)
  988. #define IEnumAgentHandler_Skip(This,celt)
  989.     (This)->lpVtbl -> Skip(This,celt)
  990. #define IEnumAgentHandler_Clone(This,ppEnum)
  991.     (This)->lpVtbl -> Clone(This,ppEnum)
  992. #endif /* COBJMACROS */
  993. #endif  /* C style interface */
  994. HRESULT STDMETHODCALLTYPE IEnumAgentHandler_Next_Proxy( 
  995.     IEnumAgentHandler * This,
  996.     /* [in] */ ULONG celt,
  997.     /* [out] */ ITAgentHandler **ppElements,
  998.     /* [out] */ ULONG *pceltFetched);
  999. void __RPC_STUB IEnumAgentHandler_Next_Stub(
  1000.     IRpcStubBuffer *This,
  1001.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1002.     PRPC_MESSAGE _pRpcMessage,
  1003.     DWORD *_pdwStubPhase);
  1004. HRESULT STDMETHODCALLTYPE IEnumAgentHandler_Reset_Proxy( 
  1005.     IEnumAgentHandler * This);
  1006. void __RPC_STUB IEnumAgentHandler_Reset_Stub(
  1007.     IRpcStubBuffer *This,
  1008.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1009.     PRPC_MESSAGE _pRpcMessage,
  1010.     DWORD *_pdwStubPhase);
  1011. HRESULT STDMETHODCALLTYPE IEnumAgentHandler_Skip_Proxy( 
  1012.     IEnumAgentHandler * This,
  1013.     /* [in] */ ULONG celt);
  1014. void __RPC_STUB IEnumAgentHandler_Skip_Stub(
  1015.     IRpcStubBuffer *This,
  1016.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1017.     PRPC_MESSAGE _pRpcMessage,
  1018.     DWORD *_pdwStubPhase);
  1019. HRESULT STDMETHODCALLTYPE IEnumAgentHandler_Clone_Proxy( 
  1020.     IEnumAgentHandler * This,
  1021.     /* [retval][out] */ IEnumAgentHandler **ppEnum);
  1022. void __RPC_STUB IEnumAgentHandler_Clone_Stub(
  1023.     IRpcStubBuffer *This,
  1024.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1025.     PRPC_MESSAGE _pRpcMessage,
  1026.     DWORD *_pdwStubPhase);
  1027. #endif  /* __IEnumAgentHandler_INTERFACE_DEFINED__ */
  1028. /* interface __MIDL_itf_tapi3_0502 */
  1029. /* [local] */ 
  1030. /* Copyright (c) Microsoft Corporation. All rights reserved. */
  1031. extern RPC_IF_HANDLE __MIDL_itf_tapi3_0502_v0_0_c_ifspec;
  1032. extern RPC_IF_HANDLE __MIDL_itf_tapi3_0502_v0_0_s_ifspec;
  1033. #ifndef __ITAMMediaFormat_INTERFACE_DEFINED__
  1034. #define __ITAMMediaFormat_INTERFACE_DEFINED__
  1035. /* interface ITAMMediaFormat */
  1036. /* [object][helpstring][uuid] */ 
  1037. EXTERN_C const IID IID_ITAMMediaFormat;
  1038. #if defined(__cplusplus) && !defined(CINTERFACE)
  1039.     
  1040.     MIDL_INTERFACE("0364EB00-4A77-11D1-A671-006097C9A2E8")
  1041.     ITAMMediaFormat : public IUnknown
  1042.     {
  1043.     public:
  1044.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MediaFormat( 
  1045.             /* [retval][out] */ AM_MEDIA_TYPE **ppmt) = 0;
  1046.         
  1047.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_MediaFormat( 
  1048.             /* [in] */ const AM_MEDIA_TYPE *pmt) = 0;
  1049.         
  1050.     };
  1051.     
  1052. #else  /* C style interface */
  1053.     typedef struct ITAMMediaFormatVtbl
  1054.     {
  1055.         BEGIN_INTERFACE
  1056.         
  1057.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1058.             ITAMMediaFormat * This,
  1059.             /* [in] */ REFIID riid,
  1060.             /* [iid_is][out] */ void **ppvObject);
  1061.         
  1062.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1063.             ITAMMediaFormat * This);
  1064.         
  1065.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1066.             ITAMMediaFormat * This);
  1067.         
  1068.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MediaFormat )( 
  1069.             ITAMMediaFormat * This,
  1070.             /* [retval][out] */ AM_MEDIA_TYPE **ppmt);
  1071.         
  1072.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MediaFormat )( 
  1073.             ITAMMediaFormat * This,
  1074.             /* [in] */ const AM_MEDIA_TYPE *pmt);
  1075.         
  1076.         END_INTERFACE
  1077.     } ITAMMediaFormatVtbl;
  1078.     interface ITAMMediaFormat
  1079.     {
  1080.         CONST_VTBL struct ITAMMediaFormatVtbl *lpVtbl;
  1081.     };
  1082.     
  1083. #ifdef COBJMACROS
  1084. #define ITAMMediaFormat_QueryInterface(This,riid,ppvObject)
  1085.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1086. #define ITAMMediaFormat_AddRef(This)
  1087.     (This)->lpVtbl -> AddRef(This)
  1088. #define ITAMMediaFormat_Release(This)
  1089.     (This)->lpVtbl -> Release(This)
  1090. #define ITAMMediaFormat_get_MediaFormat(This,ppmt)
  1091.     (This)->lpVtbl -> get_MediaFormat(This,ppmt)
  1092. #define ITAMMediaFormat_put_MediaFormat(This,pmt)
  1093.     (This)->lpVtbl -> put_MediaFormat(This,pmt)
  1094. #endif /* COBJMACROS */
  1095. #endif  /* C style interface */
  1096. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAMMediaFormat_get_MediaFormat_Proxy( 
  1097.     ITAMMediaFormat * This,
  1098.     /* [retval][out] */ AM_MEDIA_TYPE **ppmt);
  1099. void __RPC_STUB ITAMMediaFormat_get_MediaFormat_Stub(
  1100.     IRpcStubBuffer *This,
  1101.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1102.     PRPC_MESSAGE _pRpcMessage,
  1103.     DWORD *_pdwStubPhase);
  1104. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITAMMediaFormat_put_MediaFormat_Proxy( 
  1105.     ITAMMediaFormat * This,
  1106.     /* [in] */ const AM_MEDIA_TYPE *pmt);
  1107. void __RPC_STUB ITAMMediaFormat_put_MediaFormat_Stub(
  1108.     IRpcStubBuffer *This,
  1109.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1110.     PRPC_MESSAGE _pRpcMessage,
  1111.     DWORD *_pdwStubPhase);
  1112. #endif  /* __ITAMMediaFormat_INTERFACE_DEFINED__ */
  1113. #ifndef __ITAllocatorProperties_INTERFACE_DEFINED__
  1114. #define __ITAllocatorProperties_INTERFACE_DEFINED__
  1115. /* interface ITAllocatorProperties */
  1116. /* [object][helpstring][uuid] */ 
  1117. EXTERN_C const IID IID_ITAllocatorProperties;
  1118. #if defined(__cplusplus) && !defined(CINTERFACE)
  1119.     
  1120.     MIDL_INTERFACE("C1BC3C90-BCFE-11D1-9745-00C04FD91AC0")
  1121.     ITAllocatorProperties : public IUnknown
  1122.     {
  1123.     public:
  1124.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetAllocatorProperties( 
  1125.             /* [in] */ ALLOCATOR_PROPERTIES *pAllocProperties) = 0;
  1126.         
  1127.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetAllocatorProperties( 
  1128.             /* [out] */ ALLOCATOR_PROPERTIES *pAllocProperties) = 0;
  1129.         
  1130.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetAllocateBuffers( 
  1131.             /* [in] */ BOOL bAllocBuffers) = 0;
  1132.         
  1133.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetAllocateBuffers( 
  1134.             /* [out] */ BOOL *pbAllocBuffers) = 0;
  1135.         
  1136.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetBufferSize( 
  1137.             /* [in] */ DWORD BufferSize) = 0;
  1138.         
  1139.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetBufferSize( 
  1140.             /* [out] */ DWORD *pBufferSize) = 0;
  1141.         
  1142.     };
  1143.     
  1144. #else  /* C style interface */
  1145.     typedef struct ITAllocatorPropertiesVtbl
  1146.     {
  1147.         BEGIN_INTERFACE
  1148.         
  1149.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1150.             ITAllocatorProperties * This,
  1151.             /* [in] */ REFIID riid,
  1152.             /* [iid_is][out] */ void **ppvObject);
  1153.         
  1154.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1155.             ITAllocatorProperties * This);
  1156.         
  1157.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1158.             ITAllocatorProperties * This);
  1159.         
  1160.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetAllocatorProperties )( 
  1161.             ITAllocatorProperties * This,
  1162.             /* [in] */ ALLOCATOR_PROPERTIES *pAllocProperties);
  1163.         
  1164.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetAllocatorProperties )( 
  1165.             ITAllocatorProperties * This,
  1166.             /* [out] */ ALLOCATOR_PROPERTIES *pAllocProperties);
  1167.         
  1168.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetAllocateBuffers )( 
  1169.             ITAllocatorProperties * This,
  1170.             /* [in] */ BOOL bAllocBuffers);
  1171.         
  1172.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetAllocateBuffers )( 
  1173.             ITAllocatorProperties * This,
  1174.             /* [out] */ BOOL *pbAllocBuffers);
  1175.         
  1176.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetBufferSize )( 
  1177.             ITAllocatorProperties * This,
  1178.             /* [in] */ DWORD BufferSize);
  1179.         
  1180.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetBufferSize )( 
  1181.             ITAllocatorProperties * This,
  1182.             /* [out] */ DWORD *pBufferSize);
  1183.         
  1184.         END_INTERFACE
  1185.     } ITAllocatorPropertiesVtbl;
  1186.     interface ITAllocatorProperties
  1187.     {
  1188.         CONST_VTBL struct ITAllocatorPropertiesVtbl *lpVtbl;
  1189.     };
  1190.     
  1191. #ifdef COBJMACROS
  1192. #define ITAllocatorProperties_QueryInterface(This,riid,ppvObject)
  1193.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1194. #define ITAllocatorProperties_AddRef(This)
  1195.     (This)->lpVtbl -> AddRef(This)
  1196. #define ITAllocatorProperties_Release(This)
  1197.     (This)->lpVtbl -> Release(This)
  1198. #define ITAllocatorProperties_SetAllocatorProperties(This,pAllocProperties)
  1199.     (This)->lpVtbl -> SetAllocatorProperties(This,pAllocProperties)
  1200. #define ITAllocatorProperties_GetAllocatorProperties(This,pAllocProperties)
  1201.     (This)->lpVtbl -> GetAllocatorProperties(This,pAllocProperties)
  1202. #define ITAllocatorProperties_SetAllocateBuffers(This,bAllocBuffers)
  1203.     (This)->lpVtbl -> SetAllocateBuffers(This,bAllocBuffers)
  1204. #define ITAllocatorProperties_GetAllocateBuffers(This,pbAllocBuffers)
  1205.     (This)->lpVtbl -> GetAllocateBuffers(This,pbAllocBuffers)
  1206. #define ITAllocatorProperties_SetBufferSize(This,BufferSize)
  1207.     (This)->lpVtbl -> SetBufferSize(This,BufferSize)
  1208. #define ITAllocatorProperties_GetBufferSize(This,pBufferSize)
  1209.     (This)->lpVtbl -> GetBufferSize(This,pBufferSize)
  1210. #endif /* COBJMACROS */
  1211. #endif  /* C style interface */
  1212. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAllocatorProperties_SetAllocatorProperties_Proxy( 
  1213.     ITAllocatorProperties * This,
  1214.     /* [in] */ ALLOCATOR_PROPERTIES *pAllocProperties);
  1215. void __RPC_STUB ITAllocatorProperties_SetAllocatorProperties_Stub(
  1216.     IRpcStubBuffer *This,
  1217.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1218.     PRPC_MESSAGE _pRpcMessage,
  1219.     DWORD *_pdwStubPhase);
  1220. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAllocatorProperties_GetAllocatorProperties_Proxy( 
  1221.     ITAllocatorProperties * This,
  1222.     /* [out] */ ALLOCATOR_PROPERTIES *pAllocProperties);
  1223. void __RPC_STUB ITAllocatorProperties_GetAllocatorProperties_Stub(
  1224.     IRpcStubBuffer *This,
  1225.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1226.     PRPC_MESSAGE _pRpcMessage,
  1227.     DWORD *_pdwStubPhase);
  1228. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAllocatorProperties_SetAllocateBuffers_Proxy( 
  1229.     ITAllocatorProperties * This,
  1230.     /* [in] */ BOOL bAllocBuffers);
  1231. void __RPC_STUB ITAllocatorProperties_SetAllocateBuffers_Stub(
  1232.     IRpcStubBuffer *This,
  1233.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1234.     PRPC_MESSAGE _pRpcMessage,
  1235.     DWORD *_pdwStubPhase);
  1236. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAllocatorProperties_GetAllocateBuffers_Proxy( 
  1237.     ITAllocatorProperties * This,
  1238.     /* [out] */ BOOL *pbAllocBuffers);
  1239. void __RPC_STUB ITAllocatorProperties_GetAllocateBuffers_Stub(
  1240.     IRpcStubBuffer *This,
  1241.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1242.     PRPC_MESSAGE _pRpcMessage,
  1243.     DWORD *_pdwStubPhase);
  1244. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAllocatorProperties_SetBufferSize_Proxy( 
  1245.     ITAllocatorProperties * This,
  1246.     /* [in] */ DWORD BufferSize);
  1247. void __RPC_STUB ITAllocatorProperties_SetBufferSize_Stub(
  1248.     IRpcStubBuffer *This,
  1249.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1250.     PRPC_MESSAGE _pRpcMessage,
  1251.     DWORD *_pdwStubPhase);
  1252. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAllocatorProperties_GetBufferSize_Proxy( 
  1253.     ITAllocatorProperties * This,
  1254.     /* [out] */ DWORD *pBufferSize);
  1255. void __RPC_STUB ITAllocatorProperties_GetBufferSize_Stub(
  1256.     IRpcStubBuffer *This,
  1257.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1258.     PRPC_MESSAGE _pRpcMessage,
  1259.     DWORD *_pdwStubPhase);
  1260. #endif  /* __ITAllocatorProperties_INTERFACE_DEFINED__ */
  1261. /* interface __MIDL_itf_tapi3_0506 */
  1262. /* [local] */ 
  1263. /* Copyright (c) Microsoft Corporation. All rights reserved.*/
  1264. typedef long *MSP_HANDLE;
  1265. typedef /* [public][public][public] */ 
  1266. enum __MIDL___MIDL_itf_tapi3_0506_0001
  1267.     { ADDRESS_TERMINAL_AVAILABLE = 0,
  1268. ADDRESS_TERMINAL_UNAVAILABLE = ADDRESS_TERMINAL_AVAILABLE + 1
  1269.     }  MSP_ADDRESS_EVENT;
  1270. typedef /* [public][public][public] */ 
  1271. enum __MIDL___MIDL_itf_tapi3_0506_0002
  1272.     { CALL_NEW_STREAM = 0,
  1273. CALL_STREAM_FAIL = CALL_NEW_STREAM + 1,
  1274. CALL_TERMINAL_FAIL = CALL_STREAM_FAIL + 1,
  1275. CALL_STREAM_NOT_USED = CALL_TERMINAL_FAIL + 1,
  1276. CALL_STREAM_ACTIVE = CALL_STREAM_NOT_USED + 1,
  1277. CALL_STREAM_INACTIVE = CALL_STREAM_ACTIVE + 1
  1278.     }  MSP_CALL_EVENT;
  1279. typedef /* [public][public][public] */ 
  1280. enum __MIDL___MIDL_itf_tapi3_0506_0003
  1281.     { CALL_CAUSE_UNKNOWN = 0,
  1282. CALL_CAUSE_BAD_DEVICE = CALL_CAUSE_UNKNOWN + 1,
  1283. CALL_CAUSE_CONNECT_FAIL = CALL_CAUSE_BAD_DEVICE + 1,
  1284. CALL_CAUSE_LOCAL_REQUEST = CALL_CAUSE_CONNECT_FAIL + 1,
  1285. CALL_CAUSE_REMOTE_REQUEST = CALL_CAUSE_LOCAL_REQUEST + 1,
  1286. CALL_CAUSE_MEDIA_TIMEOUT = CALL_CAUSE_REMOTE_REQUEST + 1,
  1287. CALL_CAUSE_MEDIA_RECOVERED = CALL_CAUSE_MEDIA_TIMEOUT + 1,
  1288. CALL_CAUSE_QUALITY_OF_SERVICE = CALL_CAUSE_MEDIA_RECOVERED + 1
  1289.     }  MSP_CALL_EVENT_CAUSE;
  1290. typedef /* [public][public][public] */ 
  1291. enum __MIDL___MIDL_itf_tapi3_0506_0004
  1292.     { ME_ADDRESS_EVENT = 0,
  1293. ME_CALL_EVENT = ME_ADDRESS_EVENT + 1,
  1294. ME_TSP_DATA = ME_CALL_EVENT + 1,
  1295. ME_PRIVATE_EVENT = ME_TSP_DATA + 1,
  1296. ME_ASR_TERMINAL_EVENT = ME_PRIVATE_EVENT + 1,
  1297. ME_TTS_TERMINAL_EVENT = ME_ASR_TERMINAL_EVENT + 1,
  1298. ME_FILE_TERMINAL_EVENT = ME_TTS_TERMINAL_EVENT + 1,
  1299. ME_TONE_TERMINAL_EVENT = ME_FILE_TERMINAL_EVENT + 1
  1300.     }  MSP_EVENT;
  1301. typedef /* [public][public] */ struct __MIDL___MIDL_itf_tapi3_0506_0005
  1302.     {
  1303.     DWORD dwSize;
  1304.     MSP_EVENT Event;
  1305.     MSP_HANDLE hCall;
  1306.     /* [switch_is][switch_type] */ union 
  1307.         {
  1308.         /* [case()] */ struct 
  1309.             {
  1310.             MSP_ADDRESS_EVENT Type;
  1311.             ITTerminal *pTerminal;
  1312.             }  MSP_ADDRESS_EVENT_INFO;
  1313.         /* [case()] */ struct 
  1314.             {
  1315.             MSP_CALL_EVENT Type;
  1316.             MSP_CALL_EVENT_CAUSE Cause;
  1317.             ITStream *pStream;
  1318.             ITTerminal *pTerminal;
  1319.             HRESULT hrError;
  1320.             }  MSP_CALL_EVENT_INFO;
  1321.         /* [case()] */ struct 
  1322.             {
  1323.             DWORD dwBufferSize;
  1324.             BYTE pBuffer[ 1 ];
  1325.             }  MSP_TSP_DATA;
  1326.         /* [case()] */ struct 
  1327.             {
  1328.             IDispatch *pEvent;
  1329.             long lEventCode;
  1330.             }  MSP_PRIVATE_EVENT_INFO;
  1331.         /* [case()] */ struct 
  1332.             {
  1333.             ITTerminal *pParentFileTerminal;
  1334.             ITFileTrack *pFileTrack;
  1335.             TERMINAL_MEDIA_STATE TerminalMediaState;
  1336.             FT_STATE_EVENT_CAUSE ftecEventCause;
  1337.             HRESULT hrErrorCode;
  1338.             }  MSP_FILE_TERMINAL_EVENT_INFO;
  1339.         /* [case()] */ struct 
  1340.             {
  1341.             ITTerminal *pASRTerminal;
  1342.             HRESULT hrErrorCode;
  1343.             }  MSP_ASR_TERMINAL_EVENT_INFO;
  1344.         /* [case()] */ struct 
  1345.             {
  1346.             ITTerminal *pTTSTerminal;
  1347.             HRESULT hrErrorCode;
  1348.             }  MSP_TTS_TERMINAL_EVENT_INFO;
  1349.         /* [case()] */ struct 
  1350.             {
  1351.             ITTerminal *pToneTerminal;
  1352.             HRESULT hrErrorCode;
  1353.             }  MSP_TONE_TERMINAL_EVENT_INFO;
  1354.         }  ;
  1355.     }  MSP_EVENT_INFO;
  1356. extern RPC_IF_HANDLE __MIDL_itf_tapi3_0506_v0_0_c_ifspec;
  1357. extern RPC_IF_HANDLE __MIDL_itf_tapi3_0506_v0_0_s_ifspec;
  1358. #ifndef __ITPluggableTerminalEventSink_INTERFACE_DEFINED__
  1359. #define __ITPluggableTerminalEventSink_INTERFACE_DEFINED__
  1360. /* interface ITPluggableTerminalEventSink */
  1361. /* [object][unique][helpstring][uuid] */ 
  1362. EXTERN_C const IID IID_ITPluggableTerminalEventSink;
  1363. #if defined(__cplusplus) && !defined(CINTERFACE)
  1364.     
  1365.     MIDL_INTERFACE("6E0887BE-BA1A-492e-BD10-4020EC5E33E0")
  1366.     ITPluggableTerminalEventSink : public IUnknown
  1367.     {
  1368.     public:
  1369.         virtual HRESULT STDMETHODCALLTYPE FireEvent( 
  1370.             /* [in] */ const MSP_EVENT_INFO *pMspEventInfo) = 0;
  1371.         
  1372.     };
  1373.     
  1374. #else  /* C style interface */
  1375.     typedef struct ITPluggableTerminalEventSinkVtbl
  1376.     {
  1377.         BEGIN_INTERFACE
  1378.         
  1379.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1380.             ITPluggableTerminalEventSink * This,
  1381.             /* [in] */ REFIID riid,
  1382.             /* [iid_is][out] */ void **ppvObject);
  1383.         
  1384.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1385.             ITPluggableTerminalEventSink * This);
  1386.         
  1387.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1388.             ITPluggableTerminalEventSink * This);
  1389.         
  1390.         HRESULT ( STDMETHODCALLTYPE *FireEvent )( 
  1391.             ITPluggableTerminalEventSink * This,
  1392.             /* [in] */ const MSP_EVENT_INFO *pMspEventInfo);
  1393.         
  1394.         END_INTERFACE
  1395.     } ITPluggableTerminalEventSinkVtbl;
  1396.     interface ITPluggableTerminalEventSink
  1397.     {
  1398.         CONST_VTBL struct ITPluggableTerminalEventSinkVtbl *lpVtbl;
  1399.     };
  1400.     
  1401. #ifdef COBJMACROS
  1402. #define ITPluggableTerminalEventSink_QueryInterface(This,riid,ppvObject)
  1403.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1404. #define ITPluggableTerminalEventSink_AddRef(This)
  1405.     (This)->lpVtbl -> AddRef(This)
  1406. #define ITPluggableTerminalEventSink_Release(This)
  1407.     (This)->lpVtbl -> Release(This)
  1408. #define ITPluggableTerminalEventSink_FireEvent(This,pMspEventInfo)
  1409.     (This)->lpVtbl -> FireEvent(This,pMspEventInfo)
  1410. #endif /* COBJMACROS */
  1411. #endif  /* C style interface */
  1412. HRESULT STDMETHODCALLTYPE ITPluggableTerminalEventSink_FireEvent_Proxy( 
  1413.     ITPluggableTerminalEventSink * This,
  1414.     /* [in] */ const MSP_EVENT_INFO *pMspEventInfo);
  1415. void __RPC_STUB ITPluggableTerminalEventSink_FireEvent_Stub(
  1416.     IRpcStubBuffer *This,
  1417.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1418.     PRPC_MESSAGE _pRpcMessage,
  1419.     DWORD *_pdwStubPhase);
  1420. #endif  /* __ITPluggableTerminalEventSink_INTERFACE_DEFINED__ */
  1421. #ifndef __ITPluggableTerminalEventSinkRegistration_INTERFACE_DEFINED__
  1422. #define __ITPluggableTerminalEventSinkRegistration_INTERFACE_DEFINED__
  1423. /* interface ITPluggableTerminalEventSinkRegistration */
  1424. /* [object][unique][helpstring][uuid] */ 
  1425. EXTERN_C const IID IID_ITPluggableTerminalEventSinkRegistration;
  1426. #if defined(__cplusplus) && !defined(CINTERFACE)
  1427.     
  1428.     MIDL_INTERFACE("F7115709-A216-4957-A759-060AB32A90D1")
  1429.     ITPluggableTerminalEventSinkRegistration : public IUnknown
  1430.     {
  1431.     public:
  1432.         virtual HRESULT STDMETHODCALLTYPE RegisterSink( 
  1433.             /* [in] */ ITPluggableTerminalEventSink *pEventSink) = 0;
  1434.         
  1435.         virtual HRESULT STDMETHODCALLTYPE UnregisterSink( void) = 0;
  1436.         
  1437.     };
  1438.     
  1439. #else  /* C style interface */
  1440.     typedef struct ITPluggableTerminalEventSinkRegistrationVtbl
  1441.     {
  1442.         BEGIN_INTERFACE
  1443.         
  1444.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1445.             ITPluggableTerminalEventSinkRegistration * This,
  1446.             /* [in] */ REFIID riid,
  1447.             /* [iid_is][out] */ void **ppvObject);
  1448.         
  1449.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1450.             ITPluggableTerminalEventSinkRegistration * This);
  1451.         
  1452.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1453.             ITPluggableTerminalEventSinkRegistration * This);
  1454.         
  1455.         HRESULT ( STDMETHODCALLTYPE *RegisterSink )( 
  1456.             ITPluggableTerminalEventSinkRegistration * This,
  1457.             /* [in] */ ITPluggableTerminalEventSink *pEventSink);
  1458.         
  1459.         HRESULT ( STDMETHODCALLTYPE *UnregisterSink )( 
  1460.             ITPluggableTerminalEventSinkRegistration * This);
  1461.         
  1462.         END_INTERFACE
  1463.     } ITPluggableTerminalEventSinkRegistrationVtbl;
  1464.     interface ITPluggableTerminalEventSinkRegistration
  1465.     {
  1466.         CONST_VTBL struct ITPluggableTerminalEventSinkRegistrationVtbl *lpVtbl;
  1467.     };
  1468.     
  1469. #ifdef COBJMACROS
  1470. #define ITPluggableTerminalEventSinkRegistration_QueryInterface(This,riid,ppvObject)
  1471.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1472. #define ITPluggableTerminalEventSinkRegistration_AddRef(This)
  1473.     (This)->lpVtbl -> AddRef(This)
  1474. #define ITPluggableTerminalEventSinkRegistration_Release(This)
  1475.     (This)->lpVtbl -> Release(This)
  1476. #define ITPluggableTerminalEventSinkRegistration_RegisterSink(This,pEventSink)
  1477.     (This)->lpVtbl -> RegisterSink(This,pEventSink)
  1478. #define ITPluggableTerminalEventSinkRegistration_UnregisterSink(This)
  1479.     (This)->lpVtbl -> UnregisterSink(This)
  1480. #endif /* COBJMACROS */
  1481. #endif  /* C style interface */
  1482. HRESULT STDMETHODCALLTYPE ITPluggableTerminalEventSinkRegistration_RegisterSink_Proxy( 
  1483.     ITPluggableTerminalEventSinkRegistration * This,
  1484.     /* [in] */ ITPluggableTerminalEventSink *pEventSink);
  1485. void __RPC_STUB ITPluggableTerminalEventSinkRegistration_RegisterSink_Stub(
  1486.     IRpcStubBuffer *This,
  1487.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1488.     PRPC_MESSAGE _pRpcMessage,
  1489.     DWORD *_pdwStubPhase);
  1490. HRESULT STDMETHODCALLTYPE ITPluggableTerminalEventSinkRegistration_UnregisterSink_Proxy( 
  1491.     ITPluggableTerminalEventSinkRegistration * This);
  1492. void __RPC_STUB ITPluggableTerminalEventSinkRegistration_UnregisterSink_Stub(
  1493.     IRpcStubBuffer *This,
  1494.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1495.     PRPC_MESSAGE _pRpcMessage,
  1496.     DWORD *_pdwStubPhase);
  1497. #endif  /* __ITPluggableTerminalEventSinkRegistration_INTERFACE_DEFINED__ */
  1498. #ifndef __ITMSPAddress_INTERFACE_DEFINED__
  1499. #define __ITMSPAddress_INTERFACE_DEFINED__
  1500. /* interface ITMSPAddress */
  1501. /* [object][unique][helpstring][uuid] */ 
  1502. EXTERN_C const IID IID_ITMSPAddress;
  1503. #if defined(__cplusplus) && !defined(CINTERFACE)
  1504.     
  1505.     MIDL_INTERFACE("EE3BD600-3868-11D2-A045-00C04FB6809F")
  1506.     ITMSPAddress : public IUnknown
  1507.     {
  1508.     public:
  1509.         virtual HRESULT STDMETHODCALLTYPE Initialize( 
  1510.             /* [in] */ MSP_HANDLE hEvent) = 0;
  1511.         
  1512.         virtual HRESULT STDMETHODCALLTYPE Shutdown( void) = 0;
  1513.         
  1514.         virtual HRESULT STDMETHODCALLTYPE CreateMSPCall( 
  1515.             /* [in] */ MSP_HANDLE hCall,
  1516.             /* [in] */ DWORD dwReserved,
  1517.             /* [in] */ DWORD dwMediaType,
  1518.             /* [in] */ IUnknown *pOuterUnknown,
  1519.             /* [out] */ IUnknown **ppStreamControl) = 0;
  1520.         
  1521.         virtual HRESULT STDMETHODCALLTYPE ShutdownMSPCall( 
  1522.             /* [in] */ IUnknown *pStreamControl) = 0;
  1523.         
  1524.         virtual HRESULT STDMETHODCALLTYPE ReceiveTSPData( 
  1525.             /* [in] */ IUnknown *pMSPCall,
  1526.             /* [size_is][in] */ BYTE *pBuffer,
  1527.             /* [in] */ DWORD dwSize) = 0;
  1528.         
  1529.         virtual HRESULT STDMETHODCALLTYPE GetEvent( 
  1530.             /* [out][in] */ DWORD *pdwSize,
  1531.             /* [size_is][out][in] */ byte *pEventBuffer) = 0;
  1532.         
  1533.     };
  1534.     
  1535. #else  /* C style interface */
  1536.     typedef struct ITMSPAddressVtbl
  1537.     {
  1538.         BEGIN_INTERFACE
  1539.         
  1540.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1541.             ITMSPAddress * This,
  1542.             /* [in] */ REFIID riid,
  1543.             /* [iid_is][out] */ void **ppvObject);
  1544.         
  1545.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1546.             ITMSPAddress * This);
  1547.         
  1548.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1549.             ITMSPAddress * This);
  1550.         
  1551.         HRESULT ( STDMETHODCALLTYPE *Initialize )( 
  1552.             ITMSPAddress * This,
  1553.             /* [in] */ MSP_HANDLE hEvent);
  1554.         
  1555.         HRESULT ( STDMETHODCALLTYPE *Shutdown )( 
  1556.             ITMSPAddress * This);
  1557.         
  1558.         HRESULT ( STDMETHODCALLTYPE *CreateMSPCall )( 
  1559.             ITMSPAddress * This,
  1560.             /* [in] */ MSP_HANDLE hCall,
  1561.             /* [in] */ DWORD dwReserved,
  1562.             /* [in] */ DWORD dwMediaType,
  1563.             /* [in] */ IUnknown *pOuterUnknown,
  1564.             /* [out] */ IUnknown **ppStreamControl);
  1565.         
  1566.         HRESULT ( STDMETHODCALLTYPE *ShutdownMSPCall )( 
  1567.             ITMSPAddress * This,
  1568.             /* [in] */ IUnknown *pStreamControl);
  1569.         
  1570.         HRESULT ( STDMETHODCALLTYPE *ReceiveTSPData )( 
  1571.             ITMSPAddress * This,
  1572.             /* [in] */ IUnknown *pMSPCall,
  1573.             /* [size_is][in] */ BYTE *pBuffer,
  1574.             /* [in] */ DWORD dwSize);
  1575.         
  1576.         HRESULT ( STDMETHODCALLTYPE *GetEvent )( 
  1577.             ITMSPAddress * This,
  1578.             /* [out][in] */ DWORD *pdwSize,
  1579.             /* [size_is][out][in] */ byte *pEventBuffer);
  1580.         
  1581.         END_INTERFACE
  1582.     } ITMSPAddressVtbl;
  1583.     interface ITMSPAddress
  1584.     {
  1585.         CONST_VTBL struct ITMSPAddressVtbl *lpVtbl;
  1586.     };
  1587.     
  1588. #ifdef COBJMACROS
  1589. #define ITMSPAddress_QueryInterface(This,riid,ppvObject)
  1590.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1591. #define ITMSPAddress_AddRef(This)
  1592.     (This)->lpVtbl -> AddRef(This)
  1593. #define ITMSPAddress_Release(This)
  1594.     (This)->lpVtbl -> Release(This)
  1595. #define ITMSPAddress_Initialize(This,hEvent)
  1596.     (This)->lpVtbl -> Initialize(This,hEvent)
  1597. #define ITMSPAddress_Shutdown(This)
  1598.     (This)->lpVtbl -> Shutdown(This)
  1599. #define ITMSPAddress_CreateMSPCall(This,hCall,dwReserved,dwMediaType,pOuterUnknown,ppStreamControl)
  1600.     (This)->lpVtbl -> CreateMSPCall(This,hCall,dwReserved,dwMediaType,pOuterUnknown,ppStreamControl)
  1601. #define ITMSPAddress_ShutdownMSPCall(This,pStreamControl)
  1602.     (This)->lpVtbl -> ShutdownMSPCall(This,pStreamControl)
  1603. #define ITMSPAddress_ReceiveTSPData(This,pMSPCall,pBuffer,dwSize)
  1604.     (This)->lpVtbl -> ReceiveTSPData(This,pMSPCall,pBuffer,dwSize)
  1605. #define ITMSPAddress_GetEvent(This,pdwSize,pEventBuffer)
  1606.     (This)->lpVtbl -> GetEvent(This,pdwSize,pEventBuffer)
  1607. #endif /* COBJMACROS */
  1608. #endif  /* C style interface */
  1609. HRESULT STDMETHODCALLTYPE ITMSPAddress_Initialize_Proxy( 
  1610.     ITMSPAddress * This,
  1611.     /* [in] */ MSP_HANDLE hEvent);
  1612. void __RPC_STUB ITMSPAddress_Initialize_Stub(
  1613.     IRpcStubBuffer *This,
  1614.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1615.     PRPC_MESSAGE _pRpcMessage,
  1616.     DWORD *_pdwStubPhase);
  1617. HRESULT STDMETHODCALLTYPE ITMSPAddress_Shutdown_Proxy( 
  1618.     ITMSPAddress * This);
  1619. void __RPC_STUB ITMSPAddress_Shutdown_Stub(
  1620.     IRpcStubBuffer *This,
  1621.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1622.     PRPC_MESSAGE _pRpcMessage,
  1623.     DWORD *_pdwStubPhase);
  1624. HRESULT STDMETHODCALLTYPE ITMSPAddress_CreateMSPCall_Proxy( 
  1625.     ITMSPAddress * This,
  1626.     /* [in] */ MSP_HANDLE hCall,
  1627.     /* [in] */ DWORD dwReserved,
  1628.     /* [in] */ DWORD dwMediaType,
  1629.     /* [in] */ IUnknown *pOuterUnknown,
  1630.     /* [out] */ IUnknown **ppStreamControl);
  1631. void __RPC_STUB ITMSPAddress_CreateMSPCall_Stub(
  1632.     IRpcStubBuffer *This,
  1633.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1634.     PRPC_MESSAGE _pRpcMessage,
  1635.     DWORD *_pdwStubPhase);
  1636. HRESULT STDMETHODCALLTYPE ITMSPAddress_ShutdownMSPCall_Proxy( 
  1637.     ITMSPAddress * This,
  1638.     /* [in] */ IUnknown *pStreamControl);
  1639. void __RPC_STUB ITMSPAddress_ShutdownMSPCall_Stub(
  1640.     IRpcStubBuffer *This,
  1641.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1642.     PRPC_MESSAGE _pRpcMessage,
  1643.     DWORD *_pdwStubPhase);
  1644. HRESULT STDMETHODCALLTYPE ITMSPAddress_ReceiveTSPData_Proxy( 
  1645.     ITMSPAddress * This,
  1646.     /* [in] */ IUnknown *pMSPCall,
  1647.     /* [size_is][in] */ BYTE *pBuffer,
  1648.     /* [in] */ DWORD dwSize);
  1649. void __RPC_STUB ITMSPAddress_ReceiveTSPData_Stub(
  1650.     IRpcStubBuffer *This,
  1651.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1652.     PRPC_MESSAGE _pRpcMessage,
  1653.     DWORD *_pdwStubPhase);
  1654. HRESULT STDMETHODCALLTYPE ITMSPAddress_GetEvent_Proxy( 
  1655.     ITMSPAddress * This,
  1656.     /* [out][in] */ DWORD *pdwSize,
  1657.     /* [size_is][out][in] */ byte *pEventBuffer);
  1658. void __RPC_STUB ITMSPAddress_GetEvent_Stub(
  1659.     IRpcStubBuffer *This,
  1660.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1661.     PRPC_MESSAGE _pRpcMessage,
  1662.     DWORD *_pdwStubPhase);
  1663. #endif  /* __ITMSPAddress_INTERFACE_DEFINED__ */
  1664. #ifndef __TAPI3Lib_LIBRARY_DEFINED__
  1665. #define __TAPI3Lib_LIBRARY_DEFINED__
  1666. /* library TAPI3Lib */
  1667. /* [helpstring][version][uuid] */ 
  1668. EXTERN_C const IID LIBID_TAPI3Lib;
  1669. #ifndef __ITTAPIDispatchEventNotification_DISPINTERFACE_DEFINED__
  1670. #define __ITTAPIDispatchEventNotification_DISPINTERFACE_DEFINED__
  1671. /* dispinterface ITTAPIDispatchEventNotification */
  1672. /* [helpstring][uuid] */ 
  1673. EXTERN_C const IID DIID_ITTAPIDispatchEventNotification;
  1674. #if defined(__cplusplus) && !defined(CINTERFACE)
  1675.     MIDL_INTERFACE("9f34325b-7e62-11d2-9457-00c04f8ec888")
  1676.     ITTAPIDispatchEventNotification : public IDispatch
  1677.     {
  1678.     };
  1679.     
  1680. #else  /* C style interface */
  1681.     typedef struct ITTAPIDispatchEventNotificationVtbl
  1682.     {
  1683.         BEGIN_INTERFACE
  1684.         
  1685.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1686.             ITTAPIDispatchEventNotification * This,
  1687.             /* [in] */ REFIID riid,
  1688.             /* [iid_is][out] */ void **ppvObject);
  1689.         
  1690.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1691.             ITTAPIDispatchEventNotification * This);
  1692.         
  1693.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1694.             ITTAPIDispatchEventNotification * This);
  1695.         
  1696.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1697.             ITTAPIDispatchEventNotification * This,
  1698.             /* [out] */ UINT *pctinfo);
  1699.         
  1700.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1701.             ITTAPIDispatchEventNotification * This,
  1702.             /* [in] */ UINT iTInfo,
  1703.             /* [in] */ LCID lcid,
  1704.             /* [out] */ ITypeInfo **ppTInfo);
  1705.         
  1706.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1707.             ITTAPIDispatchEventNotification * This,
  1708.             /* [in] */ REFIID riid,
  1709.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1710.             /* [in] */ UINT cNames,
  1711.             /* [in] */ LCID lcid,
  1712.             /* [size_is][out] */ DISPID *rgDispId);
  1713.         
  1714.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1715.             ITTAPIDispatchEventNotification * This,
  1716.             /* [in] */ DISPID dispIdMember,
  1717.             /* [in] */ REFIID riid,
  1718.             /* [in] */ LCID lcid,
  1719.             /* [in] */ WORD wFlags,
  1720.             /* [out][in] */ DISPPARAMS *pDispParams,
  1721.             /* [out] */ VARIANT *pVarResult,
  1722.             /* [out] */ EXCEPINFO *pExcepInfo,
  1723.             /* [out] */ UINT *puArgErr);
  1724.         
  1725.         END_INTERFACE
  1726.     } ITTAPIDispatchEventNotificationVtbl;
  1727.     interface ITTAPIDispatchEventNotification
  1728.     {
  1729.         CONST_VTBL struct ITTAPIDispatchEventNotificationVtbl *lpVtbl;
  1730.     };
  1731.     
  1732. #ifdef COBJMACROS
  1733. #define ITTAPIDispatchEventNotification_QueryInterface(This,riid,ppvObject)
  1734.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1735. #define ITTAPIDispatchEventNotification_AddRef(This)
  1736.     (This)->lpVtbl -> AddRef(This)
  1737. #define ITTAPIDispatchEventNotification_Release(This)
  1738.     (This)->lpVtbl -> Release(This)
  1739. #define ITTAPIDispatchEventNotification_GetTypeInfoCount(This,pctinfo)
  1740.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1741. #define ITTAPIDispatchEventNotification_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1742.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1743. #define ITTAPIDispatchEventNotification_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1744.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1745. #define ITTAPIDispatchEventNotification_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1746.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1747. #endif /* COBJMACROS */
  1748. #endif  /* C style interface */
  1749. #endif  /* __ITTAPIDispatchEventNotification_DISPINTERFACE_DEFINED__ */
  1750. EXTERN_C const CLSID CLSID_TAPI;
  1751. #ifdef __cplusplus
  1752. class DECLSPEC_UUID("21D6D48E-A88B-11D0-83DD-00AA003CCABD")
  1753. TAPI;
  1754. #endif
  1755. EXTERN_C const CLSID CLSID_DispatchMapper;
  1756. #ifdef __cplusplus
  1757. class DECLSPEC_UUID("E9225296-C759-11d1-A02B-00C04FB6809F")
  1758. DispatchMapper;
  1759. #endif
  1760. EXTERN_C const CLSID CLSID_RequestMakeCall;
  1761. #ifdef __cplusplus
  1762. class DECLSPEC_UUID("AC48FFE0-F8C4-11d1-A030-00C04FB6809F")
  1763. RequestMakeCall;
  1764. #endif
  1765. #ifndef __TapiConstants_MODULE_DEFINED__
  1766. #define __TapiConstants_MODULE_DEFINED__
  1767. /* module TapiConstants */
  1768. /* [helpstring][dllname][uuid] */ 
  1769. const BSTR CLSID_String_VideoWindowTerm = L"{F7438990-D6EB-11D0-82A6-00AA00B5CA1B}";
  1770. const BSTR CLSID_String_VideoInputTerminal = L"{AAF578EC-DC70-11D0-8ED3-00C04FB6809F}";
  1771. const BSTR CLSID_String_HandsetTerminal = L"{AAF578EB-DC70-11D0-8ED3-00C04FB6809F}";
  1772. const BSTR CLSID_String_HeadsetTerminal = L"{AAF578ED-DC70-11D0-8ED3-00C04FB6809F}";
  1773. const BSTR CLSID_String_SpeakerphoneTerminal = L"{AAF578EE-DC70-11D0-8ED3-00C04FB6809F}";
  1774. const BSTR CLSID_String_MicrophoneTerminal = L"{AAF578EF-DC70-11D0-8ED3-00C04FB6809F}";
  1775. const BSTR CLSID_String_SpeakersTerminal = L"{AAF578F0-DC70-11D0-8ED3-00C04FB6809F}";
  1776. const BSTR CLSID_String_MediaStreamTerminal = L"{E2F7AEF7-4971-11D1-A671-006097C9A2E8}";
  1777. const BSTR CLSID_String_FileRecordingTerminal = L"{521F3D06-C3D0-4511-8617-86B9A783DA77}";
  1778. const BSTR CLSID_String_FilePlaybackTerminal = L"{0CB9914C-79CD-47DC-ADB0-327F47CEFB20}";
  1779. const BSTR TAPIPROTOCOL_String_PSTN = L"{831CE2D6-83B5-11D1-BB5C-00C04FB6809F}";
  1780. const BSTR TAPIPROTOCOL_String_H323 = L"{831CE2D7-83B5-11D1-BB5C-00C04FB6809F}";
  1781. const BSTR TAPIPROTOCOL_String_Multicast = L"{831CE2D8-83B5-11D1-BB5C-00C04FB6809F}";
  1782. const long LINEADDRESSTYPE_PHONENUMBER = 0x1;
  1783. const long LINEADDRESSTYPE_SDP = 0x2;
  1784. const long LINEADDRESSTYPE_EMAILNAME = 0x4;
  1785. const long LINEADDRESSTYPE_DOMAINNAME = 0x8;
  1786. const long LINEADDRESSTYPE_IPADDRESS = 0x10;
  1787. const long LINEDIGITMODE_PULSE = 0x1;
  1788. const long LINEDIGITMODE_DTMF = 0x2;
  1789. const long LINEDIGITMODE_DTMFEND = 0x4;
  1790. const long TAPIMEDIATYPE_AUDIO = 0x8;
  1791. const long TAPIMEDIATYPE_VIDEO = 0x8000;
  1792. const long TAPIMEDIATYPE_DATAMODEM = 0x10;
  1793. const long TAPIMEDIATYPE_G3FAX = 0x20;
  1794. const long TAPIMEDIATYPE_MULTITRACK = 0x10000;
  1795. #endif /* __TapiConstants_MODULE_DEFINED__ */
  1796. #endif /* __TAPI3Lib_LIBRARY_DEFINED__ */
  1797. /* interface __MIDL_itf_tapi3_0512 */
  1798. /* [local] */ 
  1799. #define TAPI_CURRENT_VERSION 0x00030001
  1800. #include <tapi.h>
  1801. #include <tapi3err.h>
  1802. extern RPC_IF_HANDLE __MIDL_itf_tapi3_0512_v0_0_c_ifspec;
  1803. extern RPC_IF_HANDLE __MIDL_itf_tapi3_0512_v0_0_s_ifspec;
  1804. /* Additional Prototypes for ALL interfaces */
  1805. unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long *, unsigned long            , BSTR * ); 
  1806. unsigned char * __RPC_USER  BSTR_UserMarshal(  unsigned long *, unsigned char *, BSTR * ); 
  1807. unsigned char * __RPC_USER  BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * ); 
  1808. void                      __RPC_USER  BSTR_UserFree(     unsigned long *, BSTR * ); 
  1809. unsigned long             __RPC_USER  VARIANT_UserSize(     unsigned long *, unsigned long            , VARIANT * ); 
  1810. unsigned char * __RPC_USER  VARIANT_UserMarshal(  unsigned long *, unsigned char *, VARIANT * ); 
  1811. unsigned char * __RPC_USER  VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * ); 
  1812. void                      __RPC_USER  VARIANT_UserFree(     unsigned long *, VARIANT * ); 
  1813. /* end of Additional Prototypes */
  1814. #ifdef __cplusplus
  1815. }
  1816. #endif
  1817. #endif