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

模拟服务器

开发平台:

C/C++

  1.     interface ITTAPIObjectEvent2
  2.     {
  3.         CONST_VTBL struct ITTAPIObjectEvent2Vtbl *lpVtbl;
  4.     };
  5.     
  6. #ifdef COBJMACROS
  7. #define ITTAPIObjectEvent2_QueryInterface(This,riid,ppvObject)
  8.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  9. #define ITTAPIObjectEvent2_AddRef(This)
  10.     (This)->lpVtbl -> AddRef(This)
  11. #define ITTAPIObjectEvent2_Release(This)
  12.     (This)->lpVtbl -> Release(This)
  13. #define ITTAPIObjectEvent2_GetTypeInfoCount(This,pctinfo)
  14.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  15. #define ITTAPIObjectEvent2_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  16.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  17. #define ITTAPIObjectEvent2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  18.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  19. #define ITTAPIObjectEvent2_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 ITTAPIObjectEvent2_get_TAPIObject(This,ppTAPIObject)
  22.     (This)->lpVtbl -> get_TAPIObject(This,ppTAPIObject)
  23. #define ITTAPIObjectEvent2_get_Event(This,pEvent)
  24.     (This)->lpVtbl -> get_Event(This,pEvent)
  25. #define ITTAPIObjectEvent2_get_Address(This,ppAddress)
  26.     (This)->lpVtbl -> get_Address(This,ppAddress)
  27. #define ITTAPIObjectEvent2_get_CallbackInstance(This,plCallbackInstance)
  28.     (This)->lpVtbl -> get_CallbackInstance(This,plCallbackInstance)
  29. #define ITTAPIObjectEvent2_get_Phone(This,ppPhone)
  30.     (This)->lpVtbl -> get_Phone(This,ppPhone)
  31. #endif /* COBJMACROS */
  32. #endif  /* C style interface */
  33. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTAPIObjectEvent2_get_Phone_Proxy( 
  34.     ITTAPIObjectEvent2 * This,
  35.     /* [retval][out] */ ITPhone **ppPhone);
  36. void __RPC_STUB ITTAPIObjectEvent2_get_Phone_Stub(
  37.     IRpcStubBuffer *This,
  38.     IRpcChannelBuffer *_pRpcChannelBuffer,
  39.     PRPC_MESSAGE _pRpcMessage,
  40.     DWORD *_pdwStubPhase);
  41. #endif  /* __ITTAPIObjectEvent2_INTERFACE_DEFINED__ */
  42. #ifndef __ITTAPIEventNotification_INTERFACE_DEFINED__
  43. #define __ITTAPIEventNotification_INTERFACE_DEFINED__
  44. /* interface ITTAPIEventNotification */
  45. /* [object][oleautomation][helpstring][uuid] */ 
  46. EXTERN_C const IID IID_ITTAPIEventNotification;
  47. #if defined(__cplusplus) && !defined(CINTERFACE)
  48.     
  49.     MIDL_INTERFACE("EDDB9426-3B91-11d1-8F30-00C04FB6809F")
  50.     ITTAPIEventNotification : public IUnknown
  51.     {
  52.     public:
  53.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Event( 
  54.             /* [in] */ TAPI_EVENT TapiEvent,
  55.             /* [in] */ IDispatch *pEvent) = 0;
  56.         
  57.     };
  58.     
  59. #else  /* C style interface */
  60.     typedef struct ITTAPIEventNotificationVtbl
  61.     {
  62.         BEGIN_INTERFACE
  63.         
  64.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  65.             ITTAPIEventNotification * This,
  66.             /* [in] */ REFIID riid,
  67.             /* [iid_is][out] */ void **ppvObject);
  68.         
  69.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  70.             ITTAPIEventNotification * This);
  71.         
  72.         ULONG ( STDMETHODCALLTYPE *Release )( 
  73.             ITTAPIEventNotification * This);
  74.         
  75.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Event )( 
  76.             ITTAPIEventNotification * This,
  77.             /* [in] */ TAPI_EVENT TapiEvent,
  78.             /* [in] */ IDispatch *pEvent);
  79.         
  80.         END_INTERFACE
  81.     } ITTAPIEventNotificationVtbl;
  82.     interface ITTAPIEventNotification
  83.     {
  84.         CONST_VTBL struct ITTAPIEventNotificationVtbl *lpVtbl;
  85.     };
  86.     
  87. #ifdef COBJMACROS
  88. #define ITTAPIEventNotification_QueryInterface(This,riid,ppvObject)
  89.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  90. #define ITTAPIEventNotification_AddRef(This)
  91.     (This)->lpVtbl -> AddRef(This)
  92. #define ITTAPIEventNotification_Release(This)
  93.     (This)->lpVtbl -> Release(This)
  94. #define ITTAPIEventNotification_Event(This,TapiEvent,pEvent)
  95.     (This)->lpVtbl -> Event(This,TapiEvent,pEvent)
  96. #endif /* COBJMACROS */
  97. #endif  /* C style interface */
  98. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITTAPIEventNotification_Event_Proxy( 
  99.     ITTAPIEventNotification * This,
  100.     /* [in] */ TAPI_EVENT TapiEvent,
  101.     /* [in] */ IDispatch *pEvent);
  102. void __RPC_STUB ITTAPIEventNotification_Event_Stub(
  103.     IRpcStubBuffer *This,
  104.     IRpcChannelBuffer *_pRpcChannelBuffer,
  105.     PRPC_MESSAGE _pRpcMessage,
  106.     DWORD *_pdwStubPhase);
  107. #endif  /* __ITTAPIEventNotification_INTERFACE_DEFINED__ */
  108. #ifndef __ITCallHubEvent_INTERFACE_DEFINED__
  109. #define __ITCallHubEvent_INTERFACE_DEFINED__
  110. /* interface ITCallHubEvent */
  111. /* [object][oleautomation][helpstring][uuid] */ 
  112. EXTERN_C const IID IID_ITCallHubEvent;
  113. #if defined(__cplusplus) && !defined(CINTERFACE)
  114.     
  115.     MIDL_INTERFACE("A3C15451-5B92-11d1-8F4E-00C04FB6809F")
  116.     ITCallHubEvent : public IDispatch
  117.     {
  118.     public:
  119.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Event( 
  120.             /* [retval][out] */ CALLHUB_EVENT *pEvent) = 0;
  121.         
  122.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallHub( 
  123.             /* [retval][out] */ ITCallHub **ppCallHub) = 0;
  124.         
  125.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Call( 
  126.             /* [retval][out] */ ITCallInfo **ppCall) = 0;
  127.         
  128.     };
  129.     
  130. #else  /* C style interface */
  131.     typedef struct ITCallHubEventVtbl
  132.     {
  133.         BEGIN_INTERFACE
  134.         
  135.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  136.             ITCallHubEvent * This,
  137.             /* [in] */ REFIID riid,
  138.             /* [iid_is][out] */ void **ppvObject);
  139.         
  140.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  141.             ITCallHubEvent * This);
  142.         
  143.         ULONG ( STDMETHODCALLTYPE *Release )( 
  144.             ITCallHubEvent * This);
  145.         
  146.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  147.             ITCallHubEvent * This,
  148.             /* [out] */ UINT *pctinfo);
  149.         
  150.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  151.             ITCallHubEvent * This,
  152.             /* [in] */ UINT iTInfo,
  153.             /* [in] */ LCID lcid,
  154.             /* [out] */ ITypeInfo **ppTInfo);
  155.         
  156.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  157.             ITCallHubEvent * This,
  158.             /* [in] */ REFIID riid,
  159.             /* [size_is][in] */ LPOLESTR *rgszNames,
  160.             /* [in] */ UINT cNames,
  161.             /* [in] */ LCID lcid,
  162.             /* [size_is][out] */ DISPID *rgDispId);
  163.         
  164.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  165.             ITCallHubEvent * This,
  166.             /* [in] */ DISPID dispIdMember,
  167.             /* [in] */ REFIID riid,
  168.             /* [in] */ LCID lcid,
  169.             /* [in] */ WORD wFlags,
  170.             /* [out][in] */ DISPPARAMS *pDispParams,
  171.             /* [out] */ VARIANT *pVarResult,
  172.             /* [out] */ EXCEPINFO *pExcepInfo,
  173.             /* [out] */ UINT *puArgErr);
  174.         
  175.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Event )( 
  176.             ITCallHubEvent * This,
  177.             /* [retval][out] */ CALLHUB_EVENT *pEvent);
  178.         
  179.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallHub )( 
  180.             ITCallHubEvent * This,
  181.             /* [retval][out] */ ITCallHub **ppCallHub);
  182.         
  183.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Call )( 
  184.             ITCallHubEvent * This,
  185.             /* [retval][out] */ ITCallInfo **ppCall);
  186.         
  187.         END_INTERFACE
  188.     } ITCallHubEventVtbl;
  189.     interface ITCallHubEvent
  190.     {
  191.         CONST_VTBL struct ITCallHubEventVtbl *lpVtbl;
  192.     };
  193.     
  194. #ifdef COBJMACROS
  195. #define ITCallHubEvent_QueryInterface(This,riid,ppvObject)
  196.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  197. #define ITCallHubEvent_AddRef(This)
  198.     (This)->lpVtbl -> AddRef(This)
  199. #define ITCallHubEvent_Release(This)
  200.     (This)->lpVtbl -> Release(This)
  201. #define ITCallHubEvent_GetTypeInfoCount(This,pctinfo)
  202.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  203. #define ITCallHubEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  204.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  205. #define ITCallHubEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  206.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  207. #define ITCallHubEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  208.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  209. #define ITCallHubEvent_get_Event(This,pEvent)
  210.     (This)->lpVtbl -> get_Event(This,pEvent)
  211. #define ITCallHubEvent_get_CallHub(This,ppCallHub)
  212.     (This)->lpVtbl -> get_CallHub(This,ppCallHub)
  213. #define ITCallHubEvent_get_Call(This,ppCall)
  214.     (This)->lpVtbl -> get_Call(This,ppCall)
  215. #endif /* COBJMACROS */
  216. #endif  /* C style interface */
  217. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallHubEvent_get_Event_Proxy( 
  218.     ITCallHubEvent * This,
  219.     /* [retval][out] */ CALLHUB_EVENT *pEvent);
  220. void __RPC_STUB ITCallHubEvent_get_Event_Stub(
  221.     IRpcStubBuffer *This,
  222.     IRpcChannelBuffer *_pRpcChannelBuffer,
  223.     PRPC_MESSAGE _pRpcMessage,
  224.     DWORD *_pdwStubPhase);
  225. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallHubEvent_get_CallHub_Proxy( 
  226.     ITCallHubEvent * This,
  227.     /* [retval][out] */ ITCallHub **ppCallHub);
  228. void __RPC_STUB ITCallHubEvent_get_CallHub_Stub(
  229.     IRpcStubBuffer *This,
  230.     IRpcChannelBuffer *_pRpcChannelBuffer,
  231.     PRPC_MESSAGE _pRpcMessage,
  232.     DWORD *_pdwStubPhase);
  233. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallHubEvent_get_Call_Proxy( 
  234.     ITCallHubEvent * This,
  235.     /* [retval][out] */ ITCallInfo **ppCall);
  236. void __RPC_STUB ITCallHubEvent_get_Call_Stub(
  237.     IRpcStubBuffer *This,
  238.     IRpcChannelBuffer *_pRpcChannelBuffer,
  239.     PRPC_MESSAGE _pRpcMessage,
  240.     DWORD *_pdwStubPhase);
  241. #endif  /* __ITCallHubEvent_INTERFACE_DEFINED__ */
  242. #ifndef __ITAddressEvent_INTERFACE_DEFINED__
  243. #define __ITAddressEvent_INTERFACE_DEFINED__
  244. /* interface ITAddressEvent */
  245. /* [object][oleautomation][helpstring][uuid] */ 
  246. EXTERN_C const IID IID_ITAddressEvent;
  247. #if defined(__cplusplus) && !defined(CINTERFACE)
  248.     
  249.     MIDL_INTERFACE("831CE2D1-83B5-11d1-BB5C-00C04FB6809F")
  250.     ITAddressEvent : public IDispatch
  251.     {
  252.     public:
  253.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Address( 
  254.             /* [retval][out] */ ITAddress **ppAddress) = 0;
  255.         
  256.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Event( 
  257.             /* [retval][out] */ ADDRESS_EVENT *pEvent) = 0;
  258.         
  259.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Terminal( 
  260.             /* [retval][out] */ ITTerminal **ppTerminal) = 0;
  261.         
  262.     };
  263.     
  264. #else  /* C style interface */
  265.     typedef struct ITAddressEventVtbl
  266.     {
  267.         BEGIN_INTERFACE
  268.         
  269.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  270.             ITAddressEvent * This,
  271.             /* [in] */ REFIID riid,
  272.             /* [iid_is][out] */ void **ppvObject);
  273.         
  274.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  275.             ITAddressEvent * This);
  276.         
  277.         ULONG ( STDMETHODCALLTYPE *Release )( 
  278.             ITAddressEvent * This);
  279.         
  280.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  281.             ITAddressEvent * This,
  282.             /* [out] */ UINT *pctinfo);
  283.         
  284.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  285.             ITAddressEvent * This,
  286.             /* [in] */ UINT iTInfo,
  287.             /* [in] */ LCID lcid,
  288.             /* [out] */ ITypeInfo **ppTInfo);
  289.         
  290.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  291.             ITAddressEvent * This,
  292.             /* [in] */ REFIID riid,
  293.             /* [size_is][in] */ LPOLESTR *rgszNames,
  294.             /* [in] */ UINT cNames,
  295.             /* [in] */ LCID lcid,
  296.             /* [size_is][out] */ DISPID *rgDispId);
  297.         
  298.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  299.             ITAddressEvent * This,
  300.             /* [in] */ DISPID dispIdMember,
  301.             /* [in] */ REFIID riid,
  302.             /* [in] */ LCID lcid,
  303.             /* [in] */ WORD wFlags,
  304.             /* [out][in] */ DISPPARAMS *pDispParams,
  305.             /* [out] */ VARIANT *pVarResult,
  306.             /* [out] */ EXCEPINFO *pExcepInfo,
  307.             /* [out] */ UINT *puArgErr);
  308.         
  309.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Address )( 
  310.             ITAddressEvent * This,
  311.             /* [retval][out] */ ITAddress **ppAddress);
  312.         
  313.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Event )( 
  314.             ITAddressEvent * This,
  315.             /* [retval][out] */ ADDRESS_EVENT *pEvent);
  316.         
  317.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Terminal )( 
  318.             ITAddressEvent * This,
  319.             /* [retval][out] */ ITTerminal **ppTerminal);
  320.         
  321.         END_INTERFACE
  322.     } ITAddressEventVtbl;
  323.     interface ITAddressEvent
  324.     {
  325.         CONST_VTBL struct ITAddressEventVtbl *lpVtbl;
  326.     };
  327.     
  328. #ifdef COBJMACROS
  329. #define ITAddressEvent_QueryInterface(This,riid,ppvObject)
  330.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  331. #define ITAddressEvent_AddRef(This)
  332.     (This)->lpVtbl -> AddRef(This)
  333. #define ITAddressEvent_Release(This)
  334.     (This)->lpVtbl -> Release(This)
  335. #define ITAddressEvent_GetTypeInfoCount(This,pctinfo)
  336.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  337. #define ITAddressEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  338.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  339. #define ITAddressEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  340.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  341. #define ITAddressEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  342.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  343. #define ITAddressEvent_get_Address(This,ppAddress)
  344.     (This)->lpVtbl -> get_Address(This,ppAddress)
  345. #define ITAddressEvent_get_Event(This,pEvent)
  346.     (This)->lpVtbl -> get_Event(This,pEvent)
  347. #define ITAddressEvent_get_Terminal(This,ppTerminal)
  348.     (This)->lpVtbl -> get_Terminal(This,ppTerminal)
  349. #endif /* COBJMACROS */
  350. #endif  /* C style interface */
  351. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressEvent_get_Address_Proxy( 
  352.     ITAddressEvent * This,
  353.     /* [retval][out] */ ITAddress **ppAddress);
  354. void __RPC_STUB ITAddressEvent_get_Address_Stub(
  355.     IRpcStubBuffer *This,
  356.     IRpcChannelBuffer *_pRpcChannelBuffer,
  357.     PRPC_MESSAGE _pRpcMessage,
  358.     DWORD *_pdwStubPhase);
  359. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressEvent_get_Event_Proxy( 
  360.     ITAddressEvent * This,
  361.     /* [retval][out] */ ADDRESS_EVENT *pEvent);
  362. void __RPC_STUB ITAddressEvent_get_Event_Stub(
  363.     IRpcStubBuffer *This,
  364.     IRpcChannelBuffer *_pRpcChannelBuffer,
  365.     PRPC_MESSAGE _pRpcMessage,
  366.     DWORD *_pdwStubPhase);
  367. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressEvent_get_Terminal_Proxy( 
  368.     ITAddressEvent * This,
  369.     /* [retval][out] */ ITTerminal **ppTerminal);
  370. void __RPC_STUB ITAddressEvent_get_Terminal_Stub(
  371.     IRpcStubBuffer *This,
  372.     IRpcChannelBuffer *_pRpcChannelBuffer,
  373.     PRPC_MESSAGE _pRpcMessage,
  374.     DWORD *_pdwStubPhase);
  375. #endif  /* __ITAddressEvent_INTERFACE_DEFINED__ */
  376. #ifndef __ITAddressDeviceSpecificEvent_INTERFACE_DEFINED__
  377. #define __ITAddressDeviceSpecificEvent_INTERFACE_DEFINED__
  378. /* interface ITAddressDeviceSpecificEvent */
  379. /* [object][oleautomation][helpstring][uuid] */ 
  380. EXTERN_C const IID IID_ITAddressDeviceSpecificEvent;
  381. #if defined(__cplusplus) && !defined(CINTERFACE)
  382.     
  383.     MIDL_INTERFACE("3ACB216B-40BD-487a-8672-5CE77BD7E3A3")
  384.     ITAddressDeviceSpecificEvent : public IDispatch
  385.     {
  386.     public:
  387.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Address( 
  388.             /* [retval][out] */ ITAddress **ppAddress) = 0;
  389.         
  390.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Call( 
  391.             /* [retval][out] */ ITCallInfo **ppCall) = 0;
  392.         
  393.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_lParam1( 
  394.             /* [retval][out] */ long *pParam1) = 0;
  395.         
  396.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_lParam2( 
  397.             /* [retval][out] */ long *pParam2) = 0;
  398.         
  399.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_lParam3( 
  400.             /* [retval][out] */ long *pParam3) = 0;
  401.         
  402.     };
  403.     
  404. #else  /* C style interface */
  405.     typedef struct ITAddressDeviceSpecificEventVtbl
  406.     {
  407.         BEGIN_INTERFACE
  408.         
  409.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  410.             ITAddressDeviceSpecificEvent * This,
  411.             /* [in] */ REFIID riid,
  412.             /* [iid_is][out] */ void **ppvObject);
  413.         
  414.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  415.             ITAddressDeviceSpecificEvent * This);
  416.         
  417.         ULONG ( STDMETHODCALLTYPE *Release )( 
  418.             ITAddressDeviceSpecificEvent * This);
  419.         
  420.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  421.             ITAddressDeviceSpecificEvent * This,
  422.             /* [out] */ UINT *pctinfo);
  423.         
  424.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  425.             ITAddressDeviceSpecificEvent * This,
  426.             /* [in] */ UINT iTInfo,
  427.             /* [in] */ LCID lcid,
  428.             /* [out] */ ITypeInfo **ppTInfo);
  429.         
  430.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  431.             ITAddressDeviceSpecificEvent * This,
  432.             /* [in] */ REFIID riid,
  433.             /* [size_is][in] */ LPOLESTR *rgszNames,
  434.             /* [in] */ UINT cNames,
  435.             /* [in] */ LCID lcid,
  436.             /* [size_is][out] */ DISPID *rgDispId);
  437.         
  438.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  439.             ITAddressDeviceSpecificEvent * This,
  440.             /* [in] */ DISPID dispIdMember,
  441.             /* [in] */ REFIID riid,
  442.             /* [in] */ LCID lcid,
  443.             /* [in] */ WORD wFlags,
  444.             /* [out][in] */ DISPPARAMS *pDispParams,
  445.             /* [out] */ VARIANT *pVarResult,
  446.             /* [out] */ EXCEPINFO *pExcepInfo,
  447.             /* [out] */ UINT *puArgErr);
  448.         
  449.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Address )( 
  450.             ITAddressDeviceSpecificEvent * This,
  451.             /* [retval][out] */ ITAddress **ppAddress);
  452.         
  453.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Call )( 
  454.             ITAddressDeviceSpecificEvent * This,
  455.             /* [retval][out] */ ITCallInfo **ppCall);
  456.         
  457.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_lParam1 )( 
  458.             ITAddressDeviceSpecificEvent * This,
  459.             /* [retval][out] */ long *pParam1);
  460.         
  461.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_lParam2 )( 
  462.             ITAddressDeviceSpecificEvent * This,
  463.             /* [retval][out] */ long *pParam2);
  464.         
  465.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_lParam3 )( 
  466.             ITAddressDeviceSpecificEvent * This,
  467.             /* [retval][out] */ long *pParam3);
  468.         
  469.         END_INTERFACE
  470.     } ITAddressDeviceSpecificEventVtbl;
  471.     interface ITAddressDeviceSpecificEvent
  472.     {
  473.         CONST_VTBL struct ITAddressDeviceSpecificEventVtbl *lpVtbl;
  474.     };
  475.     
  476. #ifdef COBJMACROS
  477. #define ITAddressDeviceSpecificEvent_QueryInterface(This,riid,ppvObject)
  478.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  479. #define ITAddressDeviceSpecificEvent_AddRef(This)
  480.     (This)->lpVtbl -> AddRef(This)
  481. #define ITAddressDeviceSpecificEvent_Release(This)
  482.     (This)->lpVtbl -> Release(This)
  483. #define ITAddressDeviceSpecificEvent_GetTypeInfoCount(This,pctinfo)
  484.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  485. #define ITAddressDeviceSpecificEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  486.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  487. #define ITAddressDeviceSpecificEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  488.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  489. #define ITAddressDeviceSpecificEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  490.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  491. #define ITAddressDeviceSpecificEvent_get_Address(This,ppAddress)
  492.     (This)->lpVtbl -> get_Address(This,ppAddress)
  493. #define ITAddressDeviceSpecificEvent_get_Call(This,ppCall)
  494.     (This)->lpVtbl -> get_Call(This,ppCall)
  495. #define ITAddressDeviceSpecificEvent_get_lParam1(This,pParam1)
  496.     (This)->lpVtbl -> get_lParam1(This,pParam1)
  497. #define ITAddressDeviceSpecificEvent_get_lParam2(This,pParam2)
  498.     (This)->lpVtbl -> get_lParam2(This,pParam2)
  499. #define ITAddressDeviceSpecificEvent_get_lParam3(This,pParam3)
  500.     (This)->lpVtbl -> get_lParam3(This,pParam3)
  501. #endif /* COBJMACROS */
  502. #endif  /* C style interface */
  503. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressDeviceSpecificEvent_get_Address_Proxy( 
  504.     ITAddressDeviceSpecificEvent * This,
  505.     /* [retval][out] */ ITAddress **ppAddress);
  506. void __RPC_STUB ITAddressDeviceSpecificEvent_get_Address_Stub(
  507.     IRpcStubBuffer *This,
  508.     IRpcChannelBuffer *_pRpcChannelBuffer,
  509.     PRPC_MESSAGE _pRpcMessage,
  510.     DWORD *_pdwStubPhase);
  511. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressDeviceSpecificEvent_get_Call_Proxy( 
  512.     ITAddressDeviceSpecificEvent * This,
  513.     /* [retval][out] */ ITCallInfo **ppCall);
  514. void __RPC_STUB ITAddressDeviceSpecificEvent_get_Call_Stub(
  515.     IRpcStubBuffer *This,
  516.     IRpcChannelBuffer *_pRpcChannelBuffer,
  517.     PRPC_MESSAGE _pRpcMessage,
  518.     DWORD *_pdwStubPhase);
  519. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressDeviceSpecificEvent_get_lParam1_Proxy( 
  520.     ITAddressDeviceSpecificEvent * This,
  521.     /* [retval][out] */ long *pParam1);
  522. void __RPC_STUB ITAddressDeviceSpecificEvent_get_lParam1_Stub(
  523.     IRpcStubBuffer *This,
  524.     IRpcChannelBuffer *_pRpcChannelBuffer,
  525.     PRPC_MESSAGE _pRpcMessage,
  526.     DWORD *_pdwStubPhase);
  527. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressDeviceSpecificEvent_get_lParam2_Proxy( 
  528.     ITAddressDeviceSpecificEvent * This,
  529.     /* [retval][out] */ long *pParam2);
  530. void __RPC_STUB ITAddressDeviceSpecificEvent_get_lParam2_Stub(
  531.     IRpcStubBuffer *This,
  532.     IRpcChannelBuffer *_pRpcChannelBuffer,
  533.     PRPC_MESSAGE _pRpcMessage,
  534.     DWORD *_pdwStubPhase);
  535. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressDeviceSpecificEvent_get_lParam3_Proxy( 
  536.     ITAddressDeviceSpecificEvent * This,
  537.     /* [retval][out] */ long *pParam3);
  538. void __RPC_STUB ITAddressDeviceSpecificEvent_get_lParam3_Stub(
  539.     IRpcStubBuffer *This,
  540.     IRpcChannelBuffer *_pRpcChannelBuffer,
  541.     PRPC_MESSAGE _pRpcMessage,
  542.     DWORD *_pdwStubPhase);
  543. #endif  /* __ITAddressDeviceSpecificEvent_INTERFACE_DEFINED__ */
  544. #ifndef __ITFileTerminalEvent_INTERFACE_DEFINED__
  545. #define __ITFileTerminalEvent_INTERFACE_DEFINED__
  546. /* interface ITFileTerminalEvent */
  547. /* [object][oleautomation][helpstring][uuid] */ 
  548. EXTERN_C const IID IID_ITFileTerminalEvent;
  549. #if defined(__cplusplus) && !defined(CINTERFACE)
  550.     
  551.     MIDL_INTERFACE("E4A7FBAC-8C17-4427-9F55-9F589AC8AF00")
  552.     ITFileTerminalEvent : public IDispatch
  553.     {
  554.     public:
  555.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Terminal( 
  556.             /* [retval][out] */ ITTerminal **ppTerminal) = 0;
  557.         
  558.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Track( 
  559.             /* [retval][out] */ ITFileTrack **ppTrackTerminal) = 0;
  560.         
  561.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Call( 
  562.             /* [retval][out] */ ITCallInfo **ppCall) = 0;
  563.         
  564.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_State( 
  565.             /* [retval][out] */ TERMINAL_MEDIA_STATE *pState) = 0;
  566.         
  567.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Cause( 
  568.             /* [retval][out] */ FT_STATE_EVENT_CAUSE *pCause) = 0;
  569.         
  570.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Error( 
  571.             /* [retval][out] */ HRESULT *phrErrorCode) = 0;
  572.         
  573.     };
  574.     
  575. #else  /* C style interface */
  576.     typedef struct ITFileTerminalEventVtbl
  577.     {
  578.         BEGIN_INTERFACE
  579.         
  580.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  581.             ITFileTerminalEvent * This,
  582.             /* [in] */ REFIID riid,
  583.             /* [iid_is][out] */ void **ppvObject);
  584.         
  585.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  586.             ITFileTerminalEvent * This);
  587.         
  588.         ULONG ( STDMETHODCALLTYPE *Release )( 
  589.             ITFileTerminalEvent * This);
  590.         
  591.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  592.             ITFileTerminalEvent * This,
  593.             /* [out] */ UINT *pctinfo);
  594.         
  595.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  596.             ITFileTerminalEvent * This,
  597.             /* [in] */ UINT iTInfo,
  598.             /* [in] */ LCID lcid,
  599.             /* [out] */ ITypeInfo **ppTInfo);
  600.         
  601.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  602.             ITFileTerminalEvent * This,
  603.             /* [in] */ REFIID riid,
  604.             /* [size_is][in] */ LPOLESTR *rgszNames,
  605.             /* [in] */ UINT cNames,
  606.             /* [in] */ LCID lcid,
  607.             /* [size_is][out] */ DISPID *rgDispId);
  608.         
  609.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  610.             ITFileTerminalEvent * This,
  611.             /* [in] */ DISPID dispIdMember,
  612.             /* [in] */ REFIID riid,
  613.             /* [in] */ LCID lcid,
  614.             /* [in] */ WORD wFlags,
  615.             /* [out][in] */ DISPPARAMS *pDispParams,
  616.             /* [out] */ VARIANT *pVarResult,
  617.             /* [out] */ EXCEPINFO *pExcepInfo,
  618.             /* [out] */ UINT *puArgErr);
  619.         
  620.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Terminal )( 
  621.             ITFileTerminalEvent * This,
  622.             /* [retval][out] */ ITTerminal **ppTerminal);
  623.         
  624.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Track )( 
  625.             ITFileTerminalEvent * This,
  626.             /* [retval][out] */ ITFileTrack **ppTrackTerminal);
  627.         
  628.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Call )( 
  629.             ITFileTerminalEvent * This,
  630.             /* [retval][out] */ ITCallInfo **ppCall);
  631.         
  632.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_State )( 
  633.             ITFileTerminalEvent * This,
  634.             /* [retval][out] */ TERMINAL_MEDIA_STATE *pState);
  635.         
  636.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Cause )( 
  637.             ITFileTerminalEvent * This,
  638.             /* [retval][out] */ FT_STATE_EVENT_CAUSE *pCause);
  639.         
  640.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Error )( 
  641.             ITFileTerminalEvent * This,
  642.             /* [retval][out] */ HRESULT *phrErrorCode);
  643.         
  644.         END_INTERFACE
  645.     } ITFileTerminalEventVtbl;
  646.     interface ITFileTerminalEvent
  647.     {
  648.         CONST_VTBL struct ITFileTerminalEventVtbl *lpVtbl;
  649.     };
  650.     
  651. #ifdef COBJMACROS
  652. #define ITFileTerminalEvent_QueryInterface(This,riid,ppvObject)
  653.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  654. #define ITFileTerminalEvent_AddRef(This)
  655.     (This)->lpVtbl -> AddRef(This)
  656. #define ITFileTerminalEvent_Release(This)
  657.     (This)->lpVtbl -> Release(This)
  658. #define ITFileTerminalEvent_GetTypeInfoCount(This,pctinfo)
  659.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  660. #define ITFileTerminalEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  661.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  662. #define ITFileTerminalEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  663.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  664. #define ITFileTerminalEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  665.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  666. #define ITFileTerminalEvent_get_Terminal(This,ppTerminal)
  667.     (This)->lpVtbl -> get_Terminal(This,ppTerminal)
  668. #define ITFileTerminalEvent_get_Track(This,ppTrackTerminal)
  669.     (This)->lpVtbl -> get_Track(This,ppTrackTerminal)
  670. #define ITFileTerminalEvent_get_Call(This,ppCall)
  671.     (This)->lpVtbl -> get_Call(This,ppCall)
  672. #define ITFileTerminalEvent_get_State(This,pState)
  673.     (This)->lpVtbl -> get_State(This,pState)
  674. #define ITFileTerminalEvent_get_Cause(This,pCause)
  675.     (This)->lpVtbl -> get_Cause(This,pCause)
  676. #define ITFileTerminalEvent_get_Error(This,phrErrorCode)
  677.     (This)->lpVtbl -> get_Error(This,phrErrorCode)
  678. #endif /* COBJMACROS */
  679. #endif  /* C style interface */
  680. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITFileTerminalEvent_get_Terminal_Proxy( 
  681.     ITFileTerminalEvent * This,
  682.     /* [retval][out] */ ITTerminal **ppTerminal);
  683. void __RPC_STUB ITFileTerminalEvent_get_Terminal_Stub(
  684.     IRpcStubBuffer *This,
  685.     IRpcChannelBuffer *_pRpcChannelBuffer,
  686.     PRPC_MESSAGE _pRpcMessage,
  687.     DWORD *_pdwStubPhase);
  688. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITFileTerminalEvent_get_Track_Proxy( 
  689.     ITFileTerminalEvent * This,
  690.     /* [retval][out] */ ITFileTrack **ppTrackTerminal);
  691. void __RPC_STUB ITFileTerminalEvent_get_Track_Stub(
  692.     IRpcStubBuffer *This,
  693.     IRpcChannelBuffer *_pRpcChannelBuffer,
  694.     PRPC_MESSAGE _pRpcMessage,
  695.     DWORD *_pdwStubPhase);
  696. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITFileTerminalEvent_get_Call_Proxy( 
  697.     ITFileTerminalEvent * This,
  698.     /* [retval][out] */ ITCallInfo **ppCall);
  699. void __RPC_STUB ITFileTerminalEvent_get_Call_Stub(
  700.     IRpcStubBuffer *This,
  701.     IRpcChannelBuffer *_pRpcChannelBuffer,
  702.     PRPC_MESSAGE _pRpcMessage,
  703.     DWORD *_pdwStubPhase);
  704. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITFileTerminalEvent_get_State_Proxy( 
  705.     ITFileTerminalEvent * This,
  706.     /* [retval][out] */ TERMINAL_MEDIA_STATE *pState);
  707. void __RPC_STUB ITFileTerminalEvent_get_State_Stub(
  708.     IRpcStubBuffer *This,
  709.     IRpcChannelBuffer *_pRpcChannelBuffer,
  710.     PRPC_MESSAGE _pRpcMessage,
  711.     DWORD *_pdwStubPhase);
  712. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITFileTerminalEvent_get_Cause_Proxy( 
  713.     ITFileTerminalEvent * This,
  714.     /* [retval][out] */ FT_STATE_EVENT_CAUSE *pCause);
  715. void __RPC_STUB ITFileTerminalEvent_get_Cause_Stub(
  716.     IRpcStubBuffer *This,
  717.     IRpcChannelBuffer *_pRpcChannelBuffer,
  718.     PRPC_MESSAGE _pRpcMessage,
  719.     DWORD *_pdwStubPhase);
  720. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITFileTerminalEvent_get_Error_Proxy( 
  721.     ITFileTerminalEvent * This,
  722.     /* [retval][out] */ HRESULT *phrErrorCode);
  723. void __RPC_STUB ITFileTerminalEvent_get_Error_Stub(
  724.     IRpcStubBuffer *This,
  725.     IRpcChannelBuffer *_pRpcChannelBuffer,
  726.     PRPC_MESSAGE _pRpcMessage,
  727.     DWORD *_pdwStubPhase);
  728. #endif  /* __ITFileTerminalEvent_INTERFACE_DEFINED__ */
  729. #ifndef __ITTTSTerminalEvent_INTERFACE_DEFINED__
  730. #define __ITTTSTerminalEvent_INTERFACE_DEFINED__
  731. /* interface ITTTSTerminalEvent */
  732. /* [object][oleautomation][helpstring][uuid] */ 
  733. EXTERN_C const IID IID_ITTTSTerminalEvent;
  734. #if defined(__cplusplus) && !defined(CINTERFACE)
  735.     
  736.     MIDL_INTERFACE("D964788F-95A5-461d-AB0C-B9900A6C2713")
  737.     ITTTSTerminalEvent : public IDispatch
  738.     {
  739.     public:
  740.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Terminal( 
  741.             /* [retval][out] */ ITTerminal **ppTerminal) = 0;
  742.         
  743.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Call( 
  744.             /* [retval][out] */ ITCallInfo **ppCall) = 0;
  745.         
  746.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Error( 
  747.             /* [retval][out] */ HRESULT *phrErrorCode) = 0;
  748.         
  749.     };
  750.     
  751. #else  /* C style interface */
  752.     typedef struct ITTTSTerminalEventVtbl
  753.     {
  754.         BEGIN_INTERFACE
  755.         
  756.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  757.             ITTTSTerminalEvent * This,
  758.             /* [in] */ REFIID riid,
  759.             /* [iid_is][out] */ void **ppvObject);
  760.         
  761.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  762.             ITTTSTerminalEvent * This);
  763.         
  764.         ULONG ( STDMETHODCALLTYPE *Release )( 
  765.             ITTTSTerminalEvent * This);
  766.         
  767.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  768.             ITTTSTerminalEvent * This,
  769.             /* [out] */ UINT *pctinfo);
  770.         
  771.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  772.             ITTTSTerminalEvent * This,
  773.             /* [in] */ UINT iTInfo,
  774.             /* [in] */ LCID lcid,
  775.             /* [out] */ ITypeInfo **ppTInfo);
  776.         
  777.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  778.             ITTTSTerminalEvent * This,
  779.             /* [in] */ REFIID riid,
  780.             /* [size_is][in] */ LPOLESTR *rgszNames,
  781.             /* [in] */ UINT cNames,
  782.             /* [in] */ LCID lcid,
  783.             /* [size_is][out] */ DISPID *rgDispId);
  784.         
  785.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  786.             ITTTSTerminalEvent * This,
  787.             /* [in] */ DISPID dispIdMember,
  788.             /* [in] */ REFIID riid,
  789.             /* [in] */ LCID lcid,
  790.             /* [in] */ WORD wFlags,
  791.             /* [out][in] */ DISPPARAMS *pDispParams,
  792.             /* [out] */ VARIANT *pVarResult,
  793.             /* [out] */ EXCEPINFO *pExcepInfo,
  794.             /* [out] */ UINT *puArgErr);
  795.         
  796.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Terminal )( 
  797.             ITTTSTerminalEvent * This,
  798.             /* [retval][out] */ ITTerminal **ppTerminal);
  799.         
  800.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Call )( 
  801.             ITTTSTerminalEvent * This,
  802.             /* [retval][out] */ ITCallInfo **ppCall);
  803.         
  804.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Error )( 
  805.             ITTTSTerminalEvent * This,
  806.             /* [retval][out] */ HRESULT *phrErrorCode);
  807.         
  808.         END_INTERFACE
  809.     } ITTTSTerminalEventVtbl;
  810.     interface ITTTSTerminalEvent
  811.     {
  812.         CONST_VTBL struct ITTTSTerminalEventVtbl *lpVtbl;
  813.     };
  814.     
  815. #ifdef COBJMACROS
  816. #define ITTTSTerminalEvent_QueryInterface(This,riid,ppvObject)
  817.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  818. #define ITTTSTerminalEvent_AddRef(This)
  819.     (This)->lpVtbl -> AddRef(This)
  820. #define ITTTSTerminalEvent_Release(This)
  821.     (This)->lpVtbl -> Release(This)
  822. #define ITTTSTerminalEvent_GetTypeInfoCount(This,pctinfo)
  823.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  824. #define ITTTSTerminalEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  825.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  826. #define ITTTSTerminalEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  827.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  828. #define ITTTSTerminalEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  829.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  830. #define ITTTSTerminalEvent_get_Terminal(This,ppTerminal)
  831.     (This)->lpVtbl -> get_Terminal(This,ppTerminal)
  832. #define ITTTSTerminalEvent_get_Call(This,ppCall)
  833.     (This)->lpVtbl -> get_Call(This,ppCall)
  834. #define ITTTSTerminalEvent_get_Error(This,phrErrorCode)
  835.     (This)->lpVtbl -> get_Error(This,phrErrorCode)
  836. #endif /* COBJMACROS */
  837. #endif  /* C style interface */
  838. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTTSTerminalEvent_get_Terminal_Proxy( 
  839.     ITTTSTerminalEvent * This,
  840.     /* [retval][out] */ ITTerminal **ppTerminal);
  841. void __RPC_STUB ITTTSTerminalEvent_get_Terminal_Stub(
  842.     IRpcStubBuffer *This,
  843.     IRpcChannelBuffer *_pRpcChannelBuffer,
  844.     PRPC_MESSAGE _pRpcMessage,
  845.     DWORD *_pdwStubPhase);
  846. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTTSTerminalEvent_get_Call_Proxy( 
  847.     ITTTSTerminalEvent * This,
  848.     /* [retval][out] */ ITCallInfo **ppCall);
  849. void __RPC_STUB ITTTSTerminalEvent_get_Call_Stub(
  850.     IRpcStubBuffer *This,
  851.     IRpcChannelBuffer *_pRpcChannelBuffer,
  852.     PRPC_MESSAGE _pRpcMessage,
  853.     DWORD *_pdwStubPhase);
  854. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTTSTerminalEvent_get_Error_Proxy( 
  855.     ITTTSTerminalEvent * This,
  856.     /* [retval][out] */ HRESULT *phrErrorCode);
  857. void __RPC_STUB ITTTSTerminalEvent_get_Error_Stub(
  858.     IRpcStubBuffer *This,
  859.     IRpcChannelBuffer *_pRpcChannelBuffer,
  860.     PRPC_MESSAGE _pRpcMessage,
  861.     DWORD *_pdwStubPhase);
  862. #endif  /* __ITTTSTerminalEvent_INTERFACE_DEFINED__ */
  863. #ifndef __ITASRTerminalEvent_INTERFACE_DEFINED__
  864. #define __ITASRTerminalEvent_INTERFACE_DEFINED__
  865. /* interface ITASRTerminalEvent */
  866. /* [object][oleautomation][helpstring][uuid] */ 
  867. EXTERN_C const IID IID_ITASRTerminalEvent;
  868. #if defined(__cplusplus) && !defined(CINTERFACE)
  869.     
  870.     MIDL_INTERFACE("EE016A02-4FA9-467c-933F-5A15B12377D7")
  871.     ITASRTerminalEvent : public IDispatch
  872.     {
  873.     public:
  874.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Terminal( 
  875.             /* [retval][out] */ ITTerminal **ppTerminal) = 0;
  876.         
  877.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Call( 
  878.             /* [retval][out] */ ITCallInfo **ppCall) = 0;
  879.         
  880.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Error( 
  881.             /* [retval][out] */ HRESULT *phrErrorCode) = 0;
  882.         
  883.     };
  884.     
  885. #else  /* C style interface */
  886.     typedef struct ITASRTerminalEventVtbl
  887.     {
  888.         BEGIN_INTERFACE
  889.         
  890.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  891.             ITASRTerminalEvent * This,
  892.             /* [in] */ REFIID riid,
  893.             /* [iid_is][out] */ void **ppvObject);
  894.         
  895.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  896.             ITASRTerminalEvent * This);
  897.         
  898.         ULONG ( STDMETHODCALLTYPE *Release )( 
  899.             ITASRTerminalEvent * This);
  900.         
  901.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  902.             ITASRTerminalEvent * This,
  903.             /* [out] */ UINT *pctinfo);
  904.         
  905.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  906.             ITASRTerminalEvent * This,
  907.             /* [in] */ UINT iTInfo,
  908.             /* [in] */ LCID lcid,
  909.             /* [out] */ ITypeInfo **ppTInfo);
  910.         
  911.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  912.             ITASRTerminalEvent * This,
  913.             /* [in] */ REFIID riid,
  914.             /* [size_is][in] */ LPOLESTR *rgszNames,
  915.             /* [in] */ UINT cNames,
  916.             /* [in] */ LCID lcid,
  917.             /* [size_is][out] */ DISPID *rgDispId);
  918.         
  919.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  920.             ITASRTerminalEvent * This,
  921.             /* [in] */ DISPID dispIdMember,
  922.             /* [in] */ REFIID riid,
  923.             /* [in] */ LCID lcid,
  924.             /* [in] */ WORD wFlags,
  925.             /* [out][in] */ DISPPARAMS *pDispParams,
  926.             /* [out] */ VARIANT *pVarResult,
  927.             /* [out] */ EXCEPINFO *pExcepInfo,
  928.             /* [out] */ UINT *puArgErr);
  929.         
  930.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Terminal )( 
  931.             ITASRTerminalEvent * This,
  932.             /* [retval][out] */ ITTerminal **ppTerminal);
  933.         
  934.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Call )( 
  935.             ITASRTerminalEvent * This,
  936.             /* [retval][out] */ ITCallInfo **ppCall);
  937.         
  938.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Error )( 
  939.             ITASRTerminalEvent * This,
  940.             /* [retval][out] */ HRESULT *phrErrorCode);
  941.         
  942.         END_INTERFACE
  943.     } ITASRTerminalEventVtbl;
  944.     interface ITASRTerminalEvent
  945.     {
  946.         CONST_VTBL struct ITASRTerminalEventVtbl *lpVtbl;
  947.     };
  948.     
  949. #ifdef COBJMACROS
  950. #define ITASRTerminalEvent_QueryInterface(This,riid,ppvObject)
  951.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  952. #define ITASRTerminalEvent_AddRef(This)
  953.     (This)->lpVtbl -> AddRef(This)
  954. #define ITASRTerminalEvent_Release(This)
  955.     (This)->lpVtbl -> Release(This)
  956. #define ITASRTerminalEvent_GetTypeInfoCount(This,pctinfo)
  957.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  958. #define ITASRTerminalEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  959.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  960. #define ITASRTerminalEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  961.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  962. #define ITASRTerminalEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  963.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  964. #define ITASRTerminalEvent_get_Terminal(This,ppTerminal)
  965.     (This)->lpVtbl -> get_Terminal(This,ppTerminal)
  966. #define ITASRTerminalEvent_get_Call(This,ppCall)
  967.     (This)->lpVtbl -> get_Call(This,ppCall)
  968. #define ITASRTerminalEvent_get_Error(This,phrErrorCode)
  969.     (This)->lpVtbl -> get_Error(This,phrErrorCode)
  970. #endif /* COBJMACROS */
  971. #endif  /* C style interface */
  972. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITASRTerminalEvent_get_Terminal_Proxy( 
  973.     ITASRTerminalEvent * This,
  974.     /* [retval][out] */ ITTerminal **ppTerminal);
  975. void __RPC_STUB ITASRTerminalEvent_get_Terminal_Stub(
  976.     IRpcStubBuffer *This,
  977.     IRpcChannelBuffer *_pRpcChannelBuffer,
  978.     PRPC_MESSAGE _pRpcMessage,
  979.     DWORD *_pdwStubPhase);
  980. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITASRTerminalEvent_get_Call_Proxy( 
  981.     ITASRTerminalEvent * This,
  982.     /* [retval][out] */ ITCallInfo **ppCall);
  983. void __RPC_STUB ITASRTerminalEvent_get_Call_Stub(
  984.     IRpcStubBuffer *This,
  985.     IRpcChannelBuffer *_pRpcChannelBuffer,
  986.     PRPC_MESSAGE _pRpcMessage,
  987.     DWORD *_pdwStubPhase);
  988. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITASRTerminalEvent_get_Error_Proxy( 
  989.     ITASRTerminalEvent * This,
  990.     /* [retval][out] */ HRESULT *phrErrorCode);
  991. void __RPC_STUB ITASRTerminalEvent_get_Error_Stub(
  992.     IRpcStubBuffer *This,
  993.     IRpcChannelBuffer *_pRpcChannelBuffer,
  994.     PRPC_MESSAGE _pRpcMessage,
  995.     DWORD *_pdwStubPhase);
  996. #endif  /* __ITASRTerminalEvent_INTERFACE_DEFINED__ */
  997. #ifndef __ITToneTerminalEvent_INTERFACE_DEFINED__
  998. #define __ITToneTerminalEvent_INTERFACE_DEFINED__
  999. /* interface ITToneTerminalEvent */
  1000. /* [object][oleautomation][helpstring][uuid] */ 
  1001. EXTERN_C const IID IID_ITToneTerminalEvent;
  1002. #if defined(__cplusplus) && !defined(CINTERFACE)
  1003.     
  1004.     MIDL_INTERFACE("E6F56009-611F-4945-BBD2-2D0CE5612056")
  1005.     ITToneTerminalEvent : public IDispatch
  1006.     {
  1007.     public:
  1008.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Terminal( 
  1009.             /* [retval][out] */ ITTerminal **ppTerminal) = 0;
  1010.         
  1011.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Call( 
  1012.             /* [retval][out] */ ITCallInfo **ppCall) = 0;
  1013.         
  1014.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Error( 
  1015.             /* [retval][out] */ HRESULT *phrErrorCode) = 0;
  1016.         
  1017.     };
  1018.     
  1019. #else  /* C style interface */
  1020.     typedef struct ITToneTerminalEventVtbl
  1021.     {
  1022.         BEGIN_INTERFACE
  1023.         
  1024.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1025.             ITToneTerminalEvent * This,
  1026.             /* [in] */ REFIID riid,
  1027.             /* [iid_is][out] */ void **ppvObject);
  1028.         
  1029.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1030.             ITToneTerminalEvent * This);
  1031.         
  1032.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1033.             ITToneTerminalEvent * This);
  1034.         
  1035.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1036.             ITToneTerminalEvent * This,
  1037.             /* [out] */ UINT *pctinfo);
  1038.         
  1039.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1040.             ITToneTerminalEvent * This,
  1041.             /* [in] */ UINT iTInfo,
  1042.             /* [in] */ LCID lcid,
  1043.             /* [out] */ ITypeInfo **ppTInfo);
  1044.         
  1045.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1046.             ITToneTerminalEvent * This,
  1047.             /* [in] */ REFIID riid,
  1048.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1049.             /* [in] */ UINT cNames,
  1050.             /* [in] */ LCID lcid,
  1051.             /* [size_is][out] */ DISPID *rgDispId);
  1052.         
  1053.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1054.             ITToneTerminalEvent * This,
  1055.             /* [in] */ DISPID dispIdMember,
  1056.             /* [in] */ REFIID riid,
  1057.             /* [in] */ LCID lcid,
  1058.             /* [in] */ WORD wFlags,
  1059.             /* [out][in] */ DISPPARAMS *pDispParams,
  1060.             /* [out] */ VARIANT *pVarResult,
  1061.             /* [out] */ EXCEPINFO *pExcepInfo,
  1062.             /* [out] */ UINT *puArgErr);
  1063.         
  1064.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Terminal )( 
  1065.             ITToneTerminalEvent * This,
  1066.             /* [retval][out] */ ITTerminal **ppTerminal);
  1067.         
  1068.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Call )( 
  1069.             ITToneTerminalEvent * This,
  1070.             /* [retval][out] */ ITCallInfo **ppCall);
  1071.         
  1072.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Error )( 
  1073.             ITToneTerminalEvent * This,
  1074.             /* [retval][out] */ HRESULT *phrErrorCode);
  1075.         
  1076.         END_INTERFACE
  1077.     } ITToneTerminalEventVtbl;
  1078.     interface ITToneTerminalEvent
  1079.     {
  1080.         CONST_VTBL struct ITToneTerminalEventVtbl *lpVtbl;
  1081.     };
  1082.     
  1083. #ifdef COBJMACROS
  1084. #define ITToneTerminalEvent_QueryInterface(This,riid,ppvObject)
  1085.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1086. #define ITToneTerminalEvent_AddRef(This)
  1087.     (This)->lpVtbl -> AddRef(This)
  1088. #define ITToneTerminalEvent_Release(This)
  1089.     (This)->lpVtbl -> Release(This)
  1090. #define ITToneTerminalEvent_GetTypeInfoCount(This,pctinfo)
  1091.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1092. #define ITToneTerminalEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1093.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1094. #define ITToneTerminalEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1095.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1096. #define ITToneTerminalEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1097.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1098. #define ITToneTerminalEvent_get_Terminal(This,ppTerminal)
  1099.     (This)->lpVtbl -> get_Terminal(This,ppTerminal)
  1100. #define ITToneTerminalEvent_get_Call(This,ppCall)
  1101.     (This)->lpVtbl -> get_Call(This,ppCall)
  1102. #define ITToneTerminalEvent_get_Error(This,phrErrorCode)
  1103.     (This)->lpVtbl -> get_Error(This,phrErrorCode)
  1104. #endif /* COBJMACROS */
  1105. #endif  /* C style interface */
  1106. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITToneTerminalEvent_get_Terminal_Proxy( 
  1107.     ITToneTerminalEvent * This,
  1108.     /* [retval][out] */ ITTerminal **ppTerminal);
  1109. void __RPC_STUB ITToneTerminalEvent_get_Terminal_Stub(
  1110.     IRpcStubBuffer *This,
  1111.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1112.     PRPC_MESSAGE _pRpcMessage,
  1113.     DWORD *_pdwStubPhase);
  1114. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITToneTerminalEvent_get_Call_Proxy( 
  1115.     ITToneTerminalEvent * This,
  1116.     /* [retval][out] */ ITCallInfo **ppCall);
  1117. void __RPC_STUB ITToneTerminalEvent_get_Call_Stub(
  1118.     IRpcStubBuffer *This,
  1119.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1120.     PRPC_MESSAGE _pRpcMessage,
  1121.     DWORD *_pdwStubPhase);
  1122. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITToneTerminalEvent_get_Error_Proxy( 
  1123.     ITToneTerminalEvent * This,
  1124.     /* [retval][out] */ HRESULT *phrErrorCode);
  1125. void __RPC_STUB ITToneTerminalEvent_get_Error_Stub(
  1126.     IRpcStubBuffer *This,
  1127.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1128.     PRPC_MESSAGE _pRpcMessage,
  1129.     DWORD *_pdwStubPhase);
  1130. #endif  /* __ITToneTerminalEvent_INTERFACE_DEFINED__ */
  1131. #ifndef __ITQOSEvent_INTERFACE_DEFINED__
  1132. #define __ITQOSEvent_INTERFACE_DEFINED__
  1133. /* interface ITQOSEvent */
  1134. /* [object][oleautomation][helpstring][uuid] */ 
  1135. EXTERN_C const IID IID_ITQOSEvent;
  1136. #if defined(__cplusplus) && !defined(CINTERFACE)
  1137.     
  1138.     MIDL_INTERFACE("CFA3357C-AD77-11d1-BB68-00C04FB6809F")
  1139.     ITQOSEvent : public IDispatch
  1140.     {
  1141.     public:
  1142.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Call( 
  1143.             /* [retval][out] */ ITCallInfo **ppCall) = 0;
  1144.         
  1145.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Event( 
  1146.             /* [retval][out] */ QOS_EVENT *pQosEvent) = 0;
  1147.         
  1148.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MediaType( 
  1149.             /* [retval][out] */ long *plMediaType) = 0;
  1150.         
  1151.     };
  1152.     
  1153. #else  /* C style interface */
  1154.     typedef struct ITQOSEventVtbl
  1155.     {
  1156.         BEGIN_INTERFACE
  1157.         
  1158.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1159.             ITQOSEvent * This,
  1160.             /* [in] */ REFIID riid,
  1161.             /* [iid_is][out] */ void **ppvObject);
  1162.         
  1163.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1164.             ITQOSEvent * This);
  1165.         
  1166.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1167.             ITQOSEvent * This);
  1168.         
  1169.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1170.             ITQOSEvent * This,
  1171.             /* [out] */ UINT *pctinfo);
  1172.         
  1173.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1174.             ITQOSEvent * This,
  1175.             /* [in] */ UINT iTInfo,
  1176.             /* [in] */ LCID lcid,
  1177.             /* [out] */ ITypeInfo **ppTInfo);
  1178.         
  1179.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1180.             ITQOSEvent * This,
  1181.             /* [in] */ REFIID riid,
  1182.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1183.             /* [in] */ UINT cNames,
  1184.             /* [in] */ LCID lcid,
  1185.             /* [size_is][out] */ DISPID *rgDispId);
  1186.         
  1187.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1188.             ITQOSEvent * This,
  1189.             /* [in] */ DISPID dispIdMember,
  1190.             /* [in] */ REFIID riid,
  1191.             /* [in] */ LCID lcid,
  1192.             /* [in] */ WORD wFlags,
  1193.             /* [out][in] */ DISPPARAMS *pDispParams,
  1194.             /* [out] */ VARIANT *pVarResult,
  1195.             /* [out] */ EXCEPINFO *pExcepInfo,
  1196.             /* [out] */ UINT *puArgErr);
  1197.         
  1198.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Call )( 
  1199.             ITQOSEvent * This,
  1200.             /* [retval][out] */ ITCallInfo **ppCall);
  1201.         
  1202.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Event )( 
  1203.             ITQOSEvent * This,
  1204.             /* [retval][out] */ QOS_EVENT *pQosEvent);
  1205.         
  1206.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MediaType )( 
  1207.             ITQOSEvent * This,
  1208.             /* [retval][out] */ long *plMediaType);
  1209.         
  1210.         END_INTERFACE
  1211.     } ITQOSEventVtbl;
  1212.     interface ITQOSEvent
  1213.     {
  1214.         CONST_VTBL struct ITQOSEventVtbl *lpVtbl;
  1215.     };
  1216.     
  1217. #ifdef COBJMACROS
  1218. #define ITQOSEvent_QueryInterface(This,riid,ppvObject)
  1219.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1220. #define ITQOSEvent_AddRef(This)
  1221.     (This)->lpVtbl -> AddRef(This)
  1222. #define ITQOSEvent_Release(This)
  1223.     (This)->lpVtbl -> Release(This)
  1224. #define ITQOSEvent_GetTypeInfoCount(This,pctinfo)
  1225.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1226. #define ITQOSEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1227.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1228. #define ITQOSEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1229.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1230. #define ITQOSEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1231.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1232. #define ITQOSEvent_get_Call(This,ppCall)
  1233.     (This)->lpVtbl -> get_Call(This,ppCall)
  1234. #define ITQOSEvent_get_Event(This,pQosEvent)
  1235.     (This)->lpVtbl -> get_Event(This,pQosEvent)
  1236. #define ITQOSEvent_get_MediaType(This,plMediaType)
  1237.     (This)->lpVtbl -> get_MediaType(This,plMediaType)
  1238. #endif /* COBJMACROS */
  1239. #endif  /* C style interface */
  1240. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITQOSEvent_get_Call_Proxy( 
  1241.     ITQOSEvent * This,
  1242.     /* [retval][out] */ ITCallInfo **ppCall);
  1243. void __RPC_STUB ITQOSEvent_get_Call_Stub(
  1244.     IRpcStubBuffer *This,
  1245.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1246.     PRPC_MESSAGE _pRpcMessage,
  1247.     DWORD *_pdwStubPhase);
  1248. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITQOSEvent_get_Event_Proxy( 
  1249.     ITQOSEvent * This,
  1250.     /* [retval][out] */ QOS_EVENT *pQosEvent);
  1251. void __RPC_STUB ITQOSEvent_get_Event_Stub(
  1252.     IRpcStubBuffer *This,
  1253.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1254.     PRPC_MESSAGE _pRpcMessage,
  1255.     DWORD *_pdwStubPhase);
  1256. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITQOSEvent_get_MediaType_Proxy( 
  1257.     ITQOSEvent * This,
  1258.     /* [retval][out] */ long *plMediaType);
  1259. void __RPC_STUB ITQOSEvent_get_MediaType_Stub(
  1260.     IRpcStubBuffer *This,
  1261.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1262.     PRPC_MESSAGE _pRpcMessage,
  1263.     DWORD *_pdwStubPhase);
  1264. #endif  /* __ITQOSEvent_INTERFACE_DEFINED__ */
  1265. #ifndef __ITCallInfoChangeEvent_INTERFACE_DEFINED__
  1266. #define __ITCallInfoChangeEvent_INTERFACE_DEFINED__
  1267. /* interface ITCallInfoChangeEvent */
  1268. /* [object][oleautomation][helpstring][uuid] */ 
  1269. EXTERN_C const IID IID_ITCallInfoChangeEvent;
  1270. #if defined(__cplusplus) && !defined(CINTERFACE)
  1271.     
  1272.     MIDL_INTERFACE("5D4B65F9-E51C-11d1-A02F-00C04FB6809F")
  1273.     ITCallInfoChangeEvent : public IDispatch
  1274.     {
  1275.     public:
  1276.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Call( 
  1277.             /* [retval][out] */ ITCallInfo **ppCall) = 0;
  1278.         
  1279.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Cause( 
  1280.             /* [retval][out] */ CALLINFOCHANGE_CAUSE *pCIC) = 0;
  1281.         
  1282.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallbackInstance( 
  1283.             /* [retval][out] */ long *plCallbackInstance) = 0;
  1284.         
  1285.     };
  1286.     
  1287. #else  /* C style interface */
  1288.     typedef struct ITCallInfoChangeEventVtbl
  1289.     {
  1290.         BEGIN_INTERFACE
  1291.         
  1292.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1293.             ITCallInfoChangeEvent * This,
  1294.             /* [in] */ REFIID riid,
  1295.             /* [iid_is][out] */ void **ppvObject);
  1296.         
  1297.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1298.             ITCallInfoChangeEvent * This);
  1299.         
  1300.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1301.             ITCallInfoChangeEvent * This);
  1302.         
  1303.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1304.             ITCallInfoChangeEvent * This,
  1305.             /* [out] */ UINT *pctinfo);
  1306.         
  1307.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1308.             ITCallInfoChangeEvent * This,
  1309.             /* [in] */ UINT iTInfo,
  1310.             /* [in] */ LCID lcid,
  1311.             /* [out] */ ITypeInfo **ppTInfo);
  1312.         
  1313.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1314.             ITCallInfoChangeEvent * This,
  1315.             /* [in] */ REFIID riid,
  1316.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1317.             /* [in] */ UINT cNames,
  1318.             /* [in] */ LCID lcid,
  1319.             /* [size_is][out] */ DISPID *rgDispId);
  1320.         
  1321.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1322.             ITCallInfoChangeEvent * This,
  1323.             /* [in] */ DISPID dispIdMember,
  1324.             /* [in] */ REFIID riid,
  1325.             /* [in] */ LCID lcid,
  1326.             /* [in] */ WORD wFlags,
  1327.             /* [out][in] */ DISPPARAMS *pDispParams,
  1328.             /* [out] */ VARIANT *pVarResult,
  1329.             /* [out] */ EXCEPINFO *pExcepInfo,
  1330.             /* [out] */ UINT *puArgErr);
  1331.         
  1332.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Call )( 
  1333.             ITCallInfoChangeEvent * This,
  1334.             /* [retval][out] */ ITCallInfo **ppCall);
  1335.         
  1336.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Cause )( 
  1337.             ITCallInfoChangeEvent * This,
  1338.             /* [retval][out] */ CALLINFOCHANGE_CAUSE *pCIC);
  1339.         
  1340.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallbackInstance )( 
  1341.             ITCallInfoChangeEvent * This,
  1342.             /* [retval][out] */ long *plCallbackInstance);
  1343.         
  1344.         END_INTERFACE
  1345.     } ITCallInfoChangeEventVtbl;
  1346.     interface ITCallInfoChangeEvent
  1347.     {
  1348.         CONST_VTBL struct ITCallInfoChangeEventVtbl *lpVtbl;
  1349.     };
  1350.     
  1351. #ifdef COBJMACROS
  1352. #define ITCallInfoChangeEvent_QueryInterface(This,riid,ppvObject)
  1353.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1354. #define ITCallInfoChangeEvent_AddRef(This)
  1355.     (This)->lpVtbl -> AddRef(This)
  1356. #define ITCallInfoChangeEvent_Release(This)
  1357.     (This)->lpVtbl -> Release(This)
  1358. #define ITCallInfoChangeEvent_GetTypeInfoCount(This,pctinfo)
  1359.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1360. #define ITCallInfoChangeEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1361.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1362. #define ITCallInfoChangeEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1363.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1364. #define ITCallInfoChangeEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1365.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1366. #define ITCallInfoChangeEvent_get_Call(This,ppCall)
  1367.     (This)->lpVtbl -> get_Call(This,ppCall)
  1368. #define ITCallInfoChangeEvent_get_Cause(This,pCIC)
  1369.     (This)->lpVtbl -> get_Cause(This,pCIC)
  1370. #define ITCallInfoChangeEvent_get_CallbackInstance(This,plCallbackInstance)
  1371.     (This)->lpVtbl -> get_CallbackInstance(This,plCallbackInstance)
  1372. #endif /* COBJMACROS */
  1373. #endif  /* C style interface */
  1374. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallInfoChangeEvent_get_Call_Proxy( 
  1375.     ITCallInfoChangeEvent * This,
  1376.     /* [retval][out] */ ITCallInfo **ppCall);
  1377. void __RPC_STUB ITCallInfoChangeEvent_get_Call_Stub(
  1378.     IRpcStubBuffer *This,
  1379.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1380.     PRPC_MESSAGE _pRpcMessage,
  1381.     DWORD *_pdwStubPhase);
  1382. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallInfoChangeEvent_get_Cause_Proxy( 
  1383.     ITCallInfoChangeEvent * This,
  1384.     /* [retval][out] */ CALLINFOCHANGE_CAUSE *pCIC);
  1385. void __RPC_STUB ITCallInfoChangeEvent_get_Cause_Stub(
  1386.     IRpcStubBuffer *This,
  1387.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1388.     PRPC_MESSAGE _pRpcMessage,
  1389.     DWORD *_pdwStubPhase);
  1390. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallInfoChangeEvent_get_CallbackInstance_Proxy( 
  1391.     ITCallInfoChangeEvent * This,
  1392.     /* [retval][out] */ long *plCallbackInstance);
  1393. void __RPC_STUB ITCallInfoChangeEvent_get_CallbackInstance_Stub(
  1394.     IRpcStubBuffer *This,
  1395.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1396.     PRPC_MESSAGE _pRpcMessage,
  1397.     DWORD *_pdwStubPhase);
  1398. #endif  /* __ITCallInfoChangeEvent_INTERFACE_DEFINED__ */
  1399. #ifndef __ITRequest_INTERFACE_DEFINED__
  1400. #define __ITRequest_INTERFACE_DEFINED__
  1401. /* interface ITRequest */
  1402. /* [object][oleautomation][helpstring][uuid] */ 
  1403. EXTERN_C const IID IID_ITRequest;
  1404. #if defined(__cplusplus) && !defined(CINTERFACE)
  1405.     
  1406.     MIDL_INTERFACE("AC48FFDF-F8C4-11d1-A030-00C04FB6809F")
  1407.     ITRequest : public IDispatch
  1408.     {
  1409.     public:
  1410.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE MakeCall( 
  1411.             /* [in] */ BSTR pDestAddress,
  1412.             /* [in] */ BSTR pAppName,
  1413.             /* [in] */ BSTR pCalledParty,
  1414.             /* [in] */ BSTR pComment) = 0;
  1415.         
  1416.     };
  1417.     
  1418. #else  /* C style interface */
  1419.     typedef struct ITRequestVtbl
  1420.     {
  1421.         BEGIN_INTERFACE
  1422.         
  1423.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1424.             ITRequest * This,
  1425.             /* [in] */ REFIID riid,
  1426.             /* [iid_is][out] */ void **ppvObject);
  1427.         
  1428.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1429.             ITRequest * This);
  1430.         
  1431.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1432.             ITRequest * This);
  1433.         
  1434.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1435.             ITRequest * This,
  1436.             /* [out] */ UINT *pctinfo);
  1437.         
  1438.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1439.             ITRequest * This,
  1440.             /* [in] */ UINT iTInfo,
  1441.             /* [in] */ LCID lcid,
  1442.             /* [out] */ ITypeInfo **ppTInfo);
  1443.         
  1444.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1445.             ITRequest * This,
  1446.             /* [in] */ REFIID riid,
  1447.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1448.             /* [in] */ UINT cNames,
  1449.             /* [in] */ LCID lcid,
  1450.             /* [size_is][out] */ DISPID *rgDispId);
  1451.         
  1452.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1453.             ITRequest * This,
  1454.             /* [in] */ DISPID dispIdMember,
  1455.             /* [in] */ REFIID riid,
  1456.             /* [in] */ LCID lcid,
  1457.             /* [in] */ WORD wFlags,
  1458.             /* [out][in] */ DISPPARAMS *pDispParams,
  1459.             /* [out] */ VARIANT *pVarResult,
  1460.             /* [out] */ EXCEPINFO *pExcepInfo,
  1461.             /* [out] */ UINT *puArgErr);
  1462.         
  1463.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *MakeCall )( 
  1464.             ITRequest * This,
  1465.             /* [in] */ BSTR pDestAddress,
  1466.             /* [in] */ BSTR pAppName,
  1467.             /* [in] */ BSTR pCalledParty,
  1468.             /* [in] */ BSTR pComment);
  1469.         
  1470.         END_INTERFACE
  1471.     } ITRequestVtbl;
  1472.     interface ITRequest
  1473.     {
  1474.         CONST_VTBL struct ITRequestVtbl *lpVtbl;
  1475.     };
  1476.     
  1477. #ifdef COBJMACROS
  1478. #define ITRequest_QueryInterface(This,riid,ppvObject)
  1479.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1480. #define ITRequest_AddRef(This)
  1481.     (This)->lpVtbl -> AddRef(This)
  1482. #define ITRequest_Release(This)
  1483.     (This)->lpVtbl -> Release(This)
  1484. #define ITRequest_GetTypeInfoCount(This,pctinfo)
  1485.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1486. #define ITRequest_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1487.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1488. #define ITRequest_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1489.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1490. #define ITRequest_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1491.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1492. #define ITRequest_MakeCall(This,pDestAddress,pAppName,pCalledParty,pComment)
  1493.     (This)->lpVtbl -> MakeCall(This,pDestAddress,pAppName,pCalledParty,pComment)
  1494. #endif /* COBJMACROS */
  1495. #endif  /* C style interface */
  1496. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITRequest_MakeCall_Proxy( 
  1497.     ITRequest * This,
  1498.     /* [in] */ BSTR pDestAddress,
  1499.     /* [in] */ BSTR pAppName,
  1500.     /* [in] */ BSTR pCalledParty,
  1501.     /* [in] */ BSTR pComment);
  1502. void __RPC_STUB ITRequest_MakeCall_Stub(
  1503.     IRpcStubBuffer *This,
  1504.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1505.     PRPC_MESSAGE _pRpcMessage,
  1506.     DWORD *_pdwStubPhase);
  1507. #endif  /* __ITRequest_INTERFACE_DEFINED__ */
  1508. #ifndef __ITRequestEvent_INTERFACE_DEFINED__
  1509. #define __ITRequestEvent_INTERFACE_DEFINED__
  1510. /* interface ITRequestEvent */
  1511. /* [object][oleautomation][helpstring][uuid] */ 
  1512. EXTERN_C const IID IID_ITRequestEvent;
  1513. #if defined(__cplusplus) && !defined(CINTERFACE)
  1514.     
  1515.     MIDL_INTERFACE("AC48FFDE-F8C4-11d1-A030-00C04FB6809F")
  1516.     ITRequestEvent : public IDispatch
  1517.     {
  1518.     public:
  1519.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RegistrationInstance( 
  1520.             /* [retval][out] */ long *plRegistrationInstance) = 0;
  1521.         
  1522.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RequestMode( 
  1523.             /* [retval][out] */ long *plRequestMode) = 0;
  1524.         
  1525.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DestAddress( 
  1526.             /* [retval][out] */ BSTR *ppDestAddress) = 0;
  1527.         
  1528.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AppName( 
  1529.             /* [retval][out] */ BSTR *ppAppName) = 0;
  1530.         
  1531.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CalledParty( 
  1532.             /* [retval][out] */ BSTR *ppCalledParty) = 0;
  1533.         
  1534.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Comment( 
  1535.             /* [retval][out] */ BSTR *ppComment) = 0;
  1536.         
  1537.     };
  1538.     
  1539. #else  /* C style interface */
  1540.     typedef struct ITRequestEventVtbl
  1541.     {
  1542.         BEGIN_INTERFACE
  1543.         
  1544.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1545.             ITRequestEvent * This,
  1546.             /* [in] */ REFIID riid,
  1547.             /* [iid_is][out] */ void **ppvObject);
  1548.         
  1549.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1550.             ITRequestEvent * This);
  1551.         
  1552.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1553.             ITRequestEvent * This);
  1554.         
  1555.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1556.             ITRequestEvent * This,
  1557.             /* [out] */ UINT *pctinfo);
  1558.         
  1559.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1560.             ITRequestEvent * This,
  1561.             /* [in] */ UINT iTInfo,
  1562.             /* [in] */ LCID lcid,
  1563.             /* [out] */ ITypeInfo **ppTInfo);
  1564.         
  1565.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1566.             ITRequestEvent * This,
  1567.             /* [in] */ REFIID riid,
  1568.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1569.             /* [in] */ UINT cNames,
  1570.             /* [in] */ LCID lcid,
  1571.             /* [size_is][out] */ DISPID *rgDispId);
  1572.         
  1573.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1574.             ITRequestEvent * This,
  1575.             /* [in] */ DISPID dispIdMember,
  1576.             /* [in] */ REFIID riid,
  1577.             /* [in] */ LCID lcid,
  1578.             /* [in] */ WORD wFlags,
  1579.             /* [out][in] */ DISPPARAMS *pDispParams,
  1580.             /* [out] */ VARIANT *pVarResult,
  1581.             /* [out] */ EXCEPINFO *pExcepInfo,
  1582.             /* [out] */ UINT *puArgErr);
  1583.         
  1584.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RegistrationInstance )( 
  1585.             ITRequestEvent * This,
  1586.             /* [retval][out] */ long *plRegistrationInstance);
  1587.         
  1588.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RequestMode )( 
  1589.             ITRequestEvent * This,
  1590.             /* [retval][out] */ long *plRequestMode);
  1591.         
  1592.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DestAddress )( 
  1593.             ITRequestEvent * This,
  1594.             /* [retval][out] */ BSTR *ppDestAddress);
  1595.         
  1596.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AppName )( 
  1597.             ITRequestEvent * This,
  1598.             /* [retval][out] */ BSTR *ppAppName);
  1599.         
  1600.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CalledParty )( 
  1601.             ITRequestEvent * This,
  1602.             /* [retval][out] */ BSTR *ppCalledParty);
  1603.         
  1604.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Comment )( 
  1605.             ITRequestEvent * This,
  1606.             /* [retval][out] */ BSTR *ppComment);
  1607.         
  1608.         END_INTERFACE
  1609.     } ITRequestEventVtbl;
  1610.     interface ITRequestEvent
  1611.     {
  1612.         CONST_VTBL struct ITRequestEventVtbl *lpVtbl;
  1613.     };
  1614.     
  1615. #ifdef COBJMACROS
  1616. #define ITRequestEvent_QueryInterface(This,riid,ppvObject)
  1617.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1618. #define ITRequestEvent_AddRef(This)
  1619.     (This)->lpVtbl -> AddRef(This)
  1620. #define ITRequestEvent_Release(This)
  1621.     (This)->lpVtbl -> Release(This)
  1622. #define ITRequestEvent_GetTypeInfoCount(This,pctinfo)
  1623.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1624. #define ITRequestEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1625.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1626. #define ITRequestEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1627.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1628. #define ITRequestEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1629.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1630. #define ITRequestEvent_get_RegistrationInstance(This,plRegistrationInstance)
  1631.     (This)->lpVtbl -> get_RegistrationInstance(This,plRegistrationInstance)
  1632. #define ITRequestEvent_get_RequestMode(This,plRequestMode)
  1633.     (This)->lpVtbl -> get_RequestMode(This,plRequestMode)
  1634. #define ITRequestEvent_get_DestAddress(This,ppDestAddress)
  1635.     (This)->lpVtbl -> get_DestAddress(This,ppDestAddress)
  1636. #define ITRequestEvent_get_AppName(This,ppAppName)
  1637.     (This)->lpVtbl -> get_AppName(This,ppAppName)
  1638. #define ITRequestEvent_get_CalledParty(This,ppCalledParty)
  1639.     (This)->lpVtbl -> get_CalledParty(This,ppCalledParty)
  1640. #define ITRequestEvent_get_Comment(This,ppComment)
  1641.     (This)->lpVtbl -> get_Comment(This,ppComment)
  1642. #endif /* COBJMACROS */
  1643. #endif  /* C style interface */
  1644. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITRequestEvent_get_RegistrationInstance_Proxy( 
  1645.     ITRequestEvent * This,
  1646.     /* [retval][out] */ long *plRegistrationInstance);
  1647. void __RPC_STUB ITRequestEvent_get_RegistrationInstance_Stub(
  1648.     IRpcStubBuffer *This,
  1649.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1650.     PRPC_MESSAGE _pRpcMessage,
  1651.     DWORD *_pdwStubPhase);
  1652. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITRequestEvent_get_RequestMode_Proxy( 
  1653.     ITRequestEvent * This,
  1654.     /* [retval][out] */ long *plRequestMode);
  1655. void __RPC_STUB ITRequestEvent_get_RequestMode_Stub(
  1656.     IRpcStubBuffer *This,
  1657.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1658.     PRPC_MESSAGE _pRpcMessage,
  1659.     DWORD *_pdwStubPhase);
  1660. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITRequestEvent_get_DestAddress_Proxy( 
  1661.     ITRequestEvent * This,
  1662.     /* [retval][out] */ BSTR *ppDestAddress);
  1663. void __RPC_STUB ITRequestEvent_get_DestAddress_Stub(
  1664.     IRpcStubBuffer *This,
  1665.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1666.     PRPC_MESSAGE _pRpcMessage,
  1667.     DWORD *_pdwStubPhase);
  1668. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITRequestEvent_get_AppName_Proxy( 
  1669.     ITRequestEvent * This,
  1670.     /* [retval][out] */ BSTR *ppAppName);
  1671. void __RPC_STUB ITRequestEvent_get_AppName_Stub(
  1672.     IRpcStubBuffer *This,
  1673.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1674.     PRPC_MESSAGE _pRpcMessage,
  1675.     DWORD *_pdwStubPhase);
  1676. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITRequestEvent_get_CalledParty_Proxy( 
  1677.     ITRequestEvent * This,
  1678.     /* [retval][out] */ BSTR *ppCalledParty);
  1679. void __RPC_STUB ITRequestEvent_get_CalledParty_Stub(
  1680.     IRpcStubBuffer *This,
  1681.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1682.     PRPC_MESSAGE _pRpcMessage,
  1683.     DWORD *_pdwStubPhase);
  1684. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITRequestEvent_get_Comment_Proxy( 
  1685.     ITRequestEvent * This,
  1686.     /* [retval][out] */ BSTR *ppComment);
  1687. void __RPC_STUB ITRequestEvent_get_Comment_Stub(
  1688.     IRpcStubBuffer *This,
  1689.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1690.     PRPC_MESSAGE _pRpcMessage,
  1691.     DWORD *_pdwStubPhase);
  1692. #endif  /* __ITRequestEvent_INTERFACE_DEFINED__ */
  1693. #ifndef __ITCollection_INTERFACE_DEFINED__
  1694. #define __ITCollection_INTERFACE_DEFINED__
  1695. /* interface ITCollection */
  1696. /* [dual][helpstring][uuid][public][object] */ 
  1697. EXTERN_C const IID IID_ITCollection;
  1698. #if defined(__cplusplus) && !defined(CINTERFACE)
  1699.     
  1700.     MIDL_INTERFACE("5EC5ACF2-9C02-11d0-8362-00AA003CCABD")
  1701.     ITCollection : public IDispatch
  1702.     {
  1703.     public:
  1704.         virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Count( 
  1705.             /* [retval][out] */ long *lCount) = 0;
  1706.         
  1707.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Item( 
  1708.             /* [in] */ long Index,
  1709.             /* [retval][out] */ VARIANT *pVariant) = 0;
  1710.         
  1711.         virtual /* [helpstring][id][restricted][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum( 
  1712.             /* [retval][out] */ IUnknown **ppNewEnum) = 0;
  1713.         
  1714.     };
  1715.     
  1716. #else  /* C style interface */
  1717.     typedef struct ITCollectionVtbl
  1718.     {
  1719.         BEGIN_INTERFACE
  1720.         
  1721.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1722.             ITCollection * This,
  1723.             /* [in] */ REFIID riid,
  1724.             /* [iid_is][out] */ void **ppvObject);
  1725.         
  1726.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1727.             ITCollection * This);
  1728.         
  1729.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1730.             ITCollection * This);
  1731.         
  1732.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1733.             ITCollection * This,
  1734.             /* [out] */ UINT *pctinfo);
  1735.         
  1736.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1737.             ITCollection * This,
  1738.             /* [in] */ UINT iTInfo,
  1739.             /* [in] */ LCID lcid,
  1740.             /* [out] */ ITypeInfo **ppTInfo);
  1741.         
  1742.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1743.             ITCollection * This,
  1744.             /* [in] */ REFIID riid,
  1745.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1746.             /* [in] */ UINT cNames,
  1747.             /* [in] */ LCID lcid,
  1748.             /* [size_is][out] */ DISPID *rgDispId);
  1749.         
  1750.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1751.             ITCollection * This,
  1752.             /* [in] */ DISPID dispIdMember,
  1753.             /* [in] */ REFIID riid,
  1754.             /* [in] */ LCID lcid,
  1755.             /* [in] */ WORD wFlags,
  1756.             /* [out][in] */ DISPPARAMS *pDispParams,
  1757.             /* [out] */ VARIANT *pVarResult,
  1758.             /* [out] */ EXCEPINFO *pExcepInfo,
  1759.             /* [out] */ UINT *puArgErr);
  1760.         
  1761.         /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( 
  1762.             ITCollection * This,
  1763.             /* [retval][out] */ long *lCount);
  1764.         
  1765.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )( 
  1766.             ITCollection * This,
  1767.             /* [in] */ long Index,
  1768.             /* [retval][out] */ VARIANT *pVariant);
  1769.         
  1770.         /* [helpstring][id][restricted][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )( 
  1771.             ITCollection * This,
  1772.             /* [retval][out] */ IUnknown **ppNewEnum);
  1773.         
  1774.         END_INTERFACE
  1775.     } ITCollectionVtbl;
  1776.     interface ITCollection
  1777.     {
  1778.         CONST_VTBL struct ITCollectionVtbl *lpVtbl;
  1779.     };
  1780.     
  1781. #ifdef COBJMACROS
  1782. #define ITCollection_QueryInterface(This,riid,ppvObject)
  1783.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1784. #define ITCollection_AddRef(This)
  1785.     (This)->lpVtbl -> AddRef(This)
  1786. #define ITCollection_Release(This)
  1787.     (This)->lpVtbl -> Release(This)
  1788. #define ITCollection_GetTypeInfoCount(This,pctinfo)
  1789.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1790. #define ITCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1791.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1792. #define ITCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1793.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1794. #define ITCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1795.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1796. #define ITCollection_get_Count(This,lCount)
  1797.     (This)->lpVtbl -> get_Count(This,lCount)
  1798. #define ITCollection_get_Item(This,Index,pVariant)
  1799.     (This)->lpVtbl -> get_Item(This,Index,pVariant)
  1800. #define ITCollection_get__NewEnum(This,ppNewEnum)
  1801.     (This)->lpVtbl -> get__NewEnum(This,ppNewEnum)
  1802. #endif /* COBJMACROS */
  1803. #endif  /* C style interface */
  1804. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE ITCollection_get_Count_Proxy( 
  1805.     ITCollection * This,
  1806.     /* [retval][out] */ long *lCount);
  1807. void __RPC_STUB ITCollection_get_Count_Stub(
  1808.     IRpcStubBuffer *This,
  1809.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1810.     PRPC_MESSAGE _pRpcMessage,
  1811.     DWORD *_pdwStubPhase);
  1812. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCollection_get_Item_Proxy( 
  1813.     ITCollection * This,
  1814.     /* [in] */ long Index,
  1815.     /* [retval][out] */ VARIANT *pVariant);
  1816. void __RPC_STUB ITCollection_get_Item_Stub(
  1817.     IRpcStubBuffer *This,
  1818.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1819.     PRPC_MESSAGE _pRpcMessage,
  1820.     DWORD *_pdwStubPhase);
  1821. /* [helpstring][id][restricted][propget] */ HRESULT STDMETHODCALLTYPE ITCollection_get__NewEnum_Proxy( 
  1822.     ITCollection * This,
  1823.     /* [retval][out] */ IUnknown **ppNewEnum);
  1824. void __RPC_STUB ITCollection_get__NewEnum_Stub(
  1825.     IRpcStubBuffer *This,
  1826.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1827.     PRPC_MESSAGE _pRpcMessage,
  1828.     DWORD *_pdwStubPhase);
  1829. #endif  /* __ITCollection_INTERFACE_DEFINED__ */
  1830. #ifndef __ITCollection2_INTERFACE_DEFINED__
  1831. #define __ITCollection2_INTERFACE_DEFINED__
  1832. /* interface ITCollection2 */
  1833. /* [dual][helpstring][uuid][public][object] */ 
  1834. EXTERN_C const IID IID_ITCollection2;
  1835. #if defined(__cplusplus) && !defined(CINTERFACE)
  1836.     
  1837.     MIDL_INTERFACE("E6DDDDA5-A6D3-48ff-8737-D32FC4D95477")
  1838.     ITCollection2 : public ITCollection
  1839.     {
  1840.     public:
  1841.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Add( 
  1842.             /* [in] */ long Index,
  1843.             /* [in] */ VARIANT *pVariant) = 0;
  1844.         
  1845.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Remove( 
  1846.             /* [in] */ long Index) = 0;
  1847.         
  1848.     };
  1849.     
  1850. #else  /* C style interface */
  1851.     typedef struct ITCollection2Vtbl
  1852.     {
  1853.         BEGIN_INTERFACE
  1854.         
  1855.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1856.             ITCollection2 * This,
  1857.             /* [in] */ REFIID riid,
  1858.             /* [iid_is][out] */ void **ppvObject);
  1859.         
  1860.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1861.             ITCollection2 * This);
  1862.         
  1863.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1864.             ITCollection2 * This);
  1865.         
  1866.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1867.             ITCollection2 * This,
  1868.             /* [out] */ UINT *pctinfo);
  1869.         
  1870.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1871.             ITCollection2 * This,
  1872.             /* [in] */ UINT iTInfo,
  1873.             /* [in] */ LCID lcid,
  1874.             /* [out] */ ITypeInfo **ppTInfo);
  1875.         
  1876.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1877.             ITCollection2 * This,
  1878.             /* [in] */ REFIID riid,
  1879.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1880.             /* [in] */ UINT cNames,
  1881.             /* [in] */ LCID lcid,
  1882.             /* [size_is][out] */ DISPID *rgDispId);
  1883.         
  1884.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1885.             ITCollection2 * This,
  1886.             /* [in] */ DISPID dispIdMember,
  1887.             /* [in] */ REFIID riid,
  1888.             /* [in] */ LCID lcid,
  1889.             /* [in] */ WORD wFlags,
  1890.             /* [out][in] */ DISPPARAMS *pDispParams,
  1891.             /* [out] */ VARIANT *pVarResult,
  1892.             /* [out] */ EXCEPINFO *pExcepInfo,
  1893.             /* [out] */ UINT *puArgErr);
  1894.         
  1895.         /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( 
  1896.             ITCollection2 * This,
  1897.             /* [retval][out] */ long *lCount);
  1898.         
  1899.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )( 
  1900.             ITCollection2 * This,
  1901.             /* [in] */ long Index,
  1902.             /* [retval][out] */ VARIANT *pVariant);
  1903.         
  1904.         /* [helpstring][id][restricted][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )( 
  1905.             ITCollection2 * This,
  1906.             /* [retval][out] */ IUnknown **ppNewEnum);
  1907.         
  1908.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Add )( 
  1909.             ITCollection2 * This,
  1910.             /* [in] */ long Index,
  1911.             /* [in] */ VARIANT *pVariant);
  1912.         
  1913.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )( 
  1914.             ITCollection2 * This,
  1915.             /* [in] */ long Index);
  1916.         
  1917.         END_INTERFACE
  1918.     } ITCollection2Vtbl;
  1919.     interface ITCollection2
  1920.     {
  1921.         CONST_VTBL struct ITCollection2Vtbl *lpVtbl;
  1922.     };
  1923.     
  1924. #ifdef COBJMACROS
  1925. #define ITCollection2_QueryInterface(This,riid,ppvObject)
  1926.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1927. #define ITCollection2_AddRef(This)
  1928.     (This)->lpVtbl -> AddRef(This)
  1929. #define ITCollection2_Release(This)
  1930.     (This)->lpVtbl -> Release(This)
  1931. #define ITCollection2_GetTypeInfoCount(This,pctinfo)
  1932.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1933. #define ITCollection2_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1934.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1935. #define ITCollection2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1936.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1937. #define ITCollection2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1938.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1939. #define ITCollection2_get_Count(This,lCount)
  1940.     (This)->lpVtbl -> get_Count(This,lCount)
  1941. #define ITCollection2_get_Item(This,Index,pVariant)
  1942.     (This)->lpVtbl -> get_Item(This,Index,pVariant)
  1943. #define ITCollection2_get__NewEnum(This,ppNewEnum)
  1944.     (This)->lpVtbl -> get__NewEnum(This,ppNewEnum)
  1945. #define ITCollection2_Add(This,Index,pVariant)
  1946.     (This)->lpVtbl -> Add(This,Index,pVariant)
  1947. #define ITCollection2_Remove(This,Index)
  1948.     (This)->lpVtbl -> Remove(This,Index)
  1949. #endif /* COBJMACROS */
  1950. #endif  /* C style interface */
  1951. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITCollection2_Add_Proxy( 
  1952.     ITCollection2 * This,
  1953.     /* [in] */ long Index,
  1954.     /* [in] */ VARIANT *pVariant);
  1955. void __RPC_STUB ITCollection2_Add_Stub(
  1956.     IRpcStubBuffer *This,
  1957.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1958.     PRPC_MESSAGE _pRpcMessage,
  1959.     DWORD *_pdwStubPhase);
  1960. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITCollection2_Remove_Proxy( 
  1961.     ITCollection2 * This,
  1962.     /* [in] */ long Index);
  1963. void __RPC_STUB ITCollection2_Remove_Stub(
  1964.     IRpcStubBuffer *This,
  1965.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1966.     PRPC_MESSAGE _pRpcMessage,
  1967.     DWORD *_pdwStubPhase);
  1968. #endif  /* __ITCollection2_INTERFACE_DEFINED__ */
  1969. #ifndef __ITForwardInformation_INTERFACE_DEFINED__
  1970. #define __ITForwardInformation_INTERFACE_DEFINED__
  1971. /* interface ITForwardInformation */
  1972. /* [object][dual][helpstring][uuid] */ 
  1973. EXTERN_C const IID IID_ITForwardInformation;
  1974. #if defined(__cplusplus) && !defined(CINTERFACE)
  1975.     
  1976.     MIDL_INTERFACE("449F659E-88A3-11d1-BB5D-00C04FB6809F")
  1977.     ITForwardInformation : public IDispatch
  1978.     {
  1979.     public:
  1980.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_NumRingsNoAnswer( 
  1981.             /* [in] */ long lNumRings) = 0;
  1982.         
  1983.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NumRingsNoAnswer( 
  1984.             /* [retval][out] */ long *plNumRings) = 0;
  1985.         
  1986.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetForwardType( 
  1987.             /* [in] */ long ForwardType,
  1988.             /* [in] */ BSTR pDestAddress,
  1989.             /* [in] */ BSTR pCallerAddress) = 0;
  1990.         
  1991.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ForwardTypeDestination( 
  1992.             /* [in] */ long ForwardType,
  1993.             /* [retval][out] */ BSTR *ppDestAddress) = 0;
  1994.         
  1995.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ForwardTypeCaller( 
  1996.             /* [in] */ long Forwardtype,
  1997.             /* [retval][out] */ BSTR *ppCallerAddress) = 0;
  1998.         
  1999.         virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE GetForwardType( 
  2000.             /* [in] */ long ForwardType,
  2001.             /* [out] */ BSTR *ppDestinationAddress,
  2002.             /* [out] */ BSTR *ppCallerAddress) = 0;
  2003.         
  2004.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Clear( void) = 0;
  2005.         
  2006.     };
  2007.     
  2008. #else  /* C style interface */
  2009.     typedef struct ITForwardInformationVtbl
  2010.     {
  2011.         BEGIN_INTERFACE
  2012.         
  2013.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2014.             ITForwardInformation * This,
  2015.             /* [in] */ REFIID riid,
  2016.             /* [iid_is][out] */ void **ppvObject);
  2017.         
  2018.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2019.             ITForwardInformation * This);
  2020.         
  2021.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2022.             ITForwardInformation * This);
  2023.         
  2024.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  2025.             ITForwardInformation * This,
  2026.             /* [out] */ UINT *pctinfo);
  2027.         
  2028.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  2029.             ITForwardInformation * This,
  2030.             /* [in] */ UINT iTInfo,
  2031.             /* [in] */ LCID lcid,
  2032.             /* [out] */ ITypeInfo **ppTInfo);
  2033.         
  2034.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  2035.             ITForwardInformation * This,
  2036.             /* [in] */ REFIID riid,
  2037.             /* [size_is][in] */ LPOLESTR *rgszNames,
  2038.             /* [in] */ UINT cNames,
  2039.             /* [in] */ LCID lcid,
  2040.             /* [size_is][out] */ DISPID *rgDispId);
  2041.         
  2042.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  2043.             ITForwardInformation * This,
  2044.             /* [in] */ DISPID dispIdMember,
  2045.             /* [in] */ REFIID riid,
  2046.             /* [in] */ LCID lcid,
  2047.             /* [in] */ WORD wFlags,
  2048.             /* [out][in] */ DISPPARAMS *pDispParams,
  2049.             /* [out] */ VARIANT *pVarResult,
  2050.             /* [out] */ EXCEPINFO *pExcepInfo,
  2051.             /* [out] */ UINT *puArgErr);
  2052.         
  2053.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_NumRingsNoAnswer )( 
  2054.             ITForwardInformation * This,
  2055.             /* [in] */ long lNumRings);
  2056.         
  2057.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NumRingsNoAnswer )( 
  2058.             ITForwardInformation * This,
  2059.             /* [retval][out] */ long *plNumRings);
  2060.         
  2061.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetForwardType )( 
  2062.             ITForwardInformation * This,
  2063.             /* [in] */ long ForwardType,
  2064.             /* [in] */ BSTR pDestAddress,
  2065.             /* [in] */ BSTR pCallerAddress);
  2066.         
  2067.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ForwardTypeDestination )( 
  2068.             ITForwardInformation * This,
  2069.             /* [in] */ long ForwardType,
  2070.             /* [retval][out] */ BSTR *ppDestAddress);
  2071.         
  2072.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ForwardTypeCaller )( 
  2073.             ITForwardInformation * This,
  2074.             /* [in] */ long Forwardtype,
  2075.             /* [retval][out] */ BSTR *ppCallerAddress);
  2076.         
  2077.         /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *GetForwardType )( 
  2078.             ITForwardInformation * This,
  2079.             /* [in] */ long ForwardType,
  2080.             /* [out] */ BSTR *ppDestinationAddress,
  2081.             /* [out] */ BSTR *ppCallerAddress);
  2082.         
  2083.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Clear )( 
  2084.             ITForwardInformation * This);
  2085.         
  2086.         END_INTERFACE
  2087.     } ITForwardInformationVtbl;
  2088.     interface ITForwardInformation
  2089.     {
  2090.         CONST_VTBL struct ITForwardInformationVtbl *lpVtbl;
  2091.     };
  2092.     
  2093. #ifdef COBJMACROS
  2094. #define ITForwardInformation_QueryInterface(This,riid,ppvObject)
  2095.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2096. #define ITForwardInformation_AddRef(This)
  2097.     (This)->lpVtbl -> AddRef(This)
  2098. #define ITForwardInformation_Release(This)
  2099.     (This)->lpVtbl -> Release(This)
  2100. #define ITForwardInformation_GetTypeInfoCount(This,pctinfo)
  2101.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2102. #define ITForwardInformation_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2103.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2104. #define ITForwardInformation_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2105.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2106. #define ITForwardInformation_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2107.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2108. #define ITForwardInformation_put_NumRingsNoAnswer(This,lNumRings)
  2109.     (This)->lpVtbl -> put_NumRingsNoAnswer(This,lNumRings)
  2110. #define ITForwardInformation_get_NumRingsNoAnswer(This,plNumRings)
  2111.     (This)->lpVtbl -> get_NumRingsNoAnswer(This,plNumRings)
  2112. #define ITForwardInformation_SetForwardType(This,ForwardType,pDestAddress,pCallerAddress)
  2113.     (This)->lpVtbl -> SetForwardType(This,ForwardType,pDestAddress,pCallerAddress)
  2114. #define ITForwardInformation_get_ForwardTypeDestination(This,ForwardType,ppDestAddress)
  2115.     (This)->lpVtbl -> get_ForwardTypeDestination(This,ForwardType,ppDestAddress)
  2116. #define ITForwardInformation_get_ForwardTypeCaller(This,Forwardtype,ppCallerAddress)
  2117.     (This)->lpVtbl -> get_ForwardTypeCaller(This,Forwardtype,ppCallerAddress)
  2118. #define ITForwardInformation_GetForwardType(This,ForwardType,ppDestinationAddress,ppCallerAddress)
  2119.     (This)->lpVtbl -> GetForwardType(This,ForwardType,ppDestinationAddress,ppCallerAddress)
  2120. #define ITForwardInformation_Clear(This)
  2121.     (This)->lpVtbl -> Clear(This)
  2122. #endif /* COBJMACROS */
  2123. #endif  /* C style interface */
  2124. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITForwardInformation_put_NumRingsNoAnswer_Proxy( 
  2125.     ITForwardInformation * This,
  2126.     /* [in] */ long lNumRings);
  2127. void __RPC_STUB ITForwardInformation_put_NumRingsNoAnswer_Stub(
  2128.     IRpcStubBuffer *This,
  2129.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2130.     PRPC_MESSAGE _pRpcMessage,
  2131.     DWORD *_pdwStubPhase);
  2132. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITForwardInformation_get_NumRingsNoAnswer_Proxy( 
  2133.     ITForwardInformation * This,
  2134.     /* [retval][out] */ long *plNumRings);
  2135. void __RPC_STUB ITForwardInformation_get_NumRingsNoAnswer_Stub(
  2136.     IRpcStubBuffer *This,
  2137.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2138.     PRPC_MESSAGE _pRpcMessage,
  2139.     DWORD *_pdwStubPhase);
  2140. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITForwardInformation_SetForwardType_Proxy( 
  2141.     ITForwardInformation * This,
  2142.     /* [in] */ long ForwardType,
  2143.     /* [in] */ BSTR pDestAddress,
  2144.     /* [in] */ BSTR pCallerAddress);
  2145. void __RPC_STUB ITForwardInformation_SetForwardType_Stub(
  2146.     IRpcStubBuffer *This,
  2147.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2148.     PRPC_MESSAGE _pRpcMessage,
  2149.     DWORD *_pdwStubPhase);
  2150. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITForwardInformation_get_ForwardTypeDestination_Proxy( 
  2151.     ITForwardInformation * This,
  2152.     /* [in] */ long ForwardType,
  2153.     /* [retval][out] */ BSTR *ppDestAddress);
  2154. void __RPC_STUB ITForwardInformation_get_ForwardTypeDestination_Stub(
  2155.     IRpcStubBuffer *This,
  2156.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2157.     PRPC_MESSAGE _pRpcMessage,
  2158.     DWORD *_pdwStubPhase);
  2159. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITForwardInformation_get_ForwardTypeCaller_Proxy( 
  2160.     ITForwardInformation * This,
  2161.     /* [in] */ long Forwardtype,
  2162.     /* [retval][out] */ BSTR *ppCallerAddress);
  2163. void __RPC_STUB ITForwardInformation_get_ForwardTypeCaller_Stub(
  2164.     IRpcStubBuffer *This,
  2165.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2166.     PRPC_MESSAGE _pRpcMessage,
  2167.     DWORD *_pdwStubPhase);
  2168. /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITForwardInformation_GetForwardType_Proxy( 
  2169.     ITForwardInformation * This,
  2170.     /* [in] */ long ForwardType,
  2171.     /* [out] */ BSTR *ppDestinationAddress,
  2172.     /* [out] */ BSTR *ppCallerAddress);
  2173. void __RPC_STUB ITForwardInformation_GetForwardType_Stub(
  2174.     IRpcStubBuffer *This,
  2175.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2176.     PRPC_MESSAGE _pRpcMessage,
  2177.     DWORD *_pdwStubPhase);
  2178. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITForwardInformation_Clear_Proxy( 
  2179.     ITForwardInformation * This);
  2180. void __RPC_STUB ITForwardInformation_Clear_Stub(
  2181.     IRpcStubBuffer *This,
  2182.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2183.     PRPC_MESSAGE _pRpcMessage,
  2184.     DWORD *_pdwStubPhase);
  2185. #endif  /* __ITForwardInformation_INTERFACE_DEFINED__ */
  2186. #ifndef __ITForwardInformation2_INTERFACE_DEFINED__
  2187. #define __ITForwardInformation2_INTERFACE_DEFINED__
  2188. /* interface ITForwardInformation2 */
  2189. /* [object][dual][helpstring][uuid] */ 
  2190. EXTERN_C const IID IID_ITForwardInformation2;
  2191. #if defined(__cplusplus) && !defined(CINTERFACE)
  2192.     
  2193.     MIDL_INTERFACE("5229B4ED-B260-4382-8E1A-5DF3A8A4CCC0")
  2194.     ITForwardInformation2 : public ITForwardInformation
  2195.     {
  2196.     public:
  2197.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetForwardType2( 
  2198.             /* [in] */ long ForwardType,
  2199.             /* [in] */ BSTR pDestAddress,
  2200.             /* [in] */ long DestAddressType,
  2201.             /* [in] */ BSTR pCallerAddress,
  2202.             /* [in] */ long CallerAddressType) = 0;
  2203.         
  2204.         virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE GetForwardType2( 
  2205.             /* [in] */ long ForwardType,
  2206.             /* [out] */ BSTR *ppDestinationAddress,
  2207.             /* [out] */ long *pDestAddressType,
  2208.             /* [out] */ BSTR *ppCallerAddress,
  2209.             /* [out] */ long *pCallerAddressType) = 0;
  2210.         
  2211.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ForwardTypeDestinationAddressType( 
  2212.             /* [in] */ long ForwardType,
  2213.             /* [retval][out] */ long *pDestAddressType) = 0;
  2214.         
  2215.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ForwardTypeCallerAddressType( 
  2216.             /* [in] */ long Forwardtype,
  2217.             /* [retval][out] */ long *pCallerAddressType) = 0;
  2218.         
  2219.     };
  2220.     
  2221. #else  /* C style interface */
  2222.     typedef struct ITForwardInformation2Vtbl
  2223.     {
  2224.         BEGIN_INTERFACE
  2225.         
  2226.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2227.             ITForwardInformation2 * This,
  2228.             /* [in] */ REFIID riid,
  2229.             /* [iid_is][out] */ void **ppvObject);
  2230.         
  2231.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2232.             ITForwardInformation2 * This);
  2233.         
  2234.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2235.             ITForwardInformation2 * This);
  2236.         
  2237.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  2238.             ITForwardInformation2 * This,
  2239.             /* [out] */ UINT *pctinfo);
  2240.         
  2241.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  2242.             ITForwardInformation2 * This,
  2243.             /* [in] */ UINT iTInfo,
  2244.             /* [in] */ LCID lcid,
  2245.             /* [out] */ ITypeInfo **ppTInfo);
  2246.         
  2247.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  2248.             ITForwardInformation2 * This,
  2249.             /* [in] */ REFIID riid,
  2250.             /* [size_is][in] */ LPOLESTR *rgszNames,
  2251.             /* [in] */ UINT cNames,
  2252.             /* [in] */ LCID lcid,
  2253.             /* [size_is][out] */ DISPID *rgDispId);
  2254.         
  2255.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  2256.             ITForwardInformation2 * This,
  2257.             /* [in] */ DISPID dispIdMember,
  2258.             /* [in] */ REFIID riid,
  2259.             /* [in] */ LCID lcid,
  2260.             /* [in] */ WORD wFlags,
  2261.             /* [out][in] */ DISPPARAMS *pDispParams,
  2262.             /* [out] */ VARIANT *pVarResult,
  2263.             /* [out] */ EXCEPINFO *pExcepInfo,
  2264.             /* [out] */ UINT *puArgErr);
  2265.         
  2266.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_NumRingsNoAnswer )( 
  2267.             ITForwardInformation2 * This,
  2268.             /* [in] */ long lNumRings);
  2269.         
  2270.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NumRingsNoAnswer )( 
  2271.             ITForwardInformation2 * This,
  2272.             /* [retval][out] */ long *plNumRings);
  2273.         
  2274.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetForwardType )( 
  2275.             ITForwardInformation2 * This,
  2276.             /* [in] */ long ForwardType,
  2277.             /* [in] */ BSTR pDestAddress,
  2278.             /* [in] */ BSTR pCallerAddress);
  2279.         
  2280.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ForwardTypeDestination )( 
  2281.             ITForwardInformation2 * This,
  2282.             /* [in] */ long ForwardType,
  2283.             /* [retval][out] */ BSTR *ppDestAddress);
  2284.         
  2285.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ForwardTypeCaller )( 
  2286.             ITForwardInformation2 * This,
  2287.             /* [in] */ long Forwardtype,
  2288.             /* [retval][out] */ BSTR *ppCallerAddress);
  2289.         
  2290.         /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *GetForwardType )( 
  2291.             ITForwardInformation2 * This,
  2292.             /* [in] */ long ForwardType,
  2293.             /* [out] */ BSTR *ppDestinationAddress,
  2294.             /* [out] */ BSTR *ppCallerAddress);
  2295.         
  2296.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Clear )( 
  2297.             ITForwardInformation2 * This);
  2298.         
  2299.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetForwardType2 )( 
  2300.             ITForwardInformation2 * This,
  2301.             /* [in] */ long ForwardType,
  2302.             /* [in] */ BSTR pDestAddress,
  2303.             /* [in] */ long DestAddressType,
  2304.             /* [in] */ BSTR pCallerAddress,
  2305.             /* [in] */ long CallerAddressType);
  2306.         
  2307.         /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *GetForwardType2 )( 
  2308.             ITForwardInformation2 * This,
  2309.             /* [in] */ long ForwardType,
  2310.             /* [out] */ BSTR *ppDestinationAddress,
  2311.             /* [out] */ long *pDestAddressType,
  2312.             /* [out] */ BSTR *ppCallerAddress,
  2313.             /* [out] */ long *pCallerAddressType);
  2314.         
  2315.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ForwardTypeDestinationAddressType )( 
  2316.             ITForwardInformation2 * This,
  2317.             /* [in] */ long ForwardType,
  2318.             /* [retval][out] */ long *pDestAddressType);
  2319.         
  2320.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ForwardTypeCallerAddressType )( 
  2321.             ITForwardInformation2 * This,
  2322.             /* [in] */ long Forwardtype,
  2323.             /* [retval][out] */ long *pCallerAddressType);
  2324.         
  2325.         END_INTERFACE
  2326.     } ITForwardInformation2Vtbl;
  2327.     interface ITForwardInformation2
  2328.     {
  2329.         CONST_VTBL struct ITForwardInformation2Vtbl *lpVtbl;
  2330.     };
  2331.     
  2332. #ifdef COBJMACROS
  2333. #define ITForwardInformation2_QueryInterface(This,riid,ppvObject)
  2334.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2335. #define ITForwardInformation2_AddRef(This)
  2336.     (This)->lpVtbl -> AddRef(This)
  2337. #define ITForwardInformation2_Release(This)
  2338.     (This)->lpVtbl -> Release(This)
  2339. #define ITForwardInformation2_GetTypeInfoCount(This,pctinfo)
  2340.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2341. #define ITForwardInformation2_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2342.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2343. #define ITForwardInformation2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2344.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2345. #define ITForwardInformation2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2346.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2347. #define ITForwardInformation2_put_NumRingsNoAnswer(This,lNumRings)
  2348.     (This)->lpVtbl -> put_NumRingsNoAnswer(This,lNumRings)
  2349. #define ITForwardInformation2_get_NumRingsNoAnswer(This,plNumRings)
  2350.     (This)->lpVtbl -> get_NumRingsNoAnswer(This,plNumRings)
  2351. #define ITForwardInformation2_SetForwardType(This,ForwardType,pDestAddress,pCallerAddress)
  2352.     (This)->lpVtbl -> SetForwardType(This,ForwardType,pDestAddress,pCallerAddress)
  2353. #define ITForwardInformation2_get_ForwardTypeDestination(This,ForwardType,ppDestAddress)
  2354.     (This)->lpVtbl -> get_ForwardTypeDestination(This,ForwardType,ppDestAddress)
  2355. #define ITForwardInformation2_get_ForwardTypeCaller(This,Forwardtype,ppCallerAddress)
  2356.     (This)->lpVtbl -> get_ForwardTypeCaller(This,Forwardtype,ppCallerAddress)
  2357. #define ITForwardInformation2_GetForwardType(This,ForwardType,ppDestinationAddress,ppCallerAddress)
  2358.     (This)->lpVtbl -> GetForwardType(This,ForwardType,ppDestinationAddress,ppCallerAddress)
  2359. #define ITForwardInformation2_Clear(This)
  2360.     (This)->lpVtbl -> Clear(This)
  2361. #define ITForwardInformation2_SetForwardType2(This,ForwardType,pDestAddress,DestAddressType,pCallerAddress,CallerAddressType)
  2362.     (This)->lpVtbl -> SetForwardType2(This,ForwardType,pDestAddress,DestAddressType,pCallerAddress,CallerAddressType)
  2363. #define ITForwardInformation2_GetForwardType2(This,ForwardType,ppDestinationAddress,pDestAddressType,ppCallerAddress,pCallerAddressType)
  2364.     (This)->lpVtbl -> GetForwardType2(This,ForwardType,ppDestinationAddress,pDestAddressType,ppCallerAddress,pCallerAddressType)
  2365. #define ITForwardInformation2_get_ForwardTypeDestinationAddressType(This,ForwardType,pDestAddressType)
  2366.     (This)->lpVtbl -> get_ForwardTypeDestinationAddressType(This,ForwardType,pDestAddressType)
  2367. #define ITForwardInformation2_get_ForwardTypeCallerAddressType(This,Forwardtype,pCallerAddressType)
  2368.     (This)->lpVtbl -> get_ForwardTypeCallerAddressType(This,Forwardtype,pCallerAddressType)
  2369. #endif /* COBJMACROS */
  2370. #endif  /* C style interface */
  2371. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITForwardInformation2_SetForwardType2_Proxy( 
  2372.     ITForwardInformation2 * This,
  2373.     /* [in] */ long ForwardType,
  2374.     /* [in] */ BSTR pDestAddress,
  2375.     /* [in] */ long DestAddressType,
  2376.     /* [in] */ BSTR pCallerAddress,
  2377.     /* [in] */ long CallerAddressType);
  2378. void __RPC_STUB ITForwardInformation2_SetForwardType2_Stub(
  2379.     IRpcStubBuffer *This,
  2380.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2381.     PRPC_MESSAGE _pRpcMessage,
  2382.     DWORD *_pdwStubPhase);
  2383. /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITForwardInformation2_GetForwardType2_Proxy( 
  2384.     ITForwardInformation2 * This,
  2385.     /* [in] */ long ForwardType,
  2386.     /* [out] */ BSTR *ppDestinationAddress,
  2387.     /* [out] */ long *pDestAddressType,
  2388.     /* [out] */ BSTR *ppCallerAddress,
  2389.     /* [out] */ long *pCallerAddressType);
  2390. void __RPC_STUB ITForwardInformation2_GetForwardType2_Stub(
  2391.     IRpcStubBuffer *This,
  2392.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2393.     PRPC_MESSAGE _pRpcMessage,
  2394.     DWORD *_pdwStubPhase);
  2395. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITForwardInformation2_get_ForwardTypeDestinationAddressType_Proxy( 
  2396.     ITForwardInformation2 * This,
  2397.     /* [in] */ long ForwardType,
  2398.     /* [retval][out] */ long *pDestAddressType);
  2399. void __RPC_STUB ITForwardInformation2_get_ForwardTypeDestinationAddressType_Stub(
  2400.     IRpcStubBuffer *This,
  2401.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2402.     PRPC_MESSAGE _pRpcMessage,
  2403.     DWORD *_pdwStubPhase);
  2404. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITForwardInformation2_get_ForwardTypeCallerAddressType_Proxy( 
  2405.     ITForwardInformation2 * This,
  2406.     /* [in] */ long Forwardtype,
  2407.     /* [retval][out] */ long *pCallerAddressType);
  2408. void __RPC_STUB ITForwardInformation2_get_ForwardTypeCallerAddressType_Stub(
  2409.     IRpcStubBuffer *This,
  2410.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2411.     PRPC_MESSAGE _pRpcMessage,
  2412.     DWORD *_pdwStubPhase);
  2413. #endif  /* __ITForwardInformation2_INTERFACE_DEFINED__ */
  2414. #ifndef __ITAddressTranslation_INTERFACE_DEFINED__
  2415. #define __ITAddressTranslation_INTERFACE_DEFINED__
  2416. /* interface ITAddressTranslation */
  2417. /* [object][dual][helpstring][uuid] */ 
  2418. EXTERN_C const IID IID_ITAddressTranslation;
  2419. #if defined(__cplusplus) && !defined(CINTERFACE)
  2420.     
  2421.     MIDL_INTERFACE("0C4D8F03-8DDB-11d1-A09E-00805FC147D3")
  2422.     ITAddressTranslation : public IDispatch
  2423.     {
  2424.     public:
  2425.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE TranslateAddress( 
  2426.             /* [in] */ BSTR pAddressToTranslate,
  2427.             /* [in] */ long lCard,
  2428.             /* [in] */ long lTranslateOptions,
  2429.             /* [retval][out] */ ITAddressTranslationInfo **ppTranslated) = 0;
  2430.         
  2431.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE TranslateDialog( 
  2432.             /* [in] */ TAPIHWND hwndOwner,
  2433.             /* [in] */ BSTR pAddressIn) = 0;
  2434.         
  2435.         virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateLocations( 
  2436.             /* [retval][out] */ IEnumLocation **ppEnumLocation) = 0;
  2437.         
  2438.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Locations( 
  2439.             /* [retval][out] */ VARIANT *pVariant) = 0;
  2440.         
  2441.         virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateCallingCards( 
  2442.             /* [retval][out] */ IEnumCallingCard **ppEnumCallingCard) = 0;
  2443.         
  2444.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallingCards( 
  2445.             /* [retval][out] */ VARIANT *pVariant) = 0;
  2446.         
  2447.     };
  2448.     
  2449. #else  /* C style interface */
  2450.     typedef struct ITAddressTranslationVtbl
  2451.     {
  2452.         BEGIN_INTERFACE
  2453.         
  2454.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2455.             ITAddressTranslation * This,
  2456.             /* [in] */ REFIID riid,
  2457.             /* [iid_is][out] */ void **ppvObject);
  2458.         
  2459.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2460.             ITAddressTranslation * This);
  2461.         
  2462.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2463.             ITAddressTranslation * This);
  2464.         
  2465.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  2466.             ITAddressTranslation * This,
  2467.             /* [out] */ UINT *pctinfo);
  2468.         
  2469.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  2470.             ITAddressTranslation * This,
  2471.             /* [in] */ UINT iTInfo,
  2472.             /* [in] */ LCID lcid,
  2473.             /* [out] */ ITypeInfo **ppTInfo);
  2474.         
  2475.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  2476.             ITAddressTranslation * This,
  2477.             /* [in] */ REFIID riid,
  2478.             /* [size_is][in] */ LPOLESTR *rgszNames,
  2479.             /* [in] */ UINT cNames,
  2480.             /* [in] */ LCID lcid,
  2481.             /* [size_is][out] */ DISPID *rgDispId);
  2482.         
  2483.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  2484.             ITAddressTranslation * This,
  2485.             /* [in] */ DISPID dispIdMember,
  2486.             /* [in] */ REFIID riid,
  2487.             /* [in] */ LCID lcid,
  2488.             /* [in] */ WORD wFlags,
  2489.             /* [out][in] */ DISPPARAMS *pDispParams,
  2490.             /* [out] */ VARIANT *pVarResult,
  2491.             /* [out] */ EXCEPINFO *pExcepInfo,
  2492.             /* [out] */ UINT *puArgErr);
  2493.         
  2494.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *TranslateAddress )( 
  2495.             ITAddressTranslation * This,
  2496.             /* [in] */ BSTR pAddressToTranslate,
  2497.             /* [in] */ long lCard,
  2498.             /* [in] */ long lTranslateOptions,
  2499.             /* [retval][out] */ ITAddressTranslationInfo **ppTranslated);
  2500.         
  2501.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *TranslateDialog )( 
  2502.             ITAddressTranslation * This,
  2503.             /* [in] */ TAPIHWND hwndOwner,
  2504.             /* [in] */ BSTR pAddressIn);
  2505.         
  2506.         /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateLocations )( 
  2507.             ITAddressTranslation * This,
  2508.             /* [retval][out] */ IEnumLocation **ppEnumLocation);
  2509.         
  2510.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Locations )( 
  2511.             ITAddressTranslation * This,
  2512.             /* [retval][out] */ VARIANT *pVariant);
  2513.         
  2514.         /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateCallingCards )( 
  2515.             ITAddressTranslation * This,
  2516.             /* [retval][out] */ IEnumCallingCard **ppEnumCallingCard);
  2517.         
  2518.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallingCards )( 
  2519.             ITAddressTranslation * This,
  2520.             /* [retval][out] */ VARIANT *pVariant);
  2521.         
  2522.         END_INTERFACE
  2523.     } ITAddressTranslationVtbl;
  2524.     interface ITAddressTranslation
  2525.     {
  2526.         CONST_VTBL struct ITAddressTranslationVtbl *lpVtbl;
  2527.     };
  2528.     
  2529. #ifdef COBJMACROS
  2530. #define ITAddressTranslation_QueryInterface(This,riid,ppvObject)
  2531.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2532. #define ITAddressTranslation_AddRef(This)
  2533.     (This)->lpVtbl -> AddRef(This)
  2534. #define ITAddressTranslation_Release(This)
  2535.     (This)->lpVtbl -> Release(This)
  2536. #define ITAddressTranslation_GetTypeInfoCount(This,pctinfo)
  2537.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2538. #define ITAddressTranslation_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2539.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2540. #define ITAddressTranslation_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2541.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2542. #define ITAddressTranslation_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2543.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2544. #define ITAddressTranslation_TranslateAddress(This,pAddressToTranslate,lCard,lTranslateOptions,ppTranslated)
  2545.     (This)->lpVtbl -> TranslateAddress(This,pAddressToTranslate,lCard,lTranslateOptions,ppTranslated)
  2546. #define ITAddressTranslation_TranslateDialog(This,hwndOwner,pAddressIn)
  2547.     (This)->lpVtbl -> TranslateDialog(This,hwndOwner,pAddressIn)
  2548. #define ITAddressTranslation_EnumerateLocations(This,ppEnumLocation)
  2549.     (This)->lpVtbl -> EnumerateLocations(This,ppEnumLocation)
  2550. #define ITAddressTranslation_get_Locations(This,pVariant)
  2551.     (This)->lpVtbl -> get_Locations(This,pVariant)
  2552. #define ITAddressTranslation_EnumerateCallingCards(This,ppEnumCallingCard)
  2553.     (This)->lpVtbl -> EnumerateCallingCards(This,ppEnumCallingCard)
  2554. #define ITAddressTranslation_get_CallingCards(This,pVariant)
  2555.     (This)->lpVtbl -> get_CallingCards(This,pVariant)
  2556. #endif /* COBJMACROS */
  2557. #endif  /* C style interface */
  2558. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAddressTranslation_TranslateAddress_Proxy( 
  2559.     ITAddressTranslation * This,
  2560.     /* [in] */ BSTR pAddressToTranslate,
  2561.     /* [in] */ long lCard,
  2562.     /* [in] */ long lTranslateOptions,
  2563.     /* [retval][out] */ ITAddressTranslationInfo **ppTranslated);
  2564. void __RPC_STUB ITAddressTranslation_TranslateAddress_Stub(
  2565.     IRpcStubBuffer *This,
  2566.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2567.     PRPC_MESSAGE _pRpcMessage,
  2568.     DWORD *_pdwStubPhase);
  2569. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAddressTranslation_TranslateDialog_Proxy( 
  2570.     ITAddressTranslation * This,
  2571.     /* [in] */ TAPIHWND hwndOwner,
  2572.     /* [in] */ BSTR pAddressIn);
  2573. void __RPC_STUB ITAddressTranslation_TranslateDialog_Stub(
  2574.     IRpcStubBuffer *This,
  2575.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2576.     PRPC_MESSAGE _pRpcMessage,
  2577.     DWORD *_pdwStubPhase);
  2578. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITAddressTranslation_EnumerateLocations_Proxy( 
  2579.     ITAddressTranslation * This,
  2580.     /* [retval][out] */ IEnumLocation **ppEnumLocation);
  2581. void __RPC_STUB ITAddressTranslation_EnumerateLocations_Stub(
  2582.     IRpcStubBuffer *This,
  2583.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2584.     PRPC_MESSAGE _pRpcMessage,
  2585.     DWORD *_pdwStubPhase);
  2586. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressTranslation_get_Locations_Proxy( 
  2587.     ITAddressTranslation * This,
  2588.     /* [retval][out] */ VARIANT *pVariant);
  2589. void __RPC_STUB ITAddressTranslation_get_Locations_Stub(
  2590.     IRpcStubBuffer *This,
  2591.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2592.     PRPC_MESSAGE _pRpcMessage,
  2593.     DWORD *_pdwStubPhase);
  2594. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITAddressTranslation_EnumerateCallingCards_Proxy( 
  2595.     ITAddressTranslation * This,
  2596.     /* [retval][out] */ IEnumCallingCard **ppEnumCallingCard);
  2597. void __RPC_STUB ITAddressTranslation_EnumerateCallingCards_Stub(
  2598.     IRpcStubBuffer *This,
  2599.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2600.     PRPC_MESSAGE _pRpcMessage,
  2601.     DWORD *_pdwStubPhase);
  2602. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressTranslation_get_CallingCards_Proxy( 
  2603.     ITAddressTranslation * This,
  2604.     /* [retval][out] */ VARIANT *pVariant);
  2605. void __RPC_STUB ITAddressTranslation_get_CallingCards_Stub(
  2606.     IRpcStubBuffer *This,
  2607.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2608.     PRPC_MESSAGE _pRpcMessage,
  2609.     DWORD *_pdwStubPhase);
  2610. #endif  /* __ITAddressTranslation_INTERFACE_DEFINED__ */
  2611. #ifndef __ITAddressTranslationInfo_INTERFACE_DEFINED__
  2612. #define __ITAddressTranslationInfo_INTERFACE_DEFINED__
  2613. /* interface ITAddressTranslationInfo */
  2614. /* [object][dual][helpstring][uuid] */ 
  2615. EXTERN_C const IID IID_ITAddressTranslationInfo;
  2616. #if defined(__cplusplus) && !defined(CINTERFACE)
  2617.     
  2618.     MIDL_INTERFACE("AFC15945-8D40-11d1-A09E-00805FC147D3")
  2619.     ITAddressTranslationInfo : public IDispatch
  2620.     {
  2621.     public:
  2622.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DialableString( 
  2623.             /* [retval][out] */ BSTR *ppDialableString) = 0;
  2624.         
  2625.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DisplayableString( 
  2626.             /* [retval][out] */ BSTR *ppDisplayableString) = 0;
  2627.         
  2628.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CurrentCountryCode( 
  2629.             /* [retval][out] */ long *CountryCode) = 0;
  2630.         
  2631.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DestinationCountryCode( 
  2632.             /* [retval][out] */ long *CountryCode) = 0;
  2633.         
  2634.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TranslationResults( 
  2635.             /* [retval][out] */ long *plResults) = 0;
  2636.         
  2637.     };
  2638.     
  2639. #else  /* C style interface */
  2640.     typedef struct ITAddressTranslationInfoVtbl
  2641.     {
  2642.         BEGIN_INTERFACE
  2643.         
  2644.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2645.             ITAddressTranslationInfo * This,
  2646.             /* [in] */ REFIID riid,
  2647.             /* [iid_is][out] */ void **ppvObject);
  2648.         
  2649.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2650.             ITAddressTranslationInfo * This);
  2651.         
  2652.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2653.             ITAddressTranslationInfo * This);
  2654.         
  2655.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  2656.             ITAddressTranslationInfo * This,
  2657.             /* [out] */ UINT *pctinfo);
  2658.         
  2659.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  2660.             ITAddressTranslationInfo * This,
  2661.             /* [in] */ UINT iTInfo,
  2662.             /* [in] */ LCID lcid,
  2663.             /* [out] */ ITypeInfo **ppTInfo);
  2664.         
  2665.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  2666.             ITAddressTranslationInfo * This,
  2667.             /* [in] */ REFIID riid,
  2668.             /* [size_is][in] */ LPOLESTR *rgszNames,
  2669.             /* [in] */ UINT cNames,
  2670.             /* [in] */ LCID lcid,
  2671.             /* [size_is][out] */ DISPID *rgDispId);
  2672.         
  2673.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  2674.             ITAddressTranslationInfo * This,
  2675.             /* [in] */ DISPID dispIdMember,
  2676.             /* [in] */ REFIID riid,
  2677.             /* [in] */ LCID lcid,
  2678.             /* [in] */ WORD wFlags,
  2679.             /* [out][in] */ DISPPARAMS *pDispParams,
  2680.             /* [out] */ VARIANT *pVarResult,
  2681.             /* [out] */ EXCEPINFO *pExcepInfo,
  2682.             /* [out] */ UINT *puArgErr);
  2683.         
  2684.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DialableString )( 
  2685.             ITAddressTranslationInfo * This,
  2686.             /* [retval][out] */ BSTR *ppDialableString);
  2687.         
  2688.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DisplayableString )( 
  2689.             ITAddressTranslationInfo * This,
  2690.             /* [retval][out] */ BSTR *ppDisplayableString);
  2691.         
  2692.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CurrentCountryCode )( 
  2693.             ITAddressTranslationInfo * This,
  2694.             /* [retval][out] */ long *CountryCode);
  2695.         
  2696.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DestinationCountryCode )( 
  2697.             ITAddressTranslationInfo * This,
  2698.             /* [retval][out] */ long *CountryCode);
  2699.         
  2700.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TranslationResults )( 
  2701.             ITAddressTranslationInfo * This,
  2702.             /* [retval][out] */ long *plResults);
  2703.         
  2704.         END_INTERFACE
  2705.     } ITAddressTranslationInfoVtbl;
  2706.     interface ITAddressTranslationInfo
  2707.     {
  2708.         CONST_VTBL struct ITAddressTranslationInfoVtbl *lpVtbl;
  2709.     };
  2710.     
  2711. #ifdef COBJMACROS
  2712. #define ITAddressTranslationInfo_QueryInterface(This,riid,ppvObject)
  2713.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2714. #define ITAddressTranslationInfo_AddRef(This)
  2715.     (This)->lpVtbl -> AddRef(This)
  2716. #define ITAddressTranslationInfo_Release(This)
  2717.     (This)->lpVtbl -> Release(This)
  2718. #define ITAddressTranslationInfo_GetTypeInfoCount(This,pctinfo)
  2719.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2720. #define ITAddressTranslationInfo_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2721.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2722. #define ITAddressTranslationInfo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2723.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2724. #define ITAddressTranslationInfo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2725.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2726. #define ITAddressTranslationInfo_get_DialableString(This,ppDialableString)
  2727.     (This)->lpVtbl -> get_DialableString(This,ppDialableString)
  2728. #define ITAddressTranslationInfo_get_DisplayableString(This,ppDisplayableString)
  2729.     (This)->lpVtbl -> get_DisplayableString(This,ppDisplayableString)