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

模拟服务器

开发平台:

C/C++

  1. #pragma warning( disable: 4049 )  /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3.  /* File created by MIDL compiler version 6.00.0347 */
  4. /* Compiler settings for tapi3cc.idl:
  5.     Oicf, W1, Zp8, env=Win32 (32b run)
  6.     protocol : dce , ms_ext, c_ext, robust
  7.     error checks: allocation ref bounds_check enum stub_data 
  8.     VC __declspec() decoration level: 
  9.          __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  10.          DECLSPEC_UUID(), MIDL_INTERFACE()
  11. */
  12. //@@MIDL_FILE_HEADING(  )
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __tapi3cc_h__
  27. #define __tapi3cc_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */ 
  32. #ifndef __ITAgent_FWD_DEFINED__
  33. #define __ITAgent_FWD_DEFINED__
  34. typedef interface ITAgent ITAgent;
  35. #endif  /* __ITAgent_FWD_DEFINED__ */
  36. #ifndef __ITAgentSession_FWD_DEFINED__
  37. #define __ITAgentSession_FWD_DEFINED__
  38. typedef interface ITAgentSession ITAgentSession;
  39. #endif  /* __ITAgentSession_FWD_DEFINED__ */
  40. #ifndef __ITACDGroup_FWD_DEFINED__
  41. #define __ITACDGroup_FWD_DEFINED__
  42. typedef interface ITACDGroup ITACDGroup;
  43. #endif  /* __ITACDGroup_FWD_DEFINED__ */
  44. #ifndef __ITQueue_FWD_DEFINED__
  45. #define __ITQueue_FWD_DEFINED__
  46. typedef interface ITQueue ITQueue;
  47. #endif  /* __ITQueue_FWD_DEFINED__ */
  48. #ifndef __ITAgentEvent_FWD_DEFINED__
  49. #define __ITAgentEvent_FWD_DEFINED__
  50. typedef interface ITAgentEvent ITAgentEvent;
  51. #endif  /* __ITAgentEvent_FWD_DEFINED__ */
  52. #ifndef __ITAgentSessionEvent_FWD_DEFINED__
  53. #define __ITAgentSessionEvent_FWD_DEFINED__
  54. typedef interface ITAgentSessionEvent ITAgentSessionEvent;
  55. #endif  /* __ITAgentSessionEvent_FWD_DEFINED__ */
  56. #ifndef __ITACDGroupEvent_FWD_DEFINED__
  57. #define __ITACDGroupEvent_FWD_DEFINED__
  58. typedef interface ITACDGroupEvent ITACDGroupEvent;
  59. #endif  /* __ITACDGroupEvent_FWD_DEFINED__ */
  60. #ifndef __ITQueueEvent_FWD_DEFINED__
  61. #define __ITQueueEvent_FWD_DEFINED__
  62. typedef interface ITQueueEvent ITQueueEvent;
  63. #endif  /* __ITQueueEvent_FWD_DEFINED__ */
  64. #ifndef __ITAgentHandlerEvent_FWD_DEFINED__
  65. #define __ITAgentHandlerEvent_FWD_DEFINED__
  66. typedef interface ITAgentHandlerEvent ITAgentHandlerEvent;
  67. #endif  /* __ITAgentHandlerEvent_FWD_DEFINED__ */
  68. #ifndef __ITTAPICallCenter_FWD_DEFINED__
  69. #define __ITTAPICallCenter_FWD_DEFINED__
  70. typedef interface ITTAPICallCenter ITTAPICallCenter;
  71. #endif  /* __ITTAPICallCenter_FWD_DEFINED__ */
  72. #ifndef __ITAgentHandler_FWD_DEFINED__
  73. #define __ITAgentHandler_FWD_DEFINED__
  74. typedef interface ITAgentHandler ITAgentHandler;
  75. #endif  /* __ITAgentHandler_FWD_DEFINED__ */
  76. #ifndef __IEnumAgent_FWD_DEFINED__
  77. #define __IEnumAgent_FWD_DEFINED__
  78. typedef interface IEnumAgent IEnumAgent;
  79. #endif  /* __IEnumAgent_FWD_DEFINED__ */
  80. #ifndef __IEnumAgentSession_FWD_DEFINED__
  81. #define __IEnumAgentSession_FWD_DEFINED__
  82. typedef interface IEnumAgentSession IEnumAgentSession;
  83. #endif  /* __IEnumAgentSession_FWD_DEFINED__ */
  84. #ifndef __IEnumQueue_FWD_DEFINED__
  85. #define __IEnumQueue_FWD_DEFINED__
  86. typedef interface IEnumQueue IEnumQueue;
  87. #endif  /* __IEnumQueue_FWD_DEFINED__ */
  88. #ifndef __IEnumACDGroup_FWD_DEFINED__
  89. #define __IEnumACDGroup_FWD_DEFINED__
  90. typedef interface IEnumACDGroup IEnumACDGroup;
  91. #endif  /* __IEnumACDGroup_FWD_DEFINED__ */
  92. #ifndef __IEnumAgentHandler_FWD_DEFINED__
  93. #define __IEnumAgentHandler_FWD_DEFINED__
  94. typedef interface IEnumAgentHandler IEnumAgentHandler;
  95. #endif  /* __IEnumAgentHandler_FWD_DEFINED__ */
  96. /* header files for imported files */
  97. #include "oaidl.h"
  98. #include "tapi3if.h"
  99. #ifdef __cplusplus
  100. extern "C"{
  101. #endif 
  102. void * __RPC_USER MIDL_user_allocate(size_t);
  103. void __RPC_USER MIDL_user_free( void * ); 
  104. /* interface __MIDL_itf_tapi3cc_0000 */
  105. /* [local] */ 
  106. /* Copyright (c) Microsoft Corporation. All rights reserved. */
  107. typedef 
  108. enum AGENT_EVENT
  109.     { AE_NOT_READY = 0,
  110. AE_READY = AE_NOT_READY + 1,
  111. AE_BUSY_ACD = AE_READY + 1,
  112. AE_BUSY_INCOMING = AE_BUSY_ACD + 1,
  113. AE_BUSY_OUTGOING = AE_BUSY_INCOMING + 1,
  114. AE_UNKNOWN = AE_BUSY_OUTGOING + 1
  115.     }  AGENT_EVENT;
  116. typedef 
  117. enum AGENT_STATE
  118.     { AS_NOT_READY = 0,
  119. AS_READY = AS_NOT_READY + 1,
  120. AS_BUSY_ACD = AS_READY + 1,
  121. AS_BUSY_INCOMING = AS_BUSY_ACD + 1,
  122. AS_BUSY_OUTGOING = AS_BUSY_INCOMING + 1,
  123. AS_UNKNOWN = AS_BUSY_OUTGOING + 1
  124.     }  AGENT_STATE;
  125. typedef 
  126. enum AGENT_SESSION_EVENT
  127.     { ASE_NEW_SESSION = 0,
  128. ASE_NOT_READY = ASE_NEW_SESSION + 1,
  129. ASE_READY = ASE_NOT_READY + 1,
  130. ASE_BUSY = ASE_READY + 1,
  131. ASE_WRAPUP = ASE_BUSY + 1,
  132. ASE_END = ASE_WRAPUP + 1
  133.     }  AGENT_SESSION_EVENT;
  134. typedef 
  135. enum AGENT_SESSION_STATE
  136.     { ASST_NOT_READY = 0,
  137. ASST_READY = ASST_NOT_READY + 1,
  138. ASST_BUSY_ON_CALL = ASST_READY + 1,
  139. ASST_BUSY_WRAPUP = ASST_BUSY_ON_CALL + 1,
  140. ASST_SESSION_ENDED = ASST_BUSY_WRAPUP + 1
  141.     }  AGENT_SESSION_STATE;
  142. typedef 
  143. enum AGENTHANDLER_EVENT
  144.     { AHE_NEW_AGENTHANDLER = 0,
  145. AHE_AGENTHANDLER_REMOVED = AHE_NEW_AGENTHANDLER + 1
  146.     }  AGENTHANDLER_EVENT;
  147. typedef 
  148. enum ACDGROUP_EVENT
  149.     { ACDGE_NEW_GROUP = 0,
  150. ACDGE_GROUP_REMOVED = ACDGE_NEW_GROUP + 1
  151.     }  ACDGROUP_EVENT;
  152. typedef 
  153. enum ACDQUEUE_EVENT
  154.     { ACDQE_NEW_QUEUE = 0,
  155. ACDQE_QUEUE_REMOVED = ACDQE_NEW_QUEUE + 1
  156.     }  ACDQUEUE_EVENT;
  157. extern RPC_IF_HANDLE __MIDL_itf_tapi3cc_0000_v0_0_c_ifspec;
  158. extern RPC_IF_HANDLE __MIDL_itf_tapi3cc_0000_v0_0_s_ifspec;
  159. #ifndef __ITAgent_INTERFACE_DEFINED__
  160. #define __ITAgent_INTERFACE_DEFINED__
  161. /* interface ITAgent */
  162. /* [object][dual][helpstring][uuid] */ 
  163. EXTERN_C const IID IID_ITAgent;
  164. #if defined(__cplusplus) && !defined(CINTERFACE)
  165.     
  166.     MIDL_INTERFACE("5770ECE5-4B27-11d1-BF80-00805FC147D3")
  167.     ITAgent : public IDispatch
  168.     {
  169.     public:
  170.         virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateAgentSessions( 
  171.             /* [retval][out] */ IEnumAgentSession **ppEnumAgentSession) = 0;
  172.         
  173.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateSession( 
  174.             /* [in] */ ITACDGroup *pACDGroup,
  175.             /* [in] */ ITAddress *pAddress,
  176.             /* [retval][out] */ ITAgentSession **ppAgentSession) = 0;
  177.         
  178.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateSessionWithPIN( 
  179.             /* [in] */ ITACDGroup *pACDGroup,
  180.             /* [in] */ ITAddress *pAddress,
  181.             /* [in] */ BSTR pPIN,
  182.             /* [retval][out] */ ITAgentSession **ppAgentSession) = 0;
  183.         
  184.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ID( 
  185.             /* [retval][out] */ BSTR *ppID) = 0;
  186.         
  187.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_User( 
  188.             /* [retval][out] */ BSTR *ppUser) = 0;
  189.         
  190.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_State( 
  191.             /* [in] */ AGENT_STATE AgentState) = 0;
  192.         
  193.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_State( 
  194.             /* [retval][out] */ AGENT_STATE *pAgentState) = 0;
  195.         
  196.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_MeasurementPeriod( 
  197.             /* [in] */ long lPeriod) = 0;
  198.         
  199.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MeasurementPeriod( 
  200.             /* [retval][out] */ long *plPeriod) = 0;
  201.         
  202.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OverallCallRate( 
  203.             /* [retval][out] */ CURRENCY *pcyCallrate) = 0;
  204.         
  205.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NumberOfACDCalls( 
  206.             /* [retval][out] */ long *plCalls) = 0;
  207.         
  208.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NumberOfIncomingCalls( 
  209.             /* [retval][out] */ long *plCalls) = 0;
  210.         
  211.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NumberOfOutgoingCalls( 
  212.             /* [retval][out] */ long *plCalls) = 0;
  213.         
  214.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TotalACDTalkTime( 
  215.             /* [retval][out] */ long *plTalkTime) = 0;
  216.         
  217.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TotalACDCallTime( 
  218.             /* [retval][out] */ long *plCallTime) = 0;
  219.         
  220.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TotalWrapUpTime( 
  221.             /* [retval][out] */ long *plWrapUpTime) = 0;
  222.         
  223.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AgentSessions( 
  224.             /* [retval][out] */ VARIANT *pVariant) = 0;
  225.         
  226.     };
  227.     
  228. #else  /* C style interface */
  229.     typedef struct ITAgentVtbl
  230.     {
  231.         BEGIN_INTERFACE
  232.         
  233.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  234.             ITAgent * This,
  235.             /* [in] */ REFIID riid,
  236.             /* [iid_is][out] */ void **ppvObject);
  237.         
  238.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  239.             ITAgent * This);
  240.         
  241.         ULONG ( STDMETHODCALLTYPE *Release )( 
  242.             ITAgent * This);
  243.         
  244.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  245.             ITAgent * This,
  246.             /* [out] */ UINT *pctinfo);
  247.         
  248.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  249.             ITAgent * This,
  250.             /* [in] */ UINT iTInfo,
  251.             /* [in] */ LCID lcid,
  252.             /* [out] */ ITypeInfo **ppTInfo);
  253.         
  254.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  255.             ITAgent * This,
  256.             /* [in] */ REFIID riid,
  257.             /* [size_is][in] */ LPOLESTR *rgszNames,
  258.             /* [in] */ UINT cNames,
  259.             /* [in] */ LCID lcid,
  260.             /* [size_is][out] */ DISPID *rgDispId);
  261.         
  262.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  263.             ITAgent * This,
  264.             /* [in] */ DISPID dispIdMember,
  265.             /* [in] */ REFIID riid,
  266.             /* [in] */ LCID lcid,
  267.             /* [in] */ WORD wFlags,
  268.             /* [out][in] */ DISPPARAMS *pDispParams,
  269.             /* [out] */ VARIANT *pVarResult,
  270.             /* [out] */ EXCEPINFO *pExcepInfo,
  271.             /* [out] */ UINT *puArgErr);
  272.         
  273.         /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateAgentSessions )( 
  274.             ITAgent * This,
  275.             /* [retval][out] */ IEnumAgentSession **ppEnumAgentSession);
  276.         
  277.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateSession )( 
  278.             ITAgent * This,
  279.             /* [in] */ ITACDGroup *pACDGroup,
  280.             /* [in] */ ITAddress *pAddress,
  281.             /* [retval][out] */ ITAgentSession **ppAgentSession);
  282.         
  283.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateSessionWithPIN )( 
  284.             ITAgent * This,
  285.             /* [in] */ ITACDGroup *pACDGroup,
  286.             /* [in] */ ITAddress *pAddress,
  287.             /* [in] */ BSTR pPIN,
  288.             /* [retval][out] */ ITAgentSession **ppAgentSession);
  289.         
  290.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ID )( 
  291.             ITAgent * This,
  292.             /* [retval][out] */ BSTR *ppID);
  293.         
  294.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_User )( 
  295.             ITAgent * This,
  296.             /* [retval][out] */ BSTR *ppUser);
  297.         
  298.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_State )( 
  299.             ITAgent * This,
  300.             /* [in] */ AGENT_STATE AgentState);
  301.         
  302.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_State )( 
  303.             ITAgent * This,
  304.             /* [retval][out] */ AGENT_STATE *pAgentState);
  305.         
  306.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MeasurementPeriod )( 
  307.             ITAgent * This,
  308.             /* [in] */ long lPeriod);
  309.         
  310.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MeasurementPeriod )( 
  311.             ITAgent * This,
  312.             /* [retval][out] */ long *plPeriod);
  313.         
  314.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OverallCallRate )( 
  315.             ITAgent * This,
  316.             /* [retval][out] */ CURRENCY *pcyCallrate);
  317.         
  318.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NumberOfACDCalls )( 
  319.             ITAgent * This,
  320.             /* [retval][out] */ long *plCalls);
  321.         
  322.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NumberOfIncomingCalls )( 
  323.             ITAgent * This,
  324.             /* [retval][out] */ long *plCalls);
  325.         
  326.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NumberOfOutgoingCalls )( 
  327.             ITAgent * This,
  328.             /* [retval][out] */ long *plCalls);
  329.         
  330.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TotalACDTalkTime )( 
  331.             ITAgent * This,
  332.             /* [retval][out] */ long *plTalkTime);
  333.         
  334.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TotalACDCallTime )( 
  335.             ITAgent * This,
  336.             /* [retval][out] */ long *plCallTime);
  337.         
  338.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TotalWrapUpTime )( 
  339.             ITAgent * This,
  340.             /* [retval][out] */ long *plWrapUpTime);
  341.         
  342.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AgentSessions )( 
  343.             ITAgent * This,
  344.             /* [retval][out] */ VARIANT *pVariant);
  345.         
  346.         END_INTERFACE
  347.     } ITAgentVtbl;
  348.     interface ITAgent
  349.     {
  350.         CONST_VTBL struct ITAgentVtbl *lpVtbl;
  351.     };
  352.     
  353. #ifdef COBJMACROS
  354. #define ITAgent_QueryInterface(This,riid,ppvObject)
  355.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  356. #define ITAgent_AddRef(This)
  357.     (This)->lpVtbl -> AddRef(This)
  358. #define ITAgent_Release(This)
  359.     (This)->lpVtbl -> Release(This)
  360. #define ITAgent_GetTypeInfoCount(This,pctinfo)
  361.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  362. #define ITAgent_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  363.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  364. #define ITAgent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  365.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  366. #define ITAgent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  367.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  368. #define ITAgent_EnumerateAgentSessions(This,ppEnumAgentSession)
  369.     (This)->lpVtbl -> EnumerateAgentSessions(This,ppEnumAgentSession)
  370. #define ITAgent_CreateSession(This,pACDGroup,pAddress,ppAgentSession)
  371.     (This)->lpVtbl -> CreateSession(This,pACDGroup,pAddress,ppAgentSession)
  372. #define ITAgent_CreateSessionWithPIN(This,pACDGroup,pAddress,pPIN,ppAgentSession)
  373.     (This)->lpVtbl -> CreateSessionWithPIN(This,pACDGroup,pAddress,pPIN,ppAgentSession)
  374. #define ITAgent_get_ID(This,ppID)
  375.     (This)->lpVtbl -> get_ID(This,ppID)
  376. #define ITAgent_get_User(This,ppUser)
  377.     (This)->lpVtbl -> get_User(This,ppUser)
  378. #define ITAgent_put_State(This,AgentState)
  379.     (This)->lpVtbl -> put_State(This,AgentState)
  380. #define ITAgent_get_State(This,pAgentState)
  381.     (This)->lpVtbl -> get_State(This,pAgentState)
  382. #define ITAgent_put_MeasurementPeriod(This,lPeriod)
  383.     (This)->lpVtbl -> put_MeasurementPeriod(This,lPeriod)
  384. #define ITAgent_get_MeasurementPeriod(This,plPeriod)
  385.     (This)->lpVtbl -> get_MeasurementPeriod(This,plPeriod)
  386. #define ITAgent_get_OverallCallRate(This,pcyCallrate)
  387.     (This)->lpVtbl -> get_OverallCallRate(This,pcyCallrate)
  388. #define ITAgent_get_NumberOfACDCalls(This,plCalls)
  389.     (This)->lpVtbl -> get_NumberOfACDCalls(This,plCalls)
  390. #define ITAgent_get_NumberOfIncomingCalls(This,plCalls)
  391.     (This)->lpVtbl -> get_NumberOfIncomingCalls(This,plCalls)
  392. #define ITAgent_get_NumberOfOutgoingCalls(This,plCalls)
  393.     (This)->lpVtbl -> get_NumberOfOutgoingCalls(This,plCalls)
  394. #define ITAgent_get_TotalACDTalkTime(This,plTalkTime)
  395.     (This)->lpVtbl -> get_TotalACDTalkTime(This,plTalkTime)
  396. #define ITAgent_get_TotalACDCallTime(This,plCallTime)
  397.     (This)->lpVtbl -> get_TotalACDCallTime(This,plCallTime)
  398. #define ITAgent_get_TotalWrapUpTime(This,plWrapUpTime)
  399.     (This)->lpVtbl -> get_TotalWrapUpTime(This,plWrapUpTime)
  400. #define ITAgent_get_AgentSessions(This,pVariant)
  401.     (This)->lpVtbl -> get_AgentSessions(This,pVariant)
  402. #endif /* COBJMACROS */
  403. #endif  /* C style interface */
  404. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITAgent_EnumerateAgentSessions_Proxy( 
  405.     ITAgent * This,
  406.     /* [retval][out] */ IEnumAgentSession **ppEnumAgentSession);
  407. void __RPC_STUB ITAgent_EnumerateAgentSessions_Stub(
  408.     IRpcStubBuffer *This,
  409.     IRpcChannelBuffer *_pRpcChannelBuffer,
  410.     PRPC_MESSAGE _pRpcMessage,
  411.     DWORD *_pdwStubPhase);
  412. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAgent_CreateSession_Proxy( 
  413.     ITAgent * This,
  414.     /* [in] */ ITACDGroup *pACDGroup,
  415.     /* [in] */ ITAddress *pAddress,
  416.     /* [retval][out] */ ITAgentSession **ppAgentSession);
  417. void __RPC_STUB ITAgent_CreateSession_Stub(
  418.     IRpcStubBuffer *This,
  419.     IRpcChannelBuffer *_pRpcChannelBuffer,
  420.     PRPC_MESSAGE _pRpcMessage,
  421.     DWORD *_pdwStubPhase);
  422. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAgent_CreateSessionWithPIN_Proxy( 
  423.     ITAgent * This,
  424.     /* [in] */ ITACDGroup *pACDGroup,
  425.     /* [in] */ ITAddress *pAddress,
  426.     /* [in] */ BSTR pPIN,
  427.     /* [retval][out] */ ITAgentSession **ppAgentSession);
  428. void __RPC_STUB ITAgent_CreateSessionWithPIN_Stub(
  429.     IRpcStubBuffer *This,
  430.     IRpcChannelBuffer *_pRpcChannelBuffer,
  431.     PRPC_MESSAGE _pRpcMessage,
  432.     DWORD *_pdwStubPhase);
  433. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgent_get_ID_Proxy( 
  434.     ITAgent * This,
  435.     /* [retval][out] */ BSTR *ppID);
  436. void __RPC_STUB ITAgent_get_ID_Stub(
  437.     IRpcStubBuffer *This,
  438.     IRpcChannelBuffer *_pRpcChannelBuffer,
  439.     PRPC_MESSAGE _pRpcMessage,
  440.     DWORD *_pdwStubPhase);
  441. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgent_get_User_Proxy( 
  442.     ITAgent * This,
  443.     /* [retval][out] */ BSTR *ppUser);
  444. void __RPC_STUB ITAgent_get_User_Stub(
  445.     IRpcStubBuffer *This,
  446.     IRpcChannelBuffer *_pRpcChannelBuffer,
  447.     PRPC_MESSAGE _pRpcMessage,
  448.     DWORD *_pdwStubPhase);
  449. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITAgent_put_State_Proxy( 
  450.     ITAgent * This,
  451.     /* [in] */ AGENT_STATE AgentState);
  452. void __RPC_STUB ITAgent_put_State_Stub(
  453.     IRpcStubBuffer *This,
  454.     IRpcChannelBuffer *_pRpcChannelBuffer,
  455.     PRPC_MESSAGE _pRpcMessage,
  456.     DWORD *_pdwStubPhase);
  457. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgent_get_State_Proxy( 
  458.     ITAgent * This,
  459.     /* [retval][out] */ AGENT_STATE *pAgentState);
  460. void __RPC_STUB ITAgent_get_State_Stub(
  461.     IRpcStubBuffer *This,
  462.     IRpcChannelBuffer *_pRpcChannelBuffer,
  463.     PRPC_MESSAGE _pRpcMessage,
  464.     DWORD *_pdwStubPhase);
  465. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITAgent_put_MeasurementPeriod_Proxy( 
  466.     ITAgent * This,
  467.     /* [in] */ long lPeriod);
  468. void __RPC_STUB ITAgent_put_MeasurementPeriod_Stub(
  469.     IRpcStubBuffer *This,
  470.     IRpcChannelBuffer *_pRpcChannelBuffer,
  471.     PRPC_MESSAGE _pRpcMessage,
  472.     DWORD *_pdwStubPhase);
  473. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgent_get_MeasurementPeriod_Proxy( 
  474.     ITAgent * This,
  475.     /* [retval][out] */ long *plPeriod);
  476. void __RPC_STUB ITAgent_get_MeasurementPeriod_Stub(
  477.     IRpcStubBuffer *This,
  478.     IRpcChannelBuffer *_pRpcChannelBuffer,
  479.     PRPC_MESSAGE _pRpcMessage,
  480.     DWORD *_pdwStubPhase);
  481. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgent_get_OverallCallRate_Proxy( 
  482.     ITAgent * This,
  483.     /* [retval][out] */ CURRENCY *pcyCallrate);
  484. void __RPC_STUB ITAgent_get_OverallCallRate_Stub(
  485.     IRpcStubBuffer *This,
  486.     IRpcChannelBuffer *_pRpcChannelBuffer,
  487.     PRPC_MESSAGE _pRpcMessage,
  488.     DWORD *_pdwStubPhase);
  489. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgent_get_NumberOfACDCalls_Proxy( 
  490.     ITAgent * This,
  491.     /* [retval][out] */ long *plCalls);
  492. void __RPC_STUB ITAgent_get_NumberOfACDCalls_Stub(
  493.     IRpcStubBuffer *This,
  494.     IRpcChannelBuffer *_pRpcChannelBuffer,
  495.     PRPC_MESSAGE _pRpcMessage,
  496.     DWORD *_pdwStubPhase);
  497. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgent_get_NumberOfIncomingCalls_Proxy( 
  498.     ITAgent * This,
  499.     /* [retval][out] */ long *plCalls);
  500. void __RPC_STUB ITAgent_get_NumberOfIncomingCalls_Stub(
  501.     IRpcStubBuffer *This,
  502.     IRpcChannelBuffer *_pRpcChannelBuffer,
  503.     PRPC_MESSAGE _pRpcMessage,
  504.     DWORD *_pdwStubPhase);
  505. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgent_get_NumberOfOutgoingCalls_Proxy( 
  506.     ITAgent * This,
  507.     /* [retval][out] */ long *plCalls);
  508. void __RPC_STUB ITAgent_get_NumberOfOutgoingCalls_Stub(
  509.     IRpcStubBuffer *This,
  510.     IRpcChannelBuffer *_pRpcChannelBuffer,
  511.     PRPC_MESSAGE _pRpcMessage,
  512.     DWORD *_pdwStubPhase);
  513. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgent_get_TotalACDTalkTime_Proxy( 
  514.     ITAgent * This,
  515.     /* [retval][out] */ long *plTalkTime);
  516. void __RPC_STUB ITAgent_get_TotalACDTalkTime_Stub(
  517.     IRpcStubBuffer *This,
  518.     IRpcChannelBuffer *_pRpcChannelBuffer,
  519.     PRPC_MESSAGE _pRpcMessage,
  520.     DWORD *_pdwStubPhase);
  521. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgent_get_TotalACDCallTime_Proxy( 
  522.     ITAgent * This,
  523.     /* [retval][out] */ long *plCallTime);
  524. void __RPC_STUB ITAgent_get_TotalACDCallTime_Stub(
  525.     IRpcStubBuffer *This,
  526.     IRpcChannelBuffer *_pRpcChannelBuffer,
  527.     PRPC_MESSAGE _pRpcMessage,
  528.     DWORD *_pdwStubPhase);
  529. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgent_get_TotalWrapUpTime_Proxy( 
  530.     ITAgent * This,
  531.     /* [retval][out] */ long *plWrapUpTime);
  532. void __RPC_STUB ITAgent_get_TotalWrapUpTime_Stub(
  533.     IRpcStubBuffer *This,
  534.     IRpcChannelBuffer *_pRpcChannelBuffer,
  535.     PRPC_MESSAGE _pRpcMessage,
  536.     DWORD *_pdwStubPhase);
  537. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgent_get_AgentSessions_Proxy( 
  538.     ITAgent * This,
  539.     /* [retval][out] */ VARIANT *pVariant);
  540. void __RPC_STUB ITAgent_get_AgentSessions_Stub(
  541.     IRpcStubBuffer *This,
  542.     IRpcChannelBuffer *_pRpcChannelBuffer,
  543.     PRPC_MESSAGE _pRpcMessage,
  544.     DWORD *_pdwStubPhase);
  545. #endif  /* __ITAgent_INTERFACE_DEFINED__ */
  546. #ifndef __ITAgentSession_INTERFACE_DEFINED__
  547. #define __ITAgentSession_INTERFACE_DEFINED__
  548. /* interface ITAgentSession */
  549. /* [object][dual][helpstring][uuid] */ 
  550. EXTERN_C const IID IID_ITAgentSession;
  551. #if defined(__cplusplus) && !defined(CINTERFACE)
  552.     
  553.     MIDL_INTERFACE("5AFC3147-4BCC-11d1-BF80-00805FC147D3")
  554.     ITAgentSession : public IDispatch
  555.     {
  556.     public:
  557.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Agent( 
  558.             /* [retval][out] */ ITAgent **ppAgent) = 0;
  559.         
  560.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Address( 
  561.             /* [retval][out] */ ITAddress **ppAddress) = 0;
  562.         
  563.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ACDGroup( 
  564.             /* [retval][out] */ ITACDGroup **ppACDGroup) = 0;
  565.         
  566.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_State( 
  567.             /* [in] */ AGENT_SESSION_STATE SessionState) = 0;
  568.         
  569.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_State( 
  570.             /* [retval][out] */ AGENT_SESSION_STATE *pSessionState) = 0;
  571.         
  572.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SessionStartTime( 
  573.             /* [retval][out] */ DATE *pdateSessionStart) = 0;
  574.         
  575.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SessionDuration( 
  576.             /* [retval][out] */ long *plDuration) = 0;
  577.         
  578.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NumberOfCalls( 
  579.             /* [retval][out] */ long *plCalls) = 0;
  580.         
  581.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TotalTalkTime( 
  582.             /* [retval][out] */ long *plTalkTime) = 0;
  583.         
  584.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AverageTalkTime( 
  585.             /* [retval][out] */ long *plTalkTime) = 0;
  586.         
  587.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TotalCallTime( 
  588.             /* [retval][out] */ long *plCallTime) = 0;
  589.         
  590.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AverageCallTime( 
  591.             /* [retval][out] */ long *plCallTime) = 0;
  592.         
  593.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TotalWrapUpTime( 
  594.             /* [retval][out] */ long *plWrapUpTime) = 0;
  595.         
  596.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AverageWrapUpTime( 
  597.             /* [retval][out] */ long *plWrapUpTime) = 0;
  598.         
  599.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ACDCallRate( 
  600.             /* [retval][out] */ CURRENCY *pcyCallrate) = 0;
  601.         
  602.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LongestTimeToAnswer( 
  603.             /* [retval][out] */ long *plAnswerTime) = 0;
  604.         
  605.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AverageTimeToAnswer( 
  606.             /* [retval][out] */ long *plAnswerTime) = 0;
  607.         
  608.     };
  609.     
  610. #else  /* C style interface */
  611.     typedef struct ITAgentSessionVtbl
  612.     {
  613.         BEGIN_INTERFACE
  614.         
  615.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  616.             ITAgentSession * This,
  617.             /* [in] */ REFIID riid,
  618.             /* [iid_is][out] */ void **ppvObject);
  619.         
  620.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  621.             ITAgentSession * This);
  622.         
  623.         ULONG ( STDMETHODCALLTYPE *Release )( 
  624.             ITAgentSession * This);
  625.         
  626.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  627.             ITAgentSession * This,
  628.             /* [out] */ UINT *pctinfo);
  629.         
  630.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  631.             ITAgentSession * This,
  632.             /* [in] */ UINT iTInfo,
  633.             /* [in] */ LCID lcid,
  634.             /* [out] */ ITypeInfo **ppTInfo);
  635.         
  636.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  637.             ITAgentSession * This,
  638.             /* [in] */ REFIID riid,
  639.             /* [size_is][in] */ LPOLESTR *rgszNames,
  640.             /* [in] */ UINT cNames,
  641.             /* [in] */ LCID lcid,
  642.             /* [size_is][out] */ DISPID *rgDispId);
  643.         
  644.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  645.             ITAgentSession * This,
  646.             /* [in] */ DISPID dispIdMember,
  647.             /* [in] */ REFIID riid,
  648.             /* [in] */ LCID lcid,
  649.             /* [in] */ WORD wFlags,
  650.             /* [out][in] */ DISPPARAMS *pDispParams,
  651.             /* [out] */ VARIANT *pVarResult,
  652.             /* [out] */ EXCEPINFO *pExcepInfo,
  653.             /* [out] */ UINT *puArgErr);
  654.         
  655.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Agent )( 
  656.             ITAgentSession * This,
  657.             /* [retval][out] */ ITAgent **ppAgent);
  658.         
  659.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Address )( 
  660.             ITAgentSession * This,
  661.             /* [retval][out] */ ITAddress **ppAddress);
  662.         
  663.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ACDGroup )( 
  664.             ITAgentSession * This,
  665.             /* [retval][out] */ ITACDGroup **ppACDGroup);
  666.         
  667.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_State )( 
  668.             ITAgentSession * This,
  669.             /* [in] */ AGENT_SESSION_STATE SessionState);
  670.         
  671.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_State )( 
  672.             ITAgentSession * This,
  673.             /* [retval][out] */ AGENT_SESSION_STATE *pSessionState);
  674.         
  675.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SessionStartTime )( 
  676.             ITAgentSession * This,
  677.             /* [retval][out] */ DATE *pdateSessionStart);
  678.         
  679.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SessionDuration )( 
  680.             ITAgentSession * This,
  681.             /* [retval][out] */ long *plDuration);
  682.         
  683.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NumberOfCalls )( 
  684.             ITAgentSession * This,
  685.             /* [retval][out] */ long *plCalls);
  686.         
  687.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TotalTalkTime )( 
  688.             ITAgentSession * This,
  689.             /* [retval][out] */ long *plTalkTime);
  690.         
  691.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AverageTalkTime )( 
  692.             ITAgentSession * This,
  693.             /* [retval][out] */ long *plTalkTime);
  694.         
  695.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TotalCallTime )( 
  696.             ITAgentSession * This,
  697.             /* [retval][out] */ long *plCallTime);
  698.         
  699.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AverageCallTime )( 
  700.             ITAgentSession * This,
  701.             /* [retval][out] */ long *plCallTime);
  702.         
  703.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TotalWrapUpTime )( 
  704.             ITAgentSession * This,
  705.             /* [retval][out] */ long *plWrapUpTime);
  706.         
  707.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AverageWrapUpTime )( 
  708.             ITAgentSession * This,
  709.             /* [retval][out] */ long *plWrapUpTime);
  710.         
  711.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ACDCallRate )( 
  712.             ITAgentSession * This,
  713.             /* [retval][out] */ CURRENCY *pcyCallrate);
  714.         
  715.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LongestTimeToAnswer )( 
  716.             ITAgentSession * This,
  717.             /* [retval][out] */ long *plAnswerTime);
  718.         
  719.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AverageTimeToAnswer )( 
  720.             ITAgentSession * This,
  721.             /* [retval][out] */ long *plAnswerTime);
  722.         
  723.         END_INTERFACE
  724.     } ITAgentSessionVtbl;
  725.     interface ITAgentSession
  726.     {
  727.         CONST_VTBL struct ITAgentSessionVtbl *lpVtbl;
  728.     };
  729.     
  730. #ifdef COBJMACROS
  731. #define ITAgentSession_QueryInterface(This,riid,ppvObject)
  732.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  733. #define ITAgentSession_AddRef(This)
  734.     (This)->lpVtbl -> AddRef(This)
  735. #define ITAgentSession_Release(This)
  736.     (This)->lpVtbl -> Release(This)
  737. #define ITAgentSession_GetTypeInfoCount(This,pctinfo)
  738.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  739. #define ITAgentSession_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  740.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  741. #define ITAgentSession_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  742.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  743. #define ITAgentSession_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  744.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  745. #define ITAgentSession_get_Agent(This,ppAgent)
  746.     (This)->lpVtbl -> get_Agent(This,ppAgent)
  747. #define ITAgentSession_get_Address(This,ppAddress)
  748.     (This)->lpVtbl -> get_Address(This,ppAddress)
  749. #define ITAgentSession_get_ACDGroup(This,ppACDGroup)
  750.     (This)->lpVtbl -> get_ACDGroup(This,ppACDGroup)
  751. #define ITAgentSession_put_State(This,SessionState)
  752.     (This)->lpVtbl -> put_State(This,SessionState)
  753. #define ITAgentSession_get_State(This,pSessionState)
  754.     (This)->lpVtbl -> get_State(This,pSessionState)
  755. #define ITAgentSession_get_SessionStartTime(This,pdateSessionStart)
  756.     (This)->lpVtbl -> get_SessionStartTime(This,pdateSessionStart)
  757. #define ITAgentSession_get_SessionDuration(This,plDuration)
  758.     (This)->lpVtbl -> get_SessionDuration(This,plDuration)
  759. #define ITAgentSession_get_NumberOfCalls(This,plCalls)
  760.     (This)->lpVtbl -> get_NumberOfCalls(This,plCalls)
  761. #define ITAgentSession_get_TotalTalkTime(This,plTalkTime)
  762.     (This)->lpVtbl -> get_TotalTalkTime(This,plTalkTime)
  763. #define ITAgentSession_get_AverageTalkTime(This,plTalkTime)
  764.     (This)->lpVtbl -> get_AverageTalkTime(This,plTalkTime)
  765. #define ITAgentSession_get_TotalCallTime(This,plCallTime)
  766.     (This)->lpVtbl -> get_TotalCallTime(This,plCallTime)
  767. #define ITAgentSession_get_AverageCallTime(This,plCallTime)
  768.     (This)->lpVtbl -> get_AverageCallTime(This,plCallTime)
  769. #define ITAgentSession_get_TotalWrapUpTime(This,plWrapUpTime)
  770.     (This)->lpVtbl -> get_TotalWrapUpTime(This,plWrapUpTime)
  771. #define ITAgentSession_get_AverageWrapUpTime(This,plWrapUpTime)
  772.     (This)->lpVtbl -> get_AverageWrapUpTime(This,plWrapUpTime)
  773. #define ITAgentSession_get_ACDCallRate(This,pcyCallrate)
  774.     (This)->lpVtbl -> get_ACDCallRate(This,pcyCallrate)
  775. #define ITAgentSession_get_LongestTimeToAnswer(This,plAnswerTime)
  776.     (This)->lpVtbl -> get_LongestTimeToAnswer(This,plAnswerTime)
  777. #define ITAgentSession_get_AverageTimeToAnswer(This,plAnswerTime)
  778.     (This)->lpVtbl -> get_AverageTimeToAnswer(This,plAnswerTime)
  779. #endif /* COBJMACROS */
  780. #endif  /* C style interface */
  781. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSession_get_Agent_Proxy( 
  782.     ITAgentSession * This,
  783.     /* [retval][out] */ ITAgent **ppAgent);
  784. void __RPC_STUB ITAgentSession_get_Agent_Stub(
  785.     IRpcStubBuffer *This,
  786.     IRpcChannelBuffer *_pRpcChannelBuffer,
  787.     PRPC_MESSAGE _pRpcMessage,
  788.     DWORD *_pdwStubPhase);
  789. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSession_get_Address_Proxy( 
  790.     ITAgentSession * This,
  791.     /* [retval][out] */ ITAddress **ppAddress);
  792. void __RPC_STUB ITAgentSession_get_Address_Stub(
  793.     IRpcStubBuffer *This,
  794.     IRpcChannelBuffer *_pRpcChannelBuffer,
  795.     PRPC_MESSAGE _pRpcMessage,
  796.     DWORD *_pdwStubPhase);
  797. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSession_get_ACDGroup_Proxy( 
  798.     ITAgentSession * This,
  799.     /* [retval][out] */ ITACDGroup **ppACDGroup);
  800. void __RPC_STUB ITAgentSession_get_ACDGroup_Stub(
  801.     IRpcStubBuffer *This,
  802.     IRpcChannelBuffer *_pRpcChannelBuffer,
  803.     PRPC_MESSAGE _pRpcMessage,
  804.     DWORD *_pdwStubPhase);
  805. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITAgentSession_put_State_Proxy( 
  806.     ITAgentSession * This,
  807.     /* [in] */ AGENT_SESSION_STATE SessionState);
  808. void __RPC_STUB ITAgentSession_put_State_Stub(
  809.     IRpcStubBuffer *This,
  810.     IRpcChannelBuffer *_pRpcChannelBuffer,
  811.     PRPC_MESSAGE _pRpcMessage,
  812.     DWORD *_pdwStubPhase);
  813. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSession_get_State_Proxy( 
  814.     ITAgentSession * This,
  815.     /* [retval][out] */ AGENT_SESSION_STATE *pSessionState);
  816. void __RPC_STUB ITAgentSession_get_State_Stub(
  817.     IRpcStubBuffer *This,
  818.     IRpcChannelBuffer *_pRpcChannelBuffer,
  819.     PRPC_MESSAGE _pRpcMessage,
  820.     DWORD *_pdwStubPhase);
  821. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSession_get_SessionStartTime_Proxy( 
  822.     ITAgentSession * This,
  823.     /* [retval][out] */ DATE *pdateSessionStart);
  824. void __RPC_STUB ITAgentSession_get_SessionStartTime_Stub(
  825.     IRpcStubBuffer *This,
  826.     IRpcChannelBuffer *_pRpcChannelBuffer,
  827.     PRPC_MESSAGE _pRpcMessage,
  828.     DWORD *_pdwStubPhase);
  829. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSession_get_SessionDuration_Proxy( 
  830.     ITAgentSession * This,
  831.     /* [retval][out] */ long *plDuration);
  832. void __RPC_STUB ITAgentSession_get_SessionDuration_Stub(
  833.     IRpcStubBuffer *This,
  834.     IRpcChannelBuffer *_pRpcChannelBuffer,
  835.     PRPC_MESSAGE _pRpcMessage,
  836.     DWORD *_pdwStubPhase);
  837. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSession_get_NumberOfCalls_Proxy( 
  838.     ITAgentSession * This,
  839.     /* [retval][out] */ long *plCalls);
  840. void __RPC_STUB ITAgentSession_get_NumberOfCalls_Stub(
  841.     IRpcStubBuffer *This,
  842.     IRpcChannelBuffer *_pRpcChannelBuffer,
  843.     PRPC_MESSAGE _pRpcMessage,
  844.     DWORD *_pdwStubPhase);
  845. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSession_get_TotalTalkTime_Proxy( 
  846.     ITAgentSession * This,
  847.     /* [retval][out] */ long *plTalkTime);
  848. void __RPC_STUB ITAgentSession_get_TotalTalkTime_Stub(
  849.     IRpcStubBuffer *This,
  850.     IRpcChannelBuffer *_pRpcChannelBuffer,
  851.     PRPC_MESSAGE _pRpcMessage,
  852.     DWORD *_pdwStubPhase);
  853. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSession_get_AverageTalkTime_Proxy( 
  854.     ITAgentSession * This,
  855.     /* [retval][out] */ long *plTalkTime);
  856. void __RPC_STUB ITAgentSession_get_AverageTalkTime_Stub(
  857.     IRpcStubBuffer *This,
  858.     IRpcChannelBuffer *_pRpcChannelBuffer,
  859.     PRPC_MESSAGE _pRpcMessage,
  860.     DWORD *_pdwStubPhase);
  861. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSession_get_TotalCallTime_Proxy( 
  862.     ITAgentSession * This,
  863.     /* [retval][out] */ long *plCallTime);
  864. void __RPC_STUB ITAgentSession_get_TotalCallTime_Stub(
  865.     IRpcStubBuffer *This,
  866.     IRpcChannelBuffer *_pRpcChannelBuffer,
  867.     PRPC_MESSAGE _pRpcMessage,
  868.     DWORD *_pdwStubPhase);
  869. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSession_get_AverageCallTime_Proxy( 
  870.     ITAgentSession * This,
  871.     /* [retval][out] */ long *plCallTime);
  872. void __RPC_STUB ITAgentSession_get_AverageCallTime_Stub(
  873.     IRpcStubBuffer *This,
  874.     IRpcChannelBuffer *_pRpcChannelBuffer,
  875.     PRPC_MESSAGE _pRpcMessage,
  876.     DWORD *_pdwStubPhase);
  877. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSession_get_TotalWrapUpTime_Proxy( 
  878.     ITAgentSession * This,
  879.     /* [retval][out] */ long *plWrapUpTime);
  880. void __RPC_STUB ITAgentSession_get_TotalWrapUpTime_Stub(
  881.     IRpcStubBuffer *This,
  882.     IRpcChannelBuffer *_pRpcChannelBuffer,
  883.     PRPC_MESSAGE _pRpcMessage,
  884.     DWORD *_pdwStubPhase);
  885. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSession_get_AverageWrapUpTime_Proxy( 
  886.     ITAgentSession * This,
  887.     /* [retval][out] */ long *plWrapUpTime);
  888. void __RPC_STUB ITAgentSession_get_AverageWrapUpTime_Stub(
  889.     IRpcStubBuffer *This,
  890.     IRpcChannelBuffer *_pRpcChannelBuffer,
  891.     PRPC_MESSAGE _pRpcMessage,
  892.     DWORD *_pdwStubPhase);
  893. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSession_get_ACDCallRate_Proxy( 
  894.     ITAgentSession * This,
  895.     /* [retval][out] */ CURRENCY *pcyCallrate);
  896. void __RPC_STUB ITAgentSession_get_ACDCallRate_Stub(
  897.     IRpcStubBuffer *This,
  898.     IRpcChannelBuffer *_pRpcChannelBuffer,
  899.     PRPC_MESSAGE _pRpcMessage,
  900.     DWORD *_pdwStubPhase);
  901. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSession_get_LongestTimeToAnswer_Proxy( 
  902.     ITAgentSession * This,
  903.     /* [retval][out] */ long *plAnswerTime);
  904. void __RPC_STUB ITAgentSession_get_LongestTimeToAnswer_Stub(
  905.     IRpcStubBuffer *This,
  906.     IRpcChannelBuffer *_pRpcChannelBuffer,
  907.     PRPC_MESSAGE _pRpcMessage,
  908.     DWORD *_pdwStubPhase);
  909. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSession_get_AverageTimeToAnswer_Proxy( 
  910.     ITAgentSession * This,
  911.     /* [retval][out] */ long *plAnswerTime);
  912. void __RPC_STUB ITAgentSession_get_AverageTimeToAnswer_Stub(
  913.     IRpcStubBuffer *This,
  914.     IRpcChannelBuffer *_pRpcChannelBuffer,
  915.     PRPC_MESSAGE _pRpcMessage,
  916.     DWORD *_pdwStubPhase);
  917. #endif  /* __ITAgentSession_INTERFACE_DEFINED__ */
  918. #ifndef __ITACDGroup_INTERFACE_DEFINED__
  919. #define __ITACDGroup_INTERFACE_DEFINED__
  920. /* interface ITACDGroup */
  921. /* [object][dual][helpstring][uuid] */ 
  922. EXTERN_C const IID IID_ITACDGroup;
  923. #if defined(__cplusplus) && !defined(CINTERFACE)
  924.     
  925.     MIDL_INTERFACE("5AFC3148-4BCC-11d1-BF80-00805FC147D3")
  926.     ITACDGroup : public IDispatch
  927.     {
  928.     public:
  929.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name( 
  930.             /* [retval][out] */ BSTR *ppName) = 0;
  931.         
  932.         virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateQueues( 
  933.             /* [retval][out] */ IEnumQueue **ppEnumQueue) = 0;
  934.         
  935.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Queues( 
  936.             /* [retval][out] */ VARIANT *pVariant) = 0;
  937.         
  938.     };
  939.     
  940. #else  /* C style interface */
  941.     typedef struct ITACDGroupVtbl
  942.     {
  943.         BEGIN_INTERFACE
  944.         
  945.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  946.             ITACDGroup * This,
  947.             /* [in] */ REFIID riid,
  948.             /* [iid_is][out] */ void **ppvObject);
  949.         
  950.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  951.             ITACDGroup * This);
  952.         
  953.         ULONG ( STDMETHODCALLTYPE *Release )( 
  954.             ITACDGroup * This);
  955.         
  956.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  957.             ITACDGroup * This,
  958.             /* [out] */ UINT *pctinfo);
  959.         
  960.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  961.             ITACDGroup * This,
  962.             /* [in] */ UINT iTInfo,
  963.             /* [in] */ LCID lcid,
  964.             /* [out] */ ITypeInfo **ppTInfo);
  965.         
  966.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  967.             ITACDGroup * This,
  968.             /* [in] */ REFIID riid,
  969.             /* [size_is][in] */ LPOLESTR *rgszNames,
  970.             /* [in] */ UINT cNames,
  971.             /* [in] */ LCID lcid,
  972.             /* [size_is][out] */ DISPID *rgDispId);
  973.         
  974.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  975.             ITACDGroup * This,
  976.             /* [in] */ DISPID dispIdMember,
  977.             /* [in] */ REFIID riid,
  978.             /* [in] */ LCID lcid,
  979.             /* [in] */ WORD wFlags,
  980.             /* [out][in] */ DISPPARAMS *pDispParams,
  981.             /* [out] */ VARIANT *pVarResult,
  982.             /* [out] */ EXCEPINFO *pExcepInfo,
  983.             /* [out] */ UINT *puArgErr);
  984.         
  985.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( 
  986.             ITACDGroup * This,
  987.             /* [retval][out] */ BSTR *ppName);
  988.         
  989.         /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateQueues )( 
  990.             ITACDGroup * This,
  991.             /* [retval][out] */ IEnumQueue **ppEnumQueue);
  992.         
  993.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Queues )( 
  994.             ITACDGroup * This,
  995.             /* [retval][out] */ VARIANT *pVariant);
  996.         
  997.         END_INTERFACE
  998.     } ITACDGroupVtbl;
  999.     interface ITACDGroup
  1000.     {
  1001.         CONST_VTBL struct ITACDGroupVtbl *lpVtbl;
  1002.     };
  1003.     
  1004. #ifdef COBJMACROS
  1005. #define ITACDGroup_QueryInterface(This,riid,ppvObject)
  1006.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1007. #define ITACDGroup_AddRef(This)
  1008.     (This)->lpVtbl -> AddRef(This)
  1009. #define ITACDGroup_Release(This)
  1010.     (This)->lpVtbl -> Release(This)
  1011. #define ITACDGroup_GetTypeInfoCount(This,pctinfo)
  1012.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1013. #define ITACDGroup_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1014.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1015. #define ITACDGroup_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1016.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1017. #define ITACDGroup_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1018.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1019. #define ITACDGroup_get_Name(This,ppName)
  1020.     (This)->lpVtbl -> get_Name(This,ppName)
  1021. #define ITACDGroup_EnumerateQueues(This,ppEnumQueue)
  1022.     (This)->lpVtbl -> EnumerateQueues(This,ppEnumQueue)
  1023. #define ITACDGroup_get_Queues(This,pVariant)
  1024.     (This)->lpVtbl -> get_Queues(This,pVariant)
  1025. #endif /* COBJMACROS */
  1026. #endif  /* C style interface */
  1027. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITACDGroup_get_Name_Proxy( 
  1028.     ITACDGroup * This,
  1029.     /* [retval][out] */ BSTR *ppName);
  1030. void __RPC_STUB ITACDGroup_get_Name_Stub(
  1031.     IRpcStubBuffer *This,
  1032.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1033.     PRPC_MESSAGE _pRpcMessage,
  1034.     DWORD *_pdwStubPhase);
  1035. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITACDGroup_EnumerateQueues_Proxy( 
  1036.     ITACDGroup * This,
  1037.     /* [retval][out] */ IEnumQueue **ppEnumQueue);
  1038. void __RPC_STUB ITACDGroup_EnumerateQueues_Stub(
  1039.     IRpcStubBuffer *This,
  1040.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1041.     PRPC_MESSAGE _pRpcMessage,
  1042.     DWORD *_pdwStubPhase);
  1043. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITACDGroup_get_Queues_Proxy( 
  1044.     ITACDGroup * This,
  1045.     /* [retval][out] */ VARIANT *pVariant);
  1046. void __RPC_STUB ITACDGroup_get_Queues_Stub(
  1047.     IRpcStubBuffer *This,
  1048.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1049.     PRPC_MESSAGE _pRpcMessage,
  1050.     DWORD *_pdwStubPhase);
  1051. #endif  /* __ITACDGroup_INTERFACE_DEFINED__ */
  1052. #ifndef __ITQueue_INTERFACE_DEFINED__
  1053. #define __ITQueue_INTERFACE_DEFINED__
  1054. /* interface ITQueue */
  1055. /* [object][dual][helpstring][uuid] */ 
  1056. EXTERN_C const IID IID_ITQueue;
  1057. #if defined(__cplusplus) && !defined(CINTERFACE)
  1058.     
  1059.     MIDL_INTERFACE("5AFC3149-4BCC-11d1-BF80-00805FC147D3")
  1060.     ITQueue : public IDispatch
  1061.     {
  1062.     public:
  1063.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_MeasurementPeriod( 
  1064.             /* [in] */ long lPeriod) = 0;
  1065.         
  1066.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MeasurementPeriod( 
  1067.             /* [retval][out] */ long *plPeriod) = 0;
  1068.         
  1069.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TotalCallsQueued( 
  1070.             /* [retval][out] */ long *plCalls) = 0;
  1071.         
  1072.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CurrentCallsQueued( 
  1073.             /* [retval][out] */ long *plCalls) = 0;
  1074.         
  1075.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TotalCallsAbandoned( 
  1076.             /* [retval][out] */ long *plCalls) = 0;
  1077.         
  1078.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TotalCallsFlowedIn( 
  1079.             /* [retval][out] */ long *plCalls) = 0;
  1080.         
  1081.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TotalCallsFlowedOut( 
  1082.             /* [retval][out] */ long *plCalls) = 0;
  1083.         
  1084.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LongestEverWaitTime( 
  1085.             /* [retval][out] */ long *plWaitTime) = 0;
  1086.         
  1087.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CurrentLongestWaitTime( 
  1088.             /* [retval][out] */ long *plWaitTime) = 0;
  1089.         
  1090.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AverageWaitTime( 
  1091.             /* [retval][out] */ long *plWaitTime) = 0;
  1092.         
  1093.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FinalDisposition( 
  1094.             /* [retval][out] */ long *plCalls) = 0;
  1095.         
  1096.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name( 
  1097.             /* [retval][out] */ BSTR *ppName) = 0;
  1098.         
  1099.     };
  1100.     
  1101. #else  /* C style interface */
  1102.     typedef struct ITQueueVtbl
  1103.     {
  1104.         BEGIN_INTERFACE
  1105.         
  1106.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1107.             ITQueue * This,
  1108.             /* [in] */ REFIID riid,
  1109.             /* [iid_is][out] */ void **ppvObject);
  1110.         
  1111.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1112.             ITQueue * This);
  1113.         
  1114.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1115.             ITQueue * This);
  1116.         
  1117.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1118.             ITQueue * This,
  1119.             /* [out] */ UINT *pctinfo);
  1120.         
  1121.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1122.             ITQueue * This,
  1123.             /* [in] */ UINT iTInfo,
  1124.             /* [in] */ LCID lcid,
  1125.             /* [out] */ ITypeInfo **ppTInfo);
  1126.         
  1127.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1128.             ITQueue * This,
  1129.             /* [in] */ REFIID riid,
  1130.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1131.             /* [in] */ UINT cNames,
  1132.             /* [in] */ LCID lcid,
  1133.             /* [size_is][out] */ DISPID *rgDispId);
  1134.         
  1135.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1136.             ITQueue * This,
  1137.             /* [in] */ DISPID dispIdMember,
  1138.             /* [in] */ REFIID riid,
  1139.             /* [in] */ LCID lcid,
  1140.             /* [in] */ WORD wFlags,
  1141.             /* [out][in] */ DISPPARAMS *pDispParams,
  1142.             /* [out] */ VARIANT *pVarResult,
  1143.             /* [out] */ EXCEPINFO *pExcepInfo,
  1144.             /* [out] */ UINT *puArgErr);
  1145.         
  1146.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MeasurementPeriod )( 
  1147.             ITQueue * This,
  1148.             /* [in] */ long lPeriod);
  1149.         
  1150.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MeasurementPeriod )( 
  1151.             ITQueue * This,
  1152.             /* [retval][out] */ long *plPeriod);
  1153.         
  1154.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TotalCallsQueued )( 
  1155.             ITQueue * This,
  1156.             /* [retval][out] */ long *plCalls);
  1157.         
  1158.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CurrentCallsQueued )( 
  1159.             ITQueue * This,
  1160.             /* [retval][out] */ long *plCalls);
  1161.         
  1162.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TotalCallsAbandoned )( 
  1163.             ITQueue * This,
  1164.             /* [retval][out] */ long *plCalls);
  1165.         
  1166.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TotalCallsFlowedIn )( 
  1167.             ITQueue * This,
  1168.             /* [retval][out] */ long *plCalls);
  1169.         
  1170.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TotalCallsFlowedOut )( 
  1171.             ITQueue * This,
  1172.             /* [retval][out] */ long *plCalls);
  1173.         
  1174.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LongestEverWaitTime )( 
  1175.             ITQueue * This,
  1176.             /* [retval][out] */ long *plWaitTime);
  1177.         
  1178.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CurrentLongestWaitTime )( 
  1179.             ITQueue * This,
  1180.             /* [retval][out] */ long *plWaitTime);
  1181.         
  1182.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AverageWaitTime )( 
  1183.             ITQueue * This,
  1184.             /* [retval][out] */ long *plWaitTime);
  1185.         
  1186.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FinalDisposition )( 
  1187.             ITQueue * This,
  1188.             /* [retval][out] */ long *plCalls);
  1189.         
  1190.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( 
  1191.             ITQueue * This,
  1192.             /* [retval][out] */ BSTR *ppName);
  1193.         
  1194.         END_INTERFACE
  1195.     } ITQueueVtbl;
  1196.     interface ITQueue
  1197.     {
  1198.         CONST_VTBL struct ITQueueVtbl *lpVtbl;
  1199.     };
  1200.     
  1201. #ifdef COBJMACROS
  1202. #define ITQueue_QueryInterface(This,riid,ppvObject)
  1203.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1204. #define ITQueue_AddRef(This)
  1205.     (This)->lpVtbl -> AddRef(This)
  1206. #define ITQueue_Release(This)
  1207.     (This)->lpVtbl -> Release(This)
  1208. #define ITQueue_GetTypeInfoCount(This,pctinfo)
  1209.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1210. #define ITQueue_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1211.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1212. #define ITQueue_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1213.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1214. #define ITQueue_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1215.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1216. #define ITQueue_put_MeasurementPeriod(This,lPeriod)
  1217.     (This)->lpVtbl -> put_MeasurementPeriod(This,lPeriod)
  1218. #define ITQueue_get_MeasurementPeriod(This,plPeriod)
  1219.     (This)->lpVtbl -> get_MeasurementPeriod(This,plPeriod)
  1220. #define ITQueue_get_TotalCallsQueued(This,plCalls)
  1221.     (This)->lpVtbl -> get_TotalCallsQueued(This,plCalls)
  1222. #define ITQueue_get_CurrentCallsQueued(This,plCalls)
  1223.     (This)->lpVtbl -> get_CurrentCallsQueued(This,plCalls)
  1224. #define ITQueue_get_TotalCallsAbandoned(This,plCalls)
  1225.     (This)->lpVtbl -> get_TotalCallsAbandoned(This,plCalls)
  1226. #define ITQueue_get_TotalCallsFlowedIn(This,plCalls)
  1227.     (This)->lpVtbl -> get_TotalCallsFlowedIn(This,plCalls)
  1228. #define ITQueue_get_TotalCallsFlowedOut(This,plCalls)
  1229.     (This)->lpVtbl -> get_TotalCallsFlowedOut(This,plCalls)
  1230. #define ITQueue_get_LongestEverWaitTime(This,plWaitTime)
  1231.     (This)->lpVtbl -> get_LongestEverWaitTime(This,plWaitTime)
  1232. #define ITQueue_get_CurrentLongestWaitTime(This,plWaitTime)
  1233.     (This)->lpVtbl -> get_CurrentLongestWaitTime(This,plWaitTime)
  1234. #define ITQueue_get_AverageWaitTime(This,plWaitTime)
  1235.     (This)->lpVtbl -> get_AverageWaitTime(This,plWaitTime)
  1236. #define ITQueue_get_FinalDisposition(This,plCalls)
  1237.     (This)->lpVtbl -> get_FinalDisposition(This,plCalls)
  1238. #define ITQueue_get_Name(This,ppName)
  1239.     (This)->lpVtbl -> get_Name(This,ppName)
  1240. #endif /* COBJMACROS */
  1241. #endif  /* C style interface */
  1242. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITQueue_put_MeasurementPeriod_Proxy( 
  1243.     ITQueue * This,
  1244.     /* [in] */ long lPeriod);
  1245. void __RPC_STUB ITQueue_put_MeasurementPeriod_Stub(
  1246.     IRpcStubBuffer *This,
  1247.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1248.     PRPC_MESSAGE _pRpcMessage,
  1249.     DWORD *_pdwStubPhase);
  1250. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITQueue_get_MeasurementPeriod_Proxy( 
  1251.     ITQueue * This,
  1252.     /* [retval][out] */ long *plPeriod);
  1253. void __RPC_STUB ITQueue_get_MeasurementPeriod_Stub(
  1254.     IRpcStubBuffer *This,
  1255.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1256.     PRPC_MESSAGE _pRpcMessage,
  1257.     DWORD *_pdwStubPhase);
  1258. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITQueue_get_TotalCallsQueued_Proxy( 
  1259.     ITQueue * This,
  1260.     /* [retval][out] */ long *plCalls);
  1261. void __RPC_STUB ITQueue_get_TotalCallsQueued_Stub(
  1262.     IRpcStubBuffer *This,
  1263.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1264.     PRPC_MESSAGE _pRpcMessage,
  1265.     DWORD *_pdwStubPhase);
  1266. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITQueue_get_CurrentCallsQueued_Proxy( 
  1267.     ITQueue * This,
  1268.     /* [retval][out] */ long *plCalls);
  1269. void __RPC_STUB ITQueue_get_CurrentCallsQueued_Stub(
  1270.     IRpcStubBuffer *This,
  1271.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1272.     PRPC_MESSAGE _pRpcMessage,
  1273.     DWORD *_pdwStubPhase);
  1274. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITQueue_get_TotalCallsAbandoned_Proxy( 
  1275.     ITQueue * This,
  1276.     /* [retval][out] */ long *plCalls);
  1277. void __RPC_STUB ITQueue_get_TotalCallsAbandoned_Stub(
  1278.     IRpcStubBuffer *This,
  1279.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1280.     PRPC_MESSAGE _pRpcMessage,
  1281.     DWORD *_pdwStubPhase);
  1282. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITQueue_get_TotalCallsFlowedIn_Proxy( 
  1283.     ITQueue * This,
  1284.     /* [retval][out] */ long *plCalls);
  1285. void __RPC_STUB ITQueue_get_TotalCallsFlowedIn_Stub(
  1286.     IRpcStubBuffer *This,
  1287.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1288.     PRPC_MESSAGE _pRpcMessage,
  1289.     DWORD *_pdwStubPhase);
  1290. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITQueue_get_TotalCallsFlowedOut_Proxy( 
  1291.     ITQueue * This,
  1292.     /* [retval][out] */ long *plCalls);
  1293. void __RPC_STUB ITQueue_get_TotalCallsFlowedOut_Stub(
  1294.     IRpcStubBuffer *This,
  1295.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1296.     PRPC_MESSAGE _pRpcMessage,
  1297.     DWORD *_pdwStubPhase);
  1298. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITQueue_get_LongestEverWaitTime_Proxy( 
  1299.     ITQueue * This,
  1300.     /* [retval][out] */ long *plWaitTime);
  1301. void __RPC_STUB ITQueue_get_LongestEverWaitTime_Stub(
  1302.     IRpcStubBuffer *This,
  1303.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1304.     PRPC_MESSAGE _pRpcMessage,
  1305.     DWORD *_pdwStubPhase);
  1306. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITQueue_get_CurrentLongestWaitTime_Proxy( 
  1307.     ITQueue * This,
  1308.     /* [retval][out] */ long *plWaitTime);
  1309. void __RPC_STUB ITQueue_get_CurrentLongestWaitTime_Stub(
  1310.     IRpcStubBuffer *This,
  1311.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1312.     PRPC_MESSAGE _pRpcMessage,
  1313.     DWORD *_pdwStubPhase);
  1314. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITQueue_get_AverageWaitTime_Proxy( 
  1315.     ITQueue * This,
  1316.     /* [retval][out] */ long *plWaitTime);
  1317. void __RPC_STUB ITQueue_get_AverageWaitTime_Stub(
  1318.     IRpcStubBuffer *This,
  1319.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1320.     PRPC_MESSAGE _pRpcMessage,
  1321.     DWORD *_pdwStubPhase);
  1322. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITQueue_get_FinalDisposition_Proxy( 
  1323.     ITQueue * This,
  1324.     /* [retval][out] */ long *plCalls);
  1325. void __RPC_STUB ITQueue_get_FinalDisposition_Stub(
  1326.     IRpcStubBuffer *This,
  1327.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1328.     PRPC_MESSAGE _pRpcMessage,
  1329.     DWORD *_pdwStubPhase);
  1330. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITQueue_get_Name_Proxy( 
  1331.     ITQueue * This,
  1332.     /* [retval][out] */ BSTR *ppName);
  1333. void __RPC_STUB ITQueue_get_Name_Stub(
  1334.     IRpcStubBuffer *This,
  1335.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1336.     PRPC_MESSAGE _pRpcMessage,
  1337.     DWORD *_pdwStubPhase);
  1338. #endif  /* __ITQueue_INTERFACE_DEFINED__ */
  1339. #ifndef __ITAgentEvent_INTERFACE_DEFINED__
  1340. #define __ITAgentEvent_INTERFACE_DEFINED__
  1341. /* interface ITAgentEvent */
  1342. /* [object][dual][helpstring][uuid] */ 
  1343. EXTERN_C const IID IID_ITAgentEvent;
  1344. #if defined(__cplusplus) && !defined(CINTERFACE)
  1345.     
  1346.     MIDL_INTERFACE("5AFC314A-4BCC-11d1-BF80-00805FC147D3")
  1347.     ITAgentEvent : public IDispatch
  1348.     {
  1349.     public:
  1350.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Agent( 
  1351.             /* [retval][out] */ ITAgent **ppAgent) = 0;
  1352.         
  1353.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Event( 
  1354.             /* [retval][out] */ AGENT_EVENT *pEvent) = 0;
  1355.         
  1356.     };
  1357.     
  1358. #else  /* C style interface */
  1359.     typedef struct ITAgentEventVtbl
  1360.     {
  1361.         BEGIN_INTERFACE
  1362.         
  1363.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1364.             ITAgentEvent * This,
  1365.             /* [in] */ REFIID riid,
  1366.             /* [iid_is][out] */ void **ppvObject);
  1367.         
  1368.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1369.             ITAgentEvent * This);
  1370.         
  1371.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1372.             ITAgentEvent * This);
  1373.         
  1374.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1375.             ITAgentEvent * This,
  1376.             /* [out] */ UINT *pctinfo);
  1377.         
  1378.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1379.             ITAgentEvent * This,
  1380.             /* [in] */ UINT iTInfo,
  1381.             /* [in] */ LCID lcid,
  1382.             /* [out] */ ITypeInfo **ppTInfo);
  1383.         
  1384.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1385.             ITAgentEvent * This,
  1386.             /* [in] */ REFIID riid,
  1387.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1388.             /* [in] */ UINT cNames,
  1389.             /* [in] */ LCID lcid,
  1390.             /* [size_is][out] */ DISPID *rgDispId);
  1391.         
  1392.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1393.             ITAgentEvent * This,
  1394.             /* [in] */ DISPID dispIdMember,
  1395.             /* [in] */ REFIID riid,
  1396.             /* [in] */ LCID lcid,
  1397.             /* [in] */ WORD wFlags,
  1398.             /* [out][in] */ DISPPARAMS *pDispParams,
  1399.             /* [out] */ VARIANT *pVarResult,
  1400.             /* [out] */ EXCEPINFO *pExcepInfo,
  1401.             /* [out] */ UINT *puArgErr);
  1402.         
  1403.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Agent )( 
  1404.             ITAgentEvent * This,
  1405.             /* [retval][out] */ ITAgent **ppAgent);
  1406.         
  1407.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Event )( 
  1408.             ITAgentEvent * This,
  1409.             /* [retval][out] */ AGENT_EVENT *pEvent);
  1410.         
  1411.         END_INTERFACE
  1412.     } ITAgentEventVtbl;
  1413.     interface ITAgentEvent
  1414.     {
  1415.         CONST_VTBL struct ITAgentEventVtbl *lpVtbl;
  1416.     };
  1417.     
  1418. #ifdef COBJMACROS
  1419. #define ITAgentEvent_QueryInterface(This,riid,ppvObject)
  1420.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1421. #define ITAgentEvent_AddRef(This)
  1422.     (This)->lpVtbl -> AddRef(This)
  1423. #define ITAgentEvent_Release(This)
  1424.     (This)->lpVtbl -> Release(This)
  1425. #define ITAgentEvent_GetTypeInfoCount(This,pctinfo)
  1426.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1427. #define ITAgentEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1428.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1429. #define ITAgentEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1430.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1431. #define ITAgentEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1432.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1433. #define ITAgentEvent_get_Agent(This,ppAgent)
  1434.     (This)->lpVtbl -> get_Agent(This,ppAgent)
  1435. #define ITAgentEvent_get_Event(This,pEvent)
  1436.     (This)->lpVtbl -> get_Event(This,pEvent)
  1437. #endif /* COBJMACROS */
  1438. #endif  /* C style interface */
  1439. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentEvent_get_Agent_Proxy( 
  1440.     ITAgentEvent * This,
  1441.     /* [retval][out] */ ITAgent **ppAgent);
  1442. void __RPC_STUB ITAgentEvent_get_Agent_Stub(
  1443.     IRpcStubBuffer *This,
  1444.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1445.     PRPC_MESSAGE _pRpcMessage,
  1446.     DWORD *_pdwStubPhase);
  1447. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentEvent_get_Event_Proxy( 
  1448.     ITAgentEvent * This,
  1449.     /* [retval][out] */ AGENT_EVENT *pEvent);
  1450. void __RPC_STUB ITAgentEvent_get_Event_Stub(
  1451.     IRpcStubBuffer *This,
  1452.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1453.     PRPC_MESSAGE _pRpcMessage,
  1454.     DWORD *_pdwStubPhase);
  1455. #endif  /* __ITAgentEvent_INTERFACE_DEFINED__ */
  1456. #ifndef __ITAgentSessionEvent_INTERFACE_DEFINED__
  1457. #define __ITAgentSessionEvent_INTERFACE_DEFINED__
  1458. /* interface ITAgentSessionEvent */
  1459. /* [object][dual][helpstring][uuid] */ 
  1460. EXTERN_C const IID IID_ITAgentSessionEvent;
  1461. #if defined(__cplusplus) && !defined(CINTERFACE)
  1462.     
  1463.     MIDL_INTERFACE("5AFC314B-4BCC-11d1-BF80-00805FC147D3")
  1464.     ITAgentSessionEvent : public IDispatch
  1465.     {
  1466.     public:
  1467.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Session( 
  1468.             /* [retval][out] */ ITAgentSession **ppSession) = 0;
  1469.         
  1470.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Event( 
  1471.             /* [retval][out] */ AGENT_SESSION_EVENT *pEvent) = 0;
  1472.         
  1473.     };
  1474.     
  1475. #else  /* C style interface */
  1476.     typedef struct ITAgentSessionEventVtbl
  1477.     {
  1478.         BEGIN_INTERFACE
  1479.         
  1480.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1481.             ITAgentSessionEvent * This,
  1482.             /* [in] */ REFIID riid,
  1483.             /* [iid_is][out] */ void **ppvObject);
  1484.         
  1485.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1486.             ITAgentSessionEvent * This);
  1487.         
  1488.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1489.             ITAgentSessionEvent * This);
  1490.         
  1491.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1492.             ITAgentSessionEvent * This,
  1493.             /* [out] */ UINT *pctinfo);
  1494.         
  1495.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1496.             ITAgentSessionEvent * This,
  1497.             /* [in] */ UINT iTInfo,
  1498.             /* [in] */ LCID lcid,
  1499.             /* [out] */ ITypeInfo **ppTInfo);
  1500.         
  1501.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1502.             ITAgentSessionEvent * This,
  1503.             /* [in] */ REFIID riid,
  1504.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1505.             /* [in] */ UINT cNames,
  1506.             /* [in] */ LCID lcid,
  1507.             /* [size_is][out] */ DISPID *rgDispId);
  1508.         
  1509.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1510.             ITAgentSessionEvent * This,
  1511.             /* [in] */ DISPID dispIdMember,
  1512.             /* [in] */ REFIID riid,
  1513.             /* [in] */ LCID lcid,
  1514.             /* [in] */ WORD wFlags,
  1515.             /* [out][in] */ DISPPARAMS *pDispParams,
  1516.             /* [out] */ VARIANT *pVarResult,
  1517.             /* [out] */ EXCEPINFO *pExcepInfo,
  1518.             /* [out] */ UINT *puArgErr);
  1519.         
  1520.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Session )( 
  1521.             ITAgentSessionEvent * This,
  1522.             /* [retval][out] */ ITAgentSession **ppSession);
  1523.         
  1524.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Event )( 
  1525.             ITAgentSessionEvent * This,
  1526.             /* [retval][out] */ AGENT_SESSION_EVENT *pEvent);
  1527.         
  1528.         END_INTERFACE
  1529.     } ITAgentSessionEventVtbl;
  1530.     interface ITAgentSessionEvent
  1531.     {
  1532.         CONST_VTBL struct ITAgentSessionEventVtbl *lpVtbl;
  1533.     };
  1534.     
  1535. #ifdef COBJMACROS
  1536. #define ITAgentSessionEvent_QueryInterface(This,riid,ppvObject)
  1537.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1538. #define ITAgentSessionEvent_AddRef(This)
  1539.     (This)->lpVtbl -> AddRef(This)
  1540. #define ITAgentSessionEvent_Release(This)
  1541.     (This)->lpVtbl -> Release(This)
  1542. #define ITAgentSessionEvent_GetTypeInfoCount(This,pctinfo)
  1543.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1544. #define ITAgentSessionEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1545.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1546. #define ITAgentSessionEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1547.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1548. #define ITAgentSessionEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1549.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1550. #define ITAgentSessionEvent_get_Session(This,ppSession)
  1551.     (This)->lpVtbl -> get_Session(This,ppSession)
  1552. #define ITAgentSessionEvent_get_Event(This,pEvent)
  1553.     (This)->lpVtbl -> get_Event(This,pEvent)
  1554. #endif /* COBJMACROS */
  1555. #endif  /* C style interface */
  1556. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSessionEvent_get_Session_Proxy( 
  1557.     ITAgentSessionEvent * This,
  1558.     /* [retval][out] */ ITAgentSession **ppSession);
  1559. void __RPC_STUB ITAgentSessionEvent_get_Session_Stub(
  1560.     IRpcStubBuffer *This,
  1561.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1562.     PRPC_MESSAGE _pRpcMessage,
  1563.     DWORD *_pdwStubPhase);
  1564. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSessionEvent_get_Event_Proxy( 
  1565.     ITAgentSessionEvent * This,
  1566.     /* [retval][out] */ AGENT_SESSION_EVENT *pEvent);
  1567. void __RPC_STUB ITAgentSessionEvent_get_Event_Stub(
  1568.     IRpcStubBuffer *This,
  1569.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1570.     PRPC_MESSAGE _pRpcMessage,
  1571.     DWORD *_pdwStubPhase);
  1572. #endif  /* __ITAgentSessionEvent_INTERFACE_DEFINED__ */
  1573. #ifndef __ITACDGroupEvent_INTERFACE_DEFINED__
  1574. #define __ITACDGroupEvent_INTERFACE_DEFINED__
  1575. /* interface ITACDGroupEvent */
  1576. /* [object][dual][helpstring][uuid] */ 
  1577. EXTERN_C const IID IID_ITACDGroupEvent;
  1578. #if defined(__cplusplus) && !defined(CINTERFACE)
  1579.     
  1580.     MIDL_INTERFACE("297F3032-BD11-11d1-A0A7-00805FC147D3")
  1581.     ITACDGroupEvent : public IDispatch
  1582.     {
  1583.     public:
  1584.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Group( 
  1585.             /* [retval][out] */ ITACDGroup **ppGroup) = 0;
  1586.         
  1587.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Event( 
  1588.             /* [retval][out] */ ACDGROUP_EVENT *pEvent) = 0;
  1589.         
  1590.     };
  1591.     
  1592. #else  /* C style interface */
  1593.     typedef struct ITACDGroupEventVtbl
  1594.     {
  1595.         BEGIN_INTERFACE
  1596.         
  1597.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1598.             ITACDGroupEvent * This,
  1599.             /* [in] */ REFIID riid,
  1600.             /* [iid_is][out] */ void **ppvObject);
  1601.         
  1602.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1603.             ITACDGroupEvent * This);
  1604.         
  1605.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1606.             ITACDGroupEvent * This);
  1607.         
  1608.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1609.             ITACDGroupEvent * This,
  1610.             /* [out] */ UINT *pctinfo);
  1611.         
  1612.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1613.             ITACDGroupEvent * This,
  1614.             /* [in] */ UINT iTInfo,
  1615.             /* [in] */ LCID lcid,
  1616.             /* [out] */ ITypeInfo **ppTInfo);
  1617.         
  1618.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1619.             ITACDGroupEvent * This,
  1620.             /* [in] */ REFIID riid,
  1621.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1622.             /* [in] */ UINT cNames,
  1623.             /* [in] */ LCID lcid,
  1624.             /* [size_is][out] */ DISPID *rgDispId);
  1625.         
  1626.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1627.             ITACDGroupEvent * This,
  1628.             /* [in] */ DISPID dispIdMember,
  1629.             /* [in] */ REFIID riid,
  1630.             /* [in] */ LCID lcid,
  1631.             /* [in] */ WORD wFlags,
  1632.             /* [out][in] */ DISPPARAMS *pDispParams,
  1633.             /* [out] */ VARIANT *pVarResult,
  1634.             /* [out] */ EXCEPINFO *pExcepInfo,
  1635.             /* [out] */ UINT *puArgErr);
  1636.         
  1637.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Group )( 
  1638.             ITACDGroupEvent * This,
  1639.             /* [retval][out] */ ITACDGroup **ppGroup);
  1640.         
  1641.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Event )( 
  1642.             ITACDGroupEvent * This,
  1643.             /* [retval][out] */ ACDGROUP_EVENT *pEvent);
  1644.         
  1645.         END_INTERFACE
  1646.     } ITACDGroupEventVtbl;
  1647.     interface ITACDGroupEvent
  1648.     {
  1649.         CONST_VTBL struct ITACDGroupEventVtbl *lpVtbl;
  1650.     };
  1651.     
  1652. #ifdef COBJMACROS
  1653. #define ITACDGroupEvent_QueryInterface(This,riid,ppvObject)
  1654.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1655. #define ITACDGroupEvent_AddRef(This)
  1656.     (This)->lpVtbl -> AddRef(This)
  1657. #define ITACDGroupEvent_Release(This)
  1658.     (This)->lpVtbl -> Release(This)
  1659. #define ITACDGroupEvent_GetTypeInfoCount(This,pctinfo)
  1660.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1661. #define ITACDGroupEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1662.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1663. #define ITACDGroupEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1664.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1665. #define ITACDGroupEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1666.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1667. #define ITACDGroupEvent_get_Group(This,ppGroup)
  1668.     (This)->lpVtbl -> get_Group(This,ppGroup)
  1669. #define ITACDGroupEvent_get_Event(This,pEvent)
  1670.     (This)->lpVtbl -> get_Event(This,pEvent)
  1671. #endif /* COBJMACROS */
  1672. #endif  /* C style interface */
  1673. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITACDGroupEvent_get_Group_Proxy( 
  1674.     ITACDGroupEvent * This,
  1675.     /* [retval][out] */ ITACDGroup **ppGroup);
  1676. void __RPC_STUB ITACDGroupEvent_get_Group_Stub(
  1677.     IRpcStubBuffer *This,
  1678.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1679.     PRPC_MESSAGE _pRpcMessage,
  1680.     DWORD *_pdwStubPhase);
  1681. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITACDGroupEvent_get_Event_Proxy( 
  1682.     ITACDGroupEvent * This,
  1683.     /* [retval][out] */ ACDGROUP_EVENT *pEvent);
  1684. void __RPC_STUB ITACDGroupEvent_get_Event_Stub(
  1685.     IRpcStubBuffer *This,
  1686.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1687.     PRPC_MESSAGE _pRpcMessage,
  1688.     DWORD *_pdwStubPhase);
  1689. #endif  /* __ITACDGroupEvent_INTERFACE_DEFINED__ */
  1690. #ifndef __ITQueueEvent_INTERFACE_DEFINED__
  1691. #define __ITQueueEvent_INTERFACE_DEFINED__
  1692. /* interface ITQueueEvent */
  1693. /* [object][dual][helpstring][uuid] */ 
  1694. EXTERN_C const IID IID_ITQueueEvent;
  1695. #if defined(__cplusplus) && !defined(CINTERFACE)
  1696.     
  1697.     MIDL_INTERFACE("297F3033-BD11-11d1-A0A7-00805FC147D3")
  1698.     ITQueueEvent : public IDispatch
  1699.     {
  1700.     public:
  1701.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Queue( 
  1702.             /* [retval][out] */ ITQueue **ppQueue) = 0;
  1703.         
  1704.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Event( 
  1705.             /* [retval][out] */ ACDQUEUE_EVENT *pEvent) = 0;
  1706.         
  1707.     };
  1708.     
  1709. #else  /* C style interface */
  1710.     typedef struct ITQueueEventVtbl
  1711.     {
  1712.         BEGIN_INTERFACE
  1713.         
  1714.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1715.             ITQueueEvent * This,
  1716.             /* [in] */ REFIID riid,
  1717.             /* [iid_is][out] */ void **ppvObject);
  1718.         
  1719.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1720.             ITQueueEvent * This);
  1721.         
  1722.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1723.             ITQueueEvent * This);
  1724.         
  1725.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1726.             ITQueueEvent * This,
  1727.             /* [out] */ UINT *pctinfo);
  1728.         
  1729.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1730.             ITQueueEvent * This,
  1731.             /* [in] */ UINT iTInfo,
  1732.             /* [in] */ LCID lcid,
  1733.             /* [out] */ ITypeInfo **ppTInfo);
  1734.         
  1735.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1736.             ITQueueEvent * This,
  1737.             /* [in] */ REFIID riid,
  1738.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1739.             /* [in] */ UINT cNames,
  1740.             /* [in] */ LCID lcid,
  1741.             /* [size_is][out] */ DISPID *rgDispId);
  1742.         
  1743.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1744.             ITQueueEvent * This,
  1745.             /* [in] */ DISPID dispIdMember,
  1746.             /* [in] */ REFIID riid,
  1747.             /* [in] */ LCID lcid,
  1748.             /* [in] */ WORD wFlags,
  1749.             /* [out][in] */ DISPPARAMS *pDispParams,
  1750.             /* [out] */ VARIANT *pVarResult,
  1751.             /* [out] */ EXCEPINFO *pExcepInfo,
  1752.             /* [out] */ UINT *puArgErr);
  1753.         
  1754.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Queue )( 
  1755.             ITQueueEvent * This,
  1756.             /* [retval][out] */ ITQueue **ppQueue);
  1757.         
  1758.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Event )( 
  1759.             ITQueueEvent * This,
  1760.             /* [retval][out] */ ACDQUEUE_EVENT *pEvent);
  1761.         
  1762.         END_INTERFACE
  1763.     } ITQueueEventVtbl;
  1764.     interface ITQueueEvent
  1765.     {
  1766.         CONST_VTBL struct ITQueueEventVtbl *lpVtbl;
  1767.     };
  1768.     
  1769. #ifdef COBJMACROS
  1770. #define ITQueueEvent_QueryInterface(This,riid,ppvObject)
  1771.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1772. #define ITQueueEvent_AddRef(This)
  1773.     (This)->lpVtbl -> AddRef(This)
  1774. #define ITQueueEvent_Release(This)
  1775.     (This)->lpVtbl -> Release(This)
  1776. #define ITQueueEvent_GetTypeInfoCount(This,pctinfo)
  1777.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1778. #define ITQueueEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1779.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1780. #define ITQueueEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1781.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1782. #define ITQueueEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1783.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1784. #define ITQueueEvent_get_Queue(This,ppQueue)
  1785.     (This)->lpVtbl -> get_Queue(This,ppQueue)
  1786. #define ITQueueEvent_get_Event(This,pEvent)
  1787.     (This)->lpVtbl -> get_Event(This,pEvent)
  1788. #endif /* COBJMACROS */
  1789. #endif  /* C style interface */
  1790. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITQueueEvent_get_Queue_Proxy( 
  1791.     ITQueueEvent * This,
  1792.     /* [retval][out] */ ITQueue **ppQueue);
  1793. void __RPC_STUB ITQueueEvent_get_Queue_Stub(
  1794.     IRpcStubBuffer *This,
  1795.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1796.     PRPC_MESSAGE _pRpcMessage,
  1797.     DWORD *_pdwStubPhase);
  1798. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITQueueEvent_get_Event_Proxy( 
  1799.     ITQueueEvent * This,
  1800.     /* [retval][out] */ ACDQUEUE_EVENT *pEvent);
  1801. void __RPC_STUB ITQueueEvent_get_Event_Stub(
  1802.     IRpcStubBuffer *This,
  1803.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1804.     PRPC_MESSAGE _pRpcMessage,
  1805.     DWORD *_pdwStubPhase);
  1806. #endif  /* __ITQueueEvent_INTERFACE_DEFINED__ */
  1807. #ifndef __ITAgentHandlerEvent_INTERFACE_DEFINED__
  1808. #define __ITAgentHandlerEvent_INTERFACE_DEFINED__
  1809. /* interface ITAgentHandlerEvent */
  1810. /* [object][dual][helpstring][uuid] */ 
  1811. EXTERN_C const IID IID_ITAgentHandlerEvent;
  1812. #if defined(__cplusplus) && !defined(CINTERFACE)
  1813.     
  1814.     MIDL_INTERFACE("297F3034-BD11-11d1-A0A7-00805FC147D3")
  1815.     ITAgentHandlerEvent : public IDispatch
  1816.     {
  1817.     public:
  1818.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AgentHandler( 
  1819.             /* [retval][out] */ ITAgentHandler **ppAgentHandler) = 0;
  1820.         
  1821.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Event( 
  1822.             /* [retval][out] */ AGENTHANDLER_EVENT *pEvent) = 0;
  1823.         
  1824.     };
  1825.     
  1826. #else  /* C style interface */
  1827.     typedef struct ITAgentHandlerEventVtbl
  1828.     {
  1829.         BEGIN_INTERFACE
  1830.         
  1831.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1832.             ITAgentHandlerEvent * This,
  1833.             /* [in] */ REFIID riid,
  1834.             /* [iid_is][out] */ void **ppvObject);
  1835.         
  1836.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1837.             ITAgentHandlerEvent * This);
  1838.         
  1839.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1840.             ITAgentHandlerEvent * This);
  1841.         
  1842.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1843.             ITAgentHandlerEvent * This,
  1844.             /* [out] */ UINT *pctinfo);
  1845.         
  1846.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1847.             ITAgentHandlerEvent * This,
  1848.             /* [in] */ UINT iTInfo,
  1849.             /* [in] */ LCID lcid,
  1850.             /* [out] */ ITypeInfo **ppTInfo);
  1851.         
  1852.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1853.             ITAgentHandlerEvent * This,
  1854.             /* [in] */ REFIID riid,
  1855.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1856.             /* [in] */ UINT cNames,
  1857.             /* [in] */ LCID lcid,
  1858.             /* [size_is][out] */ DISPID *rgDispId);
  1859.         
  1860.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1861.             ITAgentHandlerEvent * This,
  1862.             /* [in] */ DISPID dispIdMember,
  1863.             /* [in] */ REFIID riid,
  1864.             /* [in] */ LCID lcid,
  1865.             /* [in] */ WORD wFlags,
  1866.             /* [out][in] */ DISPPARAMS *pDispParams,
  1867.             /* [out] */ VARIANT *pVarResult,
  1868.             /* [out] */ EXCEPINFO *pExcepInfo,
  1869.             /* [out] */ UINT *puArgErr);
  1870.         
  1871.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AgentHandler )( 
  1872.             ITAgentHandlerEvent * This,
  1873.             /* [retval][out] */ ITAgentHandler **ppAgentHandler);
  1874.         
  1875.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Event )( 
  1876.             ITAgentHandlerEvent * This,
  1877.             /* [retval][out] */ AGENTHANDLER_EVENT *pEvent);
  1878.         
  1879.         END_INTERFACE
  1880.     } ITAgentHandlerEventVtbl;
  1881.     interface ITAgentHandlerEvent
  1882.     {
  1883.         CONST_VTBL struct ITAgentHandlerEventVtbl *lpVtbl;
  1884.     };
  1885.     
  1886. #ifdef COBJMACROS
  1887. #define ITAgentHandlerEvent_QueryInterface(This,riid,ppvObject)
  1888.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1889. #define ITAgentHandlerEvent_AddRef(This)
  1890.     (This)->lpVtbl -> AddRef(This)
  1891. #define ITAgentHandlerEvent_Release(This)
  1892.     (This)->lpVtbl -> Release(This)
  1893. #define ITAgentHandlerEvent_GetTypeInfoCount(This,pctinfo)
  1894.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1895. #define ITAgentHandlerEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1896.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1897. #define ITAgentHandlerEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1898.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1899. #define ITAgentHandlerEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1900.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1901. #define ITAgentHandlerEvent_get_AgentHandler(This,ppAgentHandler)
  1902.     (This)->lpVtbl -> get_AgentHandler(This,ppAgentHandler)
  1903. #define ITAgentHandlerEvent_get_Event(This,pEvent)
  1904.     (This)->lpVtbl -> get_Event(This,pEvent)
  1905. #endif /* COBJMACROS */
  1906. #endif  /* C style interface */
  1907. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentHandlerEvent_get_AgentHandler_Proxy( 
  1908.     ITAgentHandlerEvent * This,
  1909.     /* [retval][out] */ ITAgentHandler **ppAgentHandler);
  1910. void __RPC_STUB ITAgentHandlerEvent_get_AgentHandler_Stub(
  1911.     IRpcStubBuffer *This,
  1912.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1913.     PRPC_MESSAGE _pRpcMessage,
  1914.     DWORD *_pdwStubPhase);
  1915. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentHandlerEvent_get_Event_Proxy( 
  1916.     ITAgentHandlerEvent * This,
  1917.     /* [retval][out] */ AGENTHANDLER_EVENT *pEvent);
  1918. void __RPC_STUB ITAgentHandlerEvent_get_Event_Stub(
  1919.     IRpcStubBuffer *This,
  1920.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1921.     PRPC_MESSAGE _pRpcMessage,
  1922.     DWORD *_pdwStubPhase);
  1923. #endif  /* __ITAgentHandlerEvent_INTERFACE_DEFINED__ */
  1924. #ifndef __ITTAPICallCenter_INTERFACE_DEFINED__
  1925. #define __ITTAPICallCenter_INTERFACE_DEFINED__
  1926. /* interface ITTAPICallCenter */
  1927. /* [object][dual][helpstring][uuid] */ 
  1928. EXTERN_C const IID IID_ITTAPICallCenter;
  1929. #if defined(__cplusplus) && !defined(CINTERFACE)
  1930.     
  1931.     MIDL_INTERFACE("5AFC3154-4BCC-11d1-BF80-00805FC147D3")
  1932.     ITTAPICallCenter : public IDispatch
  1933.     {
  1934.     public:
  1935.         virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateAgentHandlers( 
  1936.             /* [retval][out] */ IEnumAgentHandler **ppEnumHandler) = 0;
  1937.         
  1938.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AgentHandlers( 
  1939.             /* [retval][out] */ VARIANT *pVariant) = 0;
  1940.         
  1941.     };
  1942.     
  1943. #else  /* C style interface */
  1944.     typedef struct ITTAPICallCenterVtbl
  1945.     {
  1946.         BEGIN_INTERFACE
  1947.         
  1948.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1949.             ITTAPICallCenter * This,
  1950.             /* [in] */ REFIID riid,
  1951.             /* [iid_is][out] */ void **ppvObject);
  1952.         
  1953.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1954.             ITTAPICallCenter * This);
  1955.         
  1956.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1957.             ITTAPICallCenter * This);
  1958.         
  1959.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1960.             ITTAPICallCenter * This,
  1961.             /* [out] */ UINT *pctinfo);
  1962.         
  1963.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1964.             ITTAPICallCenter * This,
  1965.             /* [in] */ UINT iTInfo,
  1966.             /* [in] */ LCID lcid,
  1967.             /* [out] */ ITypeInfo **ppTInfo);
  1968.         
  1969.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1970.             ITTAPICallCenter * This,
  1971.             /* [in] */ REFIID riid,
  1972.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1973.             /* [in] */ UINT cNames,
  1974.             /* [in] */ LCID lcid,
  1975.             /* [size_is][out] */ DISPID *rgDispId);
  1976.         
  1977.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1978.             ITTAPICallCenter * This,
  1979.             /* [in] */ DISPID dispIdMember,
  1980.             /* [in] */ REFIID riid,
  1981.             /* [in] */ LCID lcid,
  1982.             /* [in] */ WORD wFlags,
  1983.             /* [out][in] */ DISPPARAMS *pDispParams,
  1984.             /* [out] */ VARIANT *pVarResult,
  1985.             /* [out] */ EXCEPINFO *pExcepInfo,
  1986.             /* [out] */ UINT *puArgErr);
  1987.         
  1988.         /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateAgentHandlers )( 
  1989.             ITTAPICallCenter * This,
  1990.             /* [retval][out] */ IEnumAgentHandler **ppEnumHandler);
  1991.         
  1992.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AgentHandlers )( 
  1993.             ITTAPICallCenter * This,
  1994.             /* [retval][out] */ VARIANT *pVariant);
  1995.         
  1996.         END_INTERFACE
  1997.     } ITTAPICallCenterVtbl;
  1998.     interface ITTAPICallCenter
  1999.     {
  2000.         CONST_VTBL struct ITTAPICallCenterVtbl *lpVtbl;
  2001.     };
  2002.     
  2003. #ifdef COBJMACROS
  2004. #define ITTAPICallCenter_QueryInterface(This,riid,ppvObject)
  2005.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2006. #define ITTAPICallCenter_AddRef(This)
  2007.     (This)->lpVtbl -> AddRef(This)
  2008. #define ITTAPICallCenter_Release(This)
  2009.     (This)->lpVtbl -> Release(This)
  2010. #define ITTAPICallCenter_GetTypeInfoCount(This,pctinfo)
  2011.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2012. #define ITTAPICallCenter_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2013.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2014. #define ITTAPICallCenter_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2015.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2016. #define ITTAPICallCenter_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2017.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2018. #define ITTAPICallCenter_EnumerateAgentHandlers(This,ppEnumHandler)
  2019.     (This)->lpVtbl -> EnumerateAgentHandlers(This,ppEnumHandler)
  2020. #define ITTAPICallCenter_get_AgentHandlers(This,pVariant)
  2021.     (This)->lpVtbl -> get_AgentHandlers(This,pVariant)
  2022. #endif /* COBJMACROS */
  2023. #endif  /* C style interface */
  2024. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITTAPICallCenter_EnumerateAgentHandlers_Proxy( 
  2025.     ITTAPICallCenter * This,
  2026.     /* [retval][out] */ IEnumAgentHandler **ppEnumHandler);
  2027. void __RPC_STUB ITTAPICallCenter_EnumerateAgentHandlers_Stub(
  2028.     IRpcStubBuffer *This,
  2029.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2030.     PRPC_MESSAGE _pRpcMessage,
  2031.     DWORD *_pdwStubPhase);
  2032. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTAPICallCenter_get_AgentHandlers_Proxy( 
  2033.     ITTAPICallCenter * This,
  2034.     /* [retval][out] */ VARIANT *pVariant);
  2035. void __RPC_STUB ITTAPICallCenter_get_AgentHandlers_Stub(
  2036.     IRpcStubBuffer *This,
  2037.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2038.     PRPC_MESSAGE _pRpcMessage,
  2039.     DWORD *_pdwStubPhase);
  2040. #endif  /* __ITTAPICallCenter_INTERFACE_DEFINED__ */
  2041. #ifndef __ITAgentHandler_INTERFACE_DEFINED__
  2042. #define __ITAgentHandler_INTERFACE_DEFINED__
  2043. /* interface ITAgentHandler */
  2044. /* [object][dual][helpstring][uuid] */ 
  2045. EXTERN_C const IID IID_ITAgentHandler;
  2046. #if defined(__cplusplus) && !defined(CINTERFACE)
  2047.     
  2048.     MIDL_INTERFACE("587E8C22-9802-11d1-A0A4-00805FC147D3")
  2049.     ITAgentHandler : public IDispatch
  2050.     {
  2051.     public:
  2052.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name( 
  2053.             /* [retval][out] */ BSTR *ppName) = 0;
  2054.         
  2055.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateAgent( 
  2056.             /* [retval][out] */ ITAgent **ppAgent) = 0;
  2057.         
  2058.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateAgentWithID( 
  2059.             /* [in] */ BSTR pID,
  2060.             /* [in] */ BSTR pPIN,
  2061.             /* [retval][out] */ ITAgent **ppAgent) = 0;
  2062.         
  2063.         virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateACDGroups( 
  2064.             /* [retval][out] */ IEnumACDGroup **ppEnumACDGroup) = 0;
  2065.         
  2066.         virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateUsableAddresses( 
  2067.             /* [retval][out] */ IEnumAddress **ppEnumAddress) = 0;
  2068.         
  2069.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ACDGroups( 
  2070.             /* [retval][out] */ VARIANT *pVariant) = 0;
  2071.         
  2072.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_UsableAddresses( 
  2073.             /* [retval][out] */ VARIANT *pVariant) = 0;
  2074.         
  2075.     };
  2076.     
  2077. #else  /* C style interface */
  2078.     typedef struct ITAgentHandlerVtbl
  2079.     {
  2080.         BEGIN_INTERFACE
  2081.         
  2082.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2083.             ITAgentHandler * This,
  2084.             /* [in] */ REFIID riid,
  2085.             /* [iid_is][out] */ void **ppvObject);
  2086.         
  2087.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2088.             ITAgentHandler * This);
  2089.         
  2090.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2091.             ITAgentHandler * This);
  2092.         
  2093.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  2094.             ITAgentHandler * This,
  2095.             /* [out] */ UINT *pctinfo);
  2096.         
  2097.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  2098.             ITAgentHandler * This,
  2099.             /* [in] */ UINT iTInfo,
  2100.             /* [in] */ LCID lcid,
  2101.             /* [out] */ ITypeInfo **ppTInfo);
  2102.         
  2103.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  2104.             ITAgentHandler * This,
  2105.             /* [in] */ REFIID riid,
  2106.             /* [size_is][in] */ LPOLESTR *rgszNames,
  2107.             /* [in] */ UINT cNames,
  2108.             /* [in] */ LCID lcid,
  2109.             /* [size_is][out] */ DISPID *rgDispId);
  2110.         
  2111.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  2112.             ITAgentHandler * This,
  2113.             /* [in] */ DISPID dispIdMember,
  2114.             /* [in] */ REFIID riid,
  2115.             /* [in] */ LCID lcid,
  2116.             /* [in] */ WORD wFlags,
  2117.             /* [out][in] */ DISPPARAMS *pDispParams,
  2118.             /* [out] */ VARIANT *pVarResult,
  2119.             /* [out] */ EXCEPINFO *pExcepInfo,
  2120.             /* [out] */ UINT *puArgErr);
  2121.         
  2122.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( 
  2123.             ITAgentHandler * This,
  2124.             /* [retval][out] */ BSTR *ppName);
  2125.         
  2126.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateAgent )( 
  2127.             ITAgentHandler * This,
  2128.             /* [retval][out] */ ITAgent **ppAgent);
  2129.         
  2130.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateAgentWithID )( 
  2131.             ITAgentHandler * This,
  2132.             /* [in] */ BSTR pID,
  2133.             /* [in] */ BSTR pPIN,
  2134.             /* [retval][out] */ ITAgent **ppAgent);
  2135.         
  2136.         /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateACDGroups )( 
  2137.             ITAgentHandler * This,
  2138.             /* [retval][out] */ IEnumACDGroup **ppEnumACDGroup);
  2139.         
  2140.         /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateUsableAddresses )( 
  2141.             ITAgentHandler * This,
  2142.             /* [retval][out] */ IEnumAddress **ppEnumAddress);
  2143.         
  2144.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ACDGroups )( 
  2145.             ITAgentHandler * This,
  2146.             /* [retval][out] */ VARIANT *pVariant);
  2147.         
  2148.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UsableAddresses )( 
  2149.             ITAgentHandler * This,
  2150.             /* [retval][out] */ VARIANT *pVariant);
  2151.         
  2152.         END_INTERFACE
  2153.     } ITAgentHandlerVtbl;
  2154.     interface ITAgentHandler
  2155.     {
  2156.         CONST_VTBL struct ITAgentHandlerVtbl *lpVtbl;
  2157.     };
  2158.     
  2159. #ifdef COBJMACROS
  2160. #define ITAgentHandler_QueryInterface(This,riid,ppvObject)
  2161.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2162. #define ITAgentHandler_AddRef(This)
  2163.     (This)->lpVtbl -> AddRef(This)
  2164. #define ITAgentHandler_Release(This)
  2165.     (This)->lpVtbl -> Release(This)
  2166. #define ITAgentHandler_GetTypeInfoCount(This,pctinfo)
  2167.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2168. #define ITAgentHandler_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2169.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2170. #define ITAgentHandler_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2171.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2172. #define ITAgentHandler_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2173.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2174. #define ITAgentHandler_get_Name(This,ppName)
  2175.     (This)->lpVtbl -> get_Name(This,ppName)
  2176. #define ITAgentHandler_CreateAgent(This,ppAgent)
  2177.     (This)->lpVtbl -> CreateAgent(This,ppAgent)
  2178. #define ITAgentHandler_CreateAgentWithID(This,pID,pPIN,ppAgent)
  2179.     (This)->lpVtbl -> CreateAgentWithID(This,pID,pPIN,ppAgent)
  2180. #define ITAgentHandler_EnumerateACDGroups(This,ppEnumACDGroup)
  2181.     (This)->lpVtbl -> EnumerateACDGroups(This,ppEnumACDGroup)
  2182. #define ITAgentHandler_EnumerateUsableAddresses(This,ppEnumAddress)
  2183.     (This)->lpVtbl -> EnumerateUsableAddresses(This,ppEnumAddress)
  2184. #define ITAgentHandler_get_ACDGroups(This,pVariant)
  2185.     (This)->lpVtbl -> get_ACDGroups(This,pVariant)
  2186. #define ITAgentHandler_get_UsableAddresses(This,pVariant)
  2187.     (This)->lpVtbl -> get_UsableAddresses(This,pVariant)
  2188. #endif /* COBJMACROS */
  2189. #endif  /* C style interface */
  2190. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentHandler_get_Name_Proxy( 
  2191.     ITAgentHandler * This,
  2192.     /* [retval][out] */ BSTR *ppName);
  2193. void __RPC_STUB ITAgentHandler_get_Name_Stub(
  2194.     IRpcStubBuffer *This,
  2195.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2196.     PRPC_MESSAGE _pRpcMessage,
  2197.     DWORD *_pdwStubPhase);
  2198. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAgentHandler_CreateAgent_Proxy( 
  2199.     ITAgentHandler * This,
  2200.     /* [retval][out] */ ITAgent **ppAgent);
  2201. void __RPC_STUB ITAgentHandler_CreateAgent_Stub(
  2202.     IRpcStubBuffer *This,
  2203.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2204.     PRPC_MESSAGE _pRpcMessage,
  2205.     DWORD *_pdwStubPhase);
  2206. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAgentHandler_CreateAgentWithID_Proxy( 
  2207.     ITAgentHandler * This,
  2208.     /* [in] */ BSTR pID,
  2209.     /* [in] */ BSTR pPIN,
  2210.     /* [retval][out] */ ITAgent **ppAgent);
  2211. void __RPC_STUB ITAgentHandler_CreateAgentWithID_Stub(
  2212.     IRpcStubBuffer *This,
  2213.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2214.     PRPC_MESSAGE _pRpcMessage,
  2215.     DWORD *_pdwStubPhase);
  2216. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITAgentHandler_EnumerateACDGroups_Proxy( 
  2217.     ITAgentHandler * This,
  2218.     /* [retval][out] */ IEnumACDGroup **ppEnumACDGroup);
  2219. void __RPC_STUB ITAgentHandler_EnumerateACDGroups_Stub(
  2220.     IRpcStubBuffer *This,
  2221.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2222.     PRPC_MESSAGE _pRpcMessage,
  2223.     DWORD *_pdwStubPhase);
  2224. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITAgentHandler_EnumerateUsableAddresses_Proxy( 
  2225.     ITAgentHandler * This,
  2226.     /* [retval][out] */ IEnumAddress **ppEnumAddress);
  2227. void __RPC_STUB ITAgentHandler_EnumerateUsableAddresses_Stub(
  2228.     IRpcStubBuffer *This,
  2229.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2230.     PRPC_MESSAGE _pRpcMessage,
  2231.     DWORD *_pdwStubPhase);
  2232. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentHandler_get_ACDGroups_Proxy( 
  2233.     ITAgentHandler * This,
  2234.     /* [retval][out] */ VARIANT *pVariant);
  2235. void __RPC_STUB ITAgentHandler_get_ACDGroups_Stub(
  2236.     IRpcStubBuffer *This,
  2237.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2238.     PRPC_MESSAGE _pRpcMessage,
  2239.     DWORD *_pdwStubPhase);
  2240. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentHandler_get_UsableAddresses_Proxy( 
  2241.     ITAgentHandler * This,
  2242.     /* [retval][out] */ VARIANT *pVariant);
  2243. void __RPC_STUB ITAgentHandler_get_UsableAddresses_Stub(
  2244.     IRpcStubBuffer *This,
  2245.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2246.     PRPC_MESSAGE _pRpcMessage,
  2247.     DWORD *_pdwStubPhase);
  2248. #endif  /* __ITAgentHandler_INTERFACE_DEFINED__ */
  2249. #ifndef __IEnumAgent_INTERFACE_DEFINED__
  2250. #define __IEnumAgent_INTERFACE_DEFINED__
  2251. /* interface IEnumAgent */
  2252. /* [object][unique][hidden][helpstring][uuid] */ 
  2253. EXTERN_C const IID IID_IEnumAgent;
  2254. #if defined(__cplusplus) && !defined(CINTERFACE)
  2255.     
  2256.     MIDL_INTERFACE("5AFC314D-4BCC-11d1-BF80-00805FC147D3")
  2257.     IEnumAgent : public IUnknown
  2258.     {
  2259.     public:
  2260.         virtual HRESULT STDMETHODCALLTYPE Next( 
  2261.             /* [in] */ ULONG celt,
  2262.             /* [out] */ ITAgent **ppElements,
  2263.             /* [out] */ ULONG *pceltFetched) = 0;
  2264.         
  2265.         virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  2266.         
  2267.         virtual HRESULT STDMETHODCALLTYPE Skip( 
  2268.             /* [in] */ ULONG celt) = 0;
  2269.         
  2270.         virtual HRESULT STDMETHODCALLTYPE Clone( 
  2271.             /* [retval][out] */ IEnumAgent **ppEnum) = 0;
  2272.         
  2273.     };
  2274.     
  2275. #else  /* C style interface */
  2276.     typedef struct IEnumAgentVtbl
  2277.     {
  2278.         BEGIN_INTERFACE
  2279.         
  2280.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2281.             IEnumAgent * This,
  2282.             /* [in] */ REFIID riid,
  2283.             /* [iid_is][out] */ void **ppvObject);
  2284.         
  2285.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2286.             IEnumAgent * This);
  2287.         
  2288.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2289.             IEnumAgent * This);
  2290.         
  2291.         HRESULT ( STDMETHODCALLTYPE *Next )( 
  2292.             IEnumAgent * This,
  2293.             /* [in] */ ULONG celt,
  2294.             /* [out] */ ITAgent **ppElements,
  2295.             /* [out] */ ULONG *pceltFetched);
  2296.         
  2297.         HRESULT ( STDMETHODCALLTYPE *Reset )( 
  2298.             IEnumAgent * This);
  2299.         
  2300.         HRESULT ( STDMETHODCALLTYPE *Skip )( 
  2301.             IEnumAgent * This,
  2302.             /* [in] */ ULONG celt);
  2303.         
  2304.         HRESULT ( STDMETHODCALLTYPE *Clone )( 
  2305.             IEnumAgent * This,
  2306.             /* [retval][out] */ IEnumAgent **ppEnum);
  2307.         
  2308.         END_INTERFACE
  2309.     } IEnumAgentVtbl;
  2310.     interface IEnumAgent
  2311.     {
  2312.         CONST_VTBL struct IEnumAgentVtbl *lpVtbl;
  2313.     };
  2314.     
  2315. #ifdef COBJMACROS
  2316. #define IEnumAgent_QueryInterface(This,riid,ppvObject)
  2317.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2318. #define IEnumAgent_AddRef(This)
  2319.     (This)->lpVtbl -> AddRef(This)
  2320. #define IEnumAgent_Release(This)
  2321.     (This)->lpVtbl -> Release(This)
  2322. #define IEnumAgent_Next(This,celt,ppElements,pceltFetched)
  2323.     (This)->lpVtbl -> Next(This,celt,ppElements,pceltFetched)
  2324. #define IEnumAgent_Reset(This)
  2325.     (This)->lpVtbl -> Reset(This)
  2326. #define IEnumAgent_Skip(This,celt)
  2327.     (This)->lpVtbl -> Skip(This,celt)
  2328. #define IEnumAgent_Clone(This,ppEnum)
  2329.     (This)->lpVtbl -> Clone(This,ppEnum)
  2330. #endif /* COBJMACROS */
  2331. #endif  /* C style interface */
  2332. HRESULT STDMETHODCALLTYPE IEnumAgent_Next_Proxy( 
  2333.     IEnumAgent * This,
  2334.     /* [in] */ ULONG celt,
  2335.     /* [out] */ ITAgent **ppElements,
  2336.     /* [out] */ ULONG *pceltFetched);
  2337. void __RPC_STUB IEnumAgent_Next_Stub(
  2338.     IRpcStubBuffer *This,
  2339.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2340.     PRPC_MESSAGE _pRpcMessage,
  2341.     DWORD *_pdwStubPhase);
  2342. HRESULT STDMETHODCALLTYPE IEnumAgent_Reset_Proxy( 
  2343.     IEnumAgent * This);
  2344. void __RPC_STUB IEnumAgent_Reset_Stub(
  2345.     IRpcStubBuffer *This,
  2346.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2347.     PRPC_MESSAGE _pRpcMessage,
  2348.     DWORD *_pdwStubPhase);
  2349. HRESULT STDMETHODCALLTYPE IEnumAgent_Skip_Proxy( 
  2350.     IEnumAgent * This,
  2351.     /* [in] */ ULONG celt);
  2352. void __RPC_STUB IEnumAgent_Skip_Stub(
  2353.     IRpcStubBuffer *This,
  2354.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2355.     PRPC_MESSAGE _pRpcMessage,
  2356.     DWORD *_pdwStubPhase);
  2357. HRESULT STDMETHODCALLTYPE IEnumAgent_Clone_Proxy( 
  2358.     IEnumAgent * This,
  2359.     /* [retval][out] */ IEnumAgent **ppEnum);
  2360. void __RPC_STUB IEnumAgent_Clone_Stub(
  2361.     IRpcStubBuffer *This,
  2362.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2363.     PRPC_MESSAGE _pRpcMessage,
  2364.     DWORD *_pdwStubPhase);
  2365. #endif  /* __IEnumAgent_INTERFACE_DEFINED__ */
  2366. #ifndef __IEnumAgentSession_INTERFACE_DEFINED__
  2367. #define __IEnumAgentSession_INTERFACE_DEFINED__
  2368. /* interface IEnumAgentSession */
  2369. /* [object][unique][hidden][helpstring][uuid] */ 
  2370. EXTERN_C const IID IID_IEnumAgentSession;
  2371. #if defined(__cplusplus) && !defined(CINTERFACE)
  2372.     
  2373.     MIDL_INTERFACE("5AFC314E-4BCC-11d1-BF80-00805FC147D3")
  2374.     IEnumAgentSession : public IUnknown
  2375.     {
  2376.     public:
  2377.         virtual HRESULT STDMETHODCALLTYPE Next( 
  2378.             /* [in] */ ULONG celt,
  2379.             /* [out] */ ITAgentSession **ppElements,
  2380.             /* [out] */ ULONG *pceltFetched) = 0;
  2381.         
  2382.         virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  2383.         
  2384.         virtual HRESULT STDMETHODCALLTYPE Skip( 
  2385.             /* [in] */ ULONG celt) = 0;
  2386.         
  2387.         virtual HRESULT STDMETHODCALLTYPE Clone( 
  2388.             /* [retval][out] */ IEnumAgentSession **ppEnum) = 0;
  2389.         
  2390.     };
  2391.     
  2392. #else  /* C style interface */
  2393.     typedef struct IEnumAgentSessionVtbl
  2394.     {
  2395.         BEGIN_INTERFACE
  2396.         
  2397.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2398.             IEnumAgentSession * This,
  2399.             /* [in] */ REFIID riid,
  2400.             /* [iid_is][out] */ void **ppvObject);
  2401.         
  2402.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2403.             IEnumAgentSession * This);
  2404.         
  2405.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2406.             IEnumAgentSession * This);
  2407.         
  2408.         HRESULT ( STDMETHODCALLTYPE *Next )( 
  2409.             IEnumAgentSession * This,
  2410.             /* [in] */ ULONG celt,
  2411.             /* [out] */ ITAgentSession **ppElements,
  2412.             /* [out] */ ULONG *pceltFetched);
  2413.         
  2414.         HRESULT ( STDMETHODCALLTYPE *Reset )( 
  2415.             IEnumAgentSession * This);
  2416.         
  2417.         HRESULT ( STDMETHODCALLTYPE *Skip )( 
  2418.             IEnumAgentSession * This,
  2419.             /* [in] */ ULONG celt);
  2420.         
  2421.         HRESULT ( STDMETHODCALLTYPE *Clone )( 
  2422.             IEnumAgentSession * This,
  2423.             /* [retval][out] */ IEnumAgentSession **ppEnum);
  2424.         
  2425.         END_INTERFACE
  2426.     } IEnumAgentSessionVtbl;
  2427.     interface IEnumAgentSession
  2428.     {
  2429.         CONST_VTBL struct IEnumAgentSessionVtbl *lpVtbl;
  2430.     };
  2431.     
  2432. #ifdef COBJMACROS
  2433. #define IEnumAgentSession_QueryInterface(This,riid,ppvObject)
  2434.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2435. #define IEnumAgentSession_AddRef(This)
  2436.     (This)->lpVtbl -> AddRef(This)
  2437. #define IEnumAgentSession_Release(This)
  2438.     (This)->lpVtbl -> Release(This)
  2439. #define IEnumAgentSession_Next(This,celt,ppElements,pceltFetched)
  2440.     (This)->lpVtbl -> Next(This,celt,ppElements,pceltFetched)
  2441. #define IEnumAgentSession_Reset(This)
  2442.     (This)->lpVtbl -> Reset(This)
  2443. #define IEnumAgentSession_Skip(This,celt)
  2444.     (This)->lpVtbl -> Skip(This,celt)
  2445. #define IEnumAgentSession_Clone(This,ppEnum)
  2446.     (This)->lpVtbl -> Clone(This,ppEnum)
  2447. #endif /* COBJMACROS */
  2448. #endif  /* C style interface */
  2449. HRESULT STDMETHODCALLTYPE IEnumAgentSession_Next_Proxy( 
  2450.     IEnumAgentSession * This,
  2451.     /* [in] */ ULONG celt,
  2452.     /* [out] */ ITAgentSession **ppElements,
  2453.     /* [out] */ ULONG *pceltFetched);
  2454. void __RPC_STUB IEnumAgentSession_Next_Stub(
  2455.     IRpcStubBuffer *This,
  2456.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2457.     PRPC_MESSAGE _pRpcMessage,
  2458.     DWORD *_pdwStubPhase);
  2459. HRESULT STDMETHODCALLTYPE IEnumAgentSession_Reset_Proxy( 
  2460.     IEnumAgentSession * This);
  2461. void __RPC_STUB IEnumAgentSession_Reset_Stub(
  2462.     IRpcStubBuffer *This,
  2463.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2464.     PRPC_MESSAGE _pRpcMessage,
  2465.     DWORD *_pdwStubPhase);
  2466. HRESULT STDMETHODCALLTYPE IEnumAgentSession_Skip_Proxy( 
  2467.     IEnumAgentSession * This,
  2468.     /* [in] */ ULONG celt);
  2469. void __RPC_STUB IEnumAgentSession_Skip_Stub(
  2470.     IRpcStubBuffer *This,
  2471.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2472.     PRPC_MESSAGE _pRpcMessage,
  2473.     DWORD *_pdwStubPhase);
  2474. HRESULT STDMETHODCALLTYPE IEnumAgentSession_Clone_Proxy( 
  2475.     IEnumAgentSession * This,
  2476.     /* [retval][out] */ IEnumAgentSession **ppEnum);
  2477. void __RPC_STUB IEnumAgentSession_Clone_Stub(
  2478.     IRpcStubBuffer *This,
  2479.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2480.     PRPC_MESSAGE _pRpcMessage,
  2481.     DWORD *_pdwStubPhase);
  2482. #endif  /* __IEnumAgentSession_INTERFACE_DEFINED__ */
  2483. #ifndef __IEnumQueue_INTERFACE_DEFINED__
  2484. #define __IEnumQueue_INTERFACE_DEFINED__
  2485. /* interface IEnumQueue */
  2486. /* [object][unique][hidden][helpstring][uuid] */ 
  2487. EXTERN_C const IID IID_IEnumQueue;
  2488. #if defined(__cplusplus) && !defined(CINTERFACE)
  2489.     
  2490.     MIDL_INTERFACE("5AFC3158-4BCC-11d1-BF80-00805FC147D3")
  2491.     IEnumQueue : public IUnknown
  2492.     {
  2493.     public:
  2494.         virtual HRESULT STDMETHODCALLTYPE Next( 
  2495.             /* [in] */ ULONG celt,
  2496.             /* [out] */ ITQueue **ppElements,
  2497.             /* [out] */ ULONG *pceltFetched) = 0;
  2498.         
  2499.         virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  2500.         
  2501.         virtual HRESULT STDMETHODCALLTYPE Skip( 
  2502.             /* [in] */ ULONG celt) = 0;
  2503.         
  2504.         virtual HRESULT STDMETHODCALLTYPE Clone( 
  2505.             /* [retval][out] */ IEnumQueue **ppEnum) = 0;
  2506.         
  2507.     };
  2508.     
  2509. #else  /* C style interface */
  2510.     typedef struct IEnumQueueVtbl
  2511.     {
  2512.         BEGIN_INTERFACE
  2513.         
  2514.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2515.             IEnumQueue * This,
  2516.             /* [in] */ REFIID riid,
  2517.             /* [iid_is][out] */ void **ppvObject);
  2518.         
  2519.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2520.             IEnumQueue * This);
  2521.         
  2522.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2523.             IEnumQueue * This);
  2524.         
  2525.         HRESULT ( STDMETHODCALLTYPE *Next )( 
  2526.             IEnumQueue * This,
  2527.             /* [in] */ ULONG celt,
  2528.             /* [out] */ ITQueue **ppElements,
  2529.             /* [out] */ ULONG *pceltFetched);
  2530.         
  2531.         HRESULT ( STDMETHODCALLTYPE *Reset )( 
  2532.             IEnumQueue * This);
  2533.         
  2534.         HRESULT ( STDMETHODCALLTYPE *Skip )( 
  2535.             IEnumQueue * This,
  2536.             /* [in] */ ULONG celt);
  2537.         
  2538.         HRESULT ( STDMETHODCALLTYPE *Clone )( 
  2539.             IEnumQueue * This,
  2540.             /* [retval][out] */ IEnumQueue **ppEnum);
  2541.         
  2542.         END_INTERFACE
  2543.     } IEnumQueueVtbl;
  2544.     interface IEnumQueue
  2545.     {
  2546.         CONST_VTBL struct IEnumQueueVtbl *lpVtbl;
  2547.     };
  2548.     
  2549. #ifdef COBJMACROS
  2550. #define IEnumQueue_QueryInterface(This,riid,ppvObject)
  2551.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2552. #define IEnumQueue_AddRef(This)
  2553.     (This)->lpVtbl -> AddRef(This)
  2554. #define IEnumQueue_Release(This)
  2555.     (This)->lpVtbl -> Release(This)
  2556. #define IEnumQueue_Next(This,celt,ppElements,pceltFetched)
  2557.     (This)->lpVtbl -> Next(This,celt,ppElements,pceltFetched)
  2558. #define IEnumQueue_Reset(This)
  2559.     (This)->lpVtbl -> Reset(This)
  2560. #define IEnumQueue_Skip(This,celt)
  2561.     (This)->lpVtbl -> Skip(This,celt)
  2562. #define IEnumQueue_Clone(This,ppEnum)
  2563.     (This)->lpVtbl -> Clone(This,ppEnum)
  2564. #endif /* COBJMACROS */
  2565. #endif  /* C style interface */
  2566. HRESULT STDMETHODCALLTYPE IEnumQueue_Next_Proxy( 
  2567.     IEnumQueue * This,
  2568.     /* [in] */ ULONG celt,
  2569.     /* [out] */ ITQueue **ppElements,
  2570.     /* [out] */ ULONG *pceltFetched);
  2571. void __RPC_STUB IEnumQueue_Next_Stub(
  2572.     IRpcStubBuffer *This,
  2573.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2574.     PRPC_MESSAGE _pRpcMessage,
  2575.     DWORD *_pdwStubPhase);
  2576. HRESULT STDMETHODCALLTYPE IEnumQueue_Reset_Proxy( 
  2577.     IEnumQueue * This);
  2578. void __RPC_STUB IEnumQueue_Reset_Stub(
  2579.     IRpcStubBuffer *This,
  2580.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2581.     PRPC_MESSAGE _pRpcMessage,
  2582.     DWORD *_pdwStubPhase);
  2583. HRESULT STDMETHODCALLTYPE IEnumQueue_Skip_Proxy( 
  2584.     IEnumQueue * This,
  2585.     /* [in] */ ULONG celt);
  2586. void __RPC_STUB IEnumQueue_Skip_Stub(
  2587.     IRpcStubBuffer *This,
  2588.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2589.     PRPC_MESSAGE _pRpcMessage,
  2590.     DWORD *_pdwStubPhase);
  2591. HRESULT STDMETHODCALLTYPE IEnumQueue_Clone_Proxy( 
  2592.     IEnumQueue * This,
  2593.     /* [retval][out] */ IEnumQueue **ppEnum);
  2594. void __RPC_STUB IEnumQueue_Clone_Stub(
  2595.     IRpcStubBuffer *This,
  2596.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2597.     PRPC_MESSAGE _pRpcMessage,
  2598.     DWORD *_pdwStubPhase);
  2599. #endif  /* __IEnumQueue_INTERFACE_DEFINED__ */
  2600. #ifndef __IEnumACDGroup_INTERFACE_DEFINED__
  2601. #define __IEnumACDGroup_INTERFACE_DEFINED__
  2602. /* interface IEnumACDGroup */
  2603. /* [object][unique][hidden][helpstring][uuid] */ 
  2604. EXTERN_C const IID IID_IEnumACDGroup;
  2605. #if defined(__cplusplus) && !defined(CINTERFACE)
  2606.     
  2607.     MIDL_INTERFACE("5AFC3157-4BCC-11d1-BF80-00805FC147D3")
  2608.     IEnumACDGroup : public IUnknown
  2609.     {
  2610.     public:
  2611.         virtual HRESULT STDMETHODCALLTYPE Next( 
  2612.             /* [in] */ ULONG celt,
  2613.             /* [out] */ ITACDGroup **ppElements,
  2614.             /* [out] */ ULONG *pceltFetched) = 0;
  2615.         
  2616.         virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  2617.         
  2618.         virtual HRESULT STDMETHODCALLTYPE Skip( 
  2619.             /* [in] */ ULONG celt) = 0;
  2620.         
  2621.         virtual HRESULT STDMETHODCALLTYPE Clone( 
  2622.             /* [retval][out] */ IEnumACDGroup **ppEnum) = 0;
  2623.         
  2624.     };
  2625.     
  2626. #else  /* C style interface */
  2627.     typedef struct IEnumACDGroupVtbl
  2628.     {
  2629.         BEGIN_INTERFACE
  2630.         
  2631.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2632.             IEnumACDGroup * This,
  2633.             /* [in] */ REFIID riid,
  2634.             /* [iid_is][out] */ void **ppvObject);
  2635.         
  2636.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2637.             IEnumACDGroup * This);
  2638.         
  2639.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2640.             IEnumACDGroup * This);
  2641.         
  2642.         HRESULT ( STDMETHODCALLTYPE *Next )( 
  2643.             IEnumACDGroup * This,
  2644.             /* [in] */ ULONG celt,
  2645.             /* [out] */ ITACDGroup **ppElements,
  2646.             /* [out] */ ULONG *pceltFetched);
  2647.         
  2648.         HRESULT ( STDMETHODCALLTYPE *Reset )( 
  2649.             IEnumACDGroup * This);
  2650.         
  2651.         HRESULT ( STDMETHODCALLTYPE *Skip )( 
  2652.             IEnumACDGroup * This,
  2653.             /* [in] */ ULONG celt);
  2654.         
  2655.         HRESULT ( STDMETHODCALLTYPE *Clone )( 
  2656.             IEnumACDGroup * This,
  2657.             /* [retval][out] */ IEnumACDGroup **ppEnum);
  2658.         
  2659.         END_INTERFACE
  2660.     } IEnumACDGroupVtbl;
  2661.     interface IEnumACDGroup
  2662.     {
  2663.         CONST_VTBL struct IEnumACDGroupVtbl *lpVtbl;
  2664.     };
  2665.     
  2666. #ifdef COBJMACROS
  2667. #define IEnumACDGroup_QueryInterface(This,riid,ppvObject)
  2668.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2669. #define IEnumACDGroup_AddRef(This)
  2670.     (This)->lpVtbl -> AddRef(This)
  2671. #define IEnumACDGroup_Release(This)
  2672.     (This)->lpVtbl -> Release(This)
  2673. #define IEnumACDGroup_Next(This,celt,ppElements,pceltFetched)
  2674.     (This)->lpVtbl -> Next(This,celt,ppElements,pceltFetched)
  2675. #define IEnumACDGroup_Reset(This)
  2676.     (This)->lpVtbl -> Reset(This)
  2677. #define IEnumACDGroup_Skip(This,celt)
  2678.     (This)->lpVtbl -> Skip(This,celt)
  2679. #define IEnumACDGroup_Clone(This,ppEnum)
  2680.     (This)->lpVtbl -> Clone(This,ppEnum)
  2681. #endif /* COBJMACROS */
  2682. #endif  /* C style interface */
  2683. HRESULT STDMETHODCALLTYPE IEnumACDGroup_Next_Proxy( 
  2684.     IEnumACDGroup * This,
  2685.     /* [in] */ ULONG celt,
  2686.     /* [out] */ ITACDGroup **ppElements,
  2687.     /* [out] */ ULONG *pceltFetched);
  2688. void __RPC_STUB IEnumACDGroup_Next_Stub(
  2689.     IRpcStubBuffer *This,
  2690.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2691.     PRPC_MESSAGE _pRpcMessage,
  2692.     DWORD *_pdwStubPhase);
  2693. HRESULT STDMETHODCALLTYPE IEnumACDGroup_Reset_Proxy( 
  2694.     IEnumACDGroup * This);
  2695. void __RPC_STUB IEnumACDGroup_Reset_Stub(
  2696.     IRpcStubBuffer *This,
  2697.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2698.     PRPC_MESSAGE _pRpcMessage,
  2699.     DWORD *_pdwStubPhase);
  2700. HRESULT STDMETHODCALLTYPE IEnumACDGroup_Skip_Proxy( 
  2701.     IEnumACDGroup * This,
  2702.     /* [in] */ ULONG celt);
  2703. void __RPC_STUB IEnumACDGroup_Skip_Stub(
  2704.     IRpcStubBuffer *This,
  2705.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2706.     PRPC_MESSAGE _pRpcMessage,
  2707.     DWORD *_pdwStubPhase);
  2708. HRESULT STDMETHODCALLTYPE IEnumACDGroup_Clone_Proxy( 
  2709.     IEnumACDGroup * This,
  2710.     /* [retval][out] */ IEnumACDGroup **ppEnum);
  2711. void __RPC_STUB IEnumACDGroup_Clone_Stub(
  2712.     IRpcStubBuffer *This,
  2713.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2714.     PRPC_MESSAGE _pRpcMessage,
  2715.     DWORD *_pdwStubPhase);
  2716. #endif  /* __IEnumACDGroup_INTERFACE_DEFINED__ */
  2717. #ifndef __IEnumAgentHandler_INTERFACE_DEFINED__
  2718. #define __IEnumAgentHandler_INTERFACE_DEFINED__
  2719. /* interface IEnumAgentHandler */
  2720. /* [object][unique][hidden][helpstring][uuid] */ 
  2721. EXTERN_C const IID IID_IEnumAgentHandler;
  2722. #if defined(__cplusplus) && !defined(CINTERFACE)
  2723.     
  2724.     MIDL_INTERFACE("587E8C28-9802-11d1-A0A4-00805FC147D3")
  2725.     IEnumAgentHandler : public IUnknown
  2726.     {
  2727.     public:
  2728.         virtual HRESULT STDMETHODCALLTYPE Next( 
  2729.             /* [in] */ ULONG celt,
  2730.             /* [out] */ ITAgentHandler **ppElements,
  2731.             /* [out] */ ULONG *pceltFetched) = 0;
  2732.         
  2733.         virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  2734.         
  2735.         virtual HRESULT STDMETHODCALLTYPE Skip( 
  2736.             /* [in] */ ULONG celt) = 0;
  2737.         
  2738.         virtual HRESULT STDMETHODCALLTYPE Clone( 
  2739.             /* [retval][out] */ IEnumAgentHandler **ppEnum) = 0;
  2740.         
  2741.     };
  2742.     
  2743. #else  /* C style interface */
  2744.     typedef struct IEnumAgentHandlerVtbl
  2745.     {
  2746.         BEGIN_INTERFACE
  2747.         
  2748.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2749.             IEnumAgentHandler * This,
  2750.             /* [in] */ REFIID riid,
  2751.             /* [iid_is][out] */ void **ppvObject);
  2752.         
  2753.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2754.             IEnumAgentHandler * This);
  2755.         
  2756.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2757.             IEnumAgentHandler * This);
  2758.         
  2759.         HRESULT ( STDMETHODCALLTYPE *Next )( 
  2760.             IEnumAgentHandler * This,
  2761.             /* [in] */ ULONG celt,
  2762.             /* [out] */ ITAgentHandler **ppElements,
  2763.             /* [out] */ ULONG *pceltFetched);
  2764.         
  2765.         HRESULT ( STDMETHODCALLTYPE *Reset )( 
  2766.             IEnumAgentHandler * This);
  2767.         
  2768.         HRESULT ( STDMETHODCALLTYPE *Skip )( 
  2769.             IEnumAgentHandler * This,
  2770.             /* [in] */ ULONG celt);
  2771.         
  2772.         HRESULT ( STDMETHODCALLTYPE *Clone )( 
  2773.             IEnumAgentHandler * This,
  2774.             /* [retval][out] */ IEnumAgentHandler **ppEnum);
  2775.         
  2776.         END_INTERFACE
  2777.     } IEnumAgentHandlerVtbl;
  2778.     interface IEnumAgentHandler
  2779.     {
  2780.         CONST_VTBL struct IEnumAgentHandlerVtbl *lpVtbl;
  2781.     };
  2782.     
  2783. #ifdef COBJMACROS
  2784. #define IEnumAgentHandler_QueryInterface(This,riid,ppvObject)
  2785.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2786. #define IEnumAgentHandler_AddRef(This)
  2787.     (This)->lpVtbl -> AddRef(This)
  2788. #define IEnumAgentHandler_Release(This)
  2789.     (This)->lpVtbl -> Release(This)
  2790. #define IEnumAgentHandler_Next(This,celt,ppElements,pceltFetched)
  2791.     (This)->lpVtbl -> Next(This,celt,ppElements,pceltFetched)
  2792. #define IEnumAgentHandler_Reset(This)
  2793.     (This)->lpVtbl -> Reset(This)
  2794. #define IEnumAgentHandler_Skip(This,celt)
  2795.     (This)->lpVtbl -> Skip(This,celt)
  2796. #define IEnumAgentHandler_Clone(This,ppEnum)
  2797.     (This)->lpVtbl -> Clone(This,ppEnum)
  2798. #endif /* COBJMACROS */
  2799. #endif  /* C style interface */
  2800. HRESULT STDMETHODCALLTYPE IEnumAgentHandler_Next_Proxy( 
  2801.     IEnumAgentHandler * This,
  2802.     /* [in] */ ULONG celt,
  2803.     /* [out] */ ITAgentHandler **ppElements,
  2804.     /* [out] */ ULONG *pceltFetched);
  2805. void __RPC_STUB IEnumAgentHandler_Next_Stub(
  2806.     IRpcStubBuffer *This,
  2807.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2808.     PRPC_MESSAGE _pRpcMessage,
  2809.     DWORD *_pdwStubPhase);
  2810. HRESULT STDMETHODCALLTYPE IEnumAgentHandler_Reset_Proxy( 
  2811.     IEnumAgentHandler * This);
  2812. void __RPC_STUB IEnumAgentHandler_Reset_Stub(
  2813.     IRpcStubBuffer *This,
  2814.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2815.     PRPC_MESSAGE _pRpcMessage,
  2816.     DWORD *_pdwStubPhase);
  2817. HRESULT STDMETHODCALLTYPE IEnumAgentHandler_Skip_Proxy( 
  2818.     IEnumAgentHandler * This,
  2819.     /* [in] */ ULONG celt);
  2820. void __RPC_STUB IEnumAgentHandler_Skip_Stub(
  2821.     IRpcStubBuffer *This,
  2822.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2823.     PRPC_MESSAGE _pRpcMessage,
  2824.     DWORD *_pdwStubPhase);
  2825. HRESULT STDMETHODCALLTYPE IEnumAgentHandler_Clone_Proxy( 
  2826.     IEnumAgentHandler * This,
  2827.     /* [retval][out] */ IEnumAgentHandler **ppEnum);
  2828. void __RPC_STUB IEnumAgentHandler_Clone_Stub(
  2829.     IRpcStubBuffer *This,
  2830.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2831.     PRPC_MESSAGE _pRpcMessage,
  2832.     DWORD *_pdwStubPhase);
  2833. #endif  /* __IEnumAgentHandler_INTERFACE_DEFINED__ */
  2834. /* Additional Prototypes for ALL interfaces */
  2835. unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long *, unsigned long            , BSTR * ); 
  2836. unsigned char * __RPC_USER  BSTR_UserMarshal(  unsigned long *, unsigned char *, BSTR * ); 
  2837. unsigned char * __RPC_USER  BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * ); 
  2838. void                      __RPC_USER  BSTR_UserFree(     unsigned long *, BSTR * ); 
  2839. unsigned long             __RPC_USER  VARIANT_UserSize(     unsigned long *, unsigned long            , VARIANT * ); 
  2840. unsigned char * __RPC_USER  VARIANT_UserMarshal(  unsigned long *, unsigned char *, VARIANT * ); 
  2841. unsigned char * __RPC_USER  VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * ); 
  2842. void                      __RPC_USER  VARIANT_UserFree(     unsigned long *, VARIANT * ); 
  2843. /* end of Additional Prototypes */
  2844. #ifdef __cplusplus
  2845. }
  2846. #endif
  2847. #endif