Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5052 lines
154 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for tapi3.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  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 __tapi3_h__
  27. #define __tapi3_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. #ifndef __ITAMMediaFormat_FWD_DEFINED__
  97. #define __ITAMMediaFormat_FWD_DEFINED__
  98. typedef interface ITAMMediaFormat ITAMMediaFormat;
  99. #endif /* __ITAMMediaFormat_FWD_DEFINED__ */
  100. #ifndef __ITAllocatorProperties_FWD_DEFINED__
  101. #define __ITAllocatorProperties_FWD_DEFINED__
  102. typedef interface ITAllocatorProperties ITAllocatorProperties;
  103. #endif /* __ITAllocatorProperties_FWD_DEFINED__ */
  104. #ifndef __ITPluggableTerminalEventSink_FWD_DEFINED__
  105. #define __ITPluggableTerminalEventSink_FWD_DEFINED__
  106. typedef interface ITPluggableTerminalEventSink ITPluggableTerminalEventSink;
  107. #endif /* __ITPluggableTerminalEventSink_FWD_DEFINED__ */
  108. #ifndef __ITPluggableTerminalEventSinkRegistration_FWD_DEFINED__
  109. #define __ITPluggableTerminalEventSinkRegistration_FWD_DEFINED__
  110. typedef interface ITPluggableTerminalEventSinkRegistration ITPluggableTerminalEventSinkRegistration;
  111. #endif /* __ITPluggableTerminalEventSinkRegistration_FWD_DEFINED__ */
  112. #ifndef __ITMSPAddress_FWD_DEFINED__
  113. #define __ITMSPAddress_FWD_DEFINED__
  114. typedef interface ITMSPAddress ITMSPAddress;
  115. #endif /* __ITMSPAddress_FWD_DEFINED__ */
  116. #ifndef __ITAgent_FWD_DEFINED__
  117. #define __ITAgent_FWD_DEFINED__
  118. typedef interface ITAgent ITAgent;
  119. #endif /* __ITAgent_FWD_DEFINED__ */
  120. #ifndef __ITAgentEvent_FWD_DEFINED__
  121. #define __ITAgentEvent_FWD_DEFINED__
  122. typedef interface ITAgentEvent ITAgentEvent;
  123. #endif /* __ITAgentEvent_FWD_DEFINED__ */
  124. #ifndef __ITAgentSession_FWD_DEFINED__
  125. #define __ITAgentSession_FWD_DEFINED__
  126. typedef interface ITAgentSession ITAgentSession;
  127. #endif /* __ITAgentSession_FWD_DEFINED__ */
  128. #ifndef __ITAgentSessionEvent_FWD_DEFINED__
  129. #define __ITAgentSessionEvent_FWD_DEFINED__
  130. typedef interface ITAgentSessionEvent ITAgentSessionEvent;
  131. #endif /* __ITAgentSessionEvent_FWD_DEFINED__ */
  132. #ifndef __ITACDGroup_FWD_DEFINED__
  133. #define __ITACDGroup_FWD_DEFINED__
  134. typedef interface ITACDGroup ITACDGroup;
  135. #endif /* __ITACDGroup_FWD_DEFINED__ */
  136. #ifndef __ITACDGroupEvent_FWD_DEFINED__
  137. #define __ITACDGroupEvent_FWD_DEFINED__
  138. typedef interface ITACDGroupEvent ITACDGroupEvent;
  139. #endif /* __ITACDGroupEvent_FWD_DEFINED__ */
  140. #ifndef __ITQueue_FWD_DEFINED__
  141. #define __ITQueue_FWD_DEFINED__
  142. typedef interface ITQueue ITQueue;
  143. #endif /* __ITQueue_FWD_DEFINED__ */
  144. #ifndef __ITQueueEvent_FWD_DEFINED__
  145. #define __ITQueueEvent_FWD_DEFINED__
  146. typedef interface ITQueueEvent ITQueueEvent;
  147. #endif /* __ITQueueEvent_FWD_DEFINED__ */
  148. #ifndef __ITTAPICallCenter_FWD_DEFINED__
  149. #define __ITTAPICallCenter_FWD_DEFINED__
  150. typedef interface ITTAPICallCenter ITTAPICallCenter;
  151. #endif /* __ITTAPICallCenter_FWD_DEFINED__ */
  152. #ifndef __ITAgentHandler_FWD_DEFINED__
  153. #define __ITAgentHandler_FWD_DEFINED__
  154. typedef interface ITAgentHandler ITAgentHandler;
  155. #endif /* __ITAgentHandler_FWD_DEFINED__ */
  156. #ifndef __ITAgentHandlerEvent_FWD_DEFINED__
  157. #define __ITAgentHandlerEvent_FWD_DEFINED__
  158. typedef interface ITAgentHandlerEvent ITAgentHandlerEvent;
  159. #endif /* __ITAgentHandlerEvent_FWD_DEFINED__ */
  160. #ifndef __ITTAPIDispatchEventNotification_FWD_DEFINED__
  161. #define __ITTAPIDispatchEventNotification_FWD_DEFINED__
  162. typedef interface ITTAPIDispatchEventNotification ITTAPIDispatchEventNotification;
  163. #endif /* __ITTAPIDispatchEventNotification_FWD_DEFINED__ */
  164. #ifndef __TAPI_FWD_DEFINED__
  165. #define __TAPI_FWD_DEFINED__
  166. #ifdef __cplusplus
  167. typedef class TAPI TAPI;
  168. #else
  169. typedef struct TAPI TAPI;
  170. #endif /* __cplusplus */
  171. #endif /* __TAPI_FWD_DEFINED__ */
  172. #ifndef __DispatchMapper_FWD_DEFINED__
  173. #define __DispatchMapper_FWD_DEFINED__
  174. #ifdef __cplusplus
  175. typedef class DispatchMapper DispatchMapper;
  176. #else
  177. typedef struct DispatchMapper DispatchMapper;
  178. #endif /* __cplusplus */
  179. #endif /* __DispatchMapper_FWD_DEFINED__ */
  180. #ifndef __RequestMakeCall_FWD_DEFINED__
  181. #define __RequestMakeCall_FWD_DEFINED__
  182. #ifdef __cplusplus
  183. typedef class RequestMakeCall RequestMakeCall;
  184. #else
  185. typedef struct RequestMakeCall RequestMakeCall;
  186. #endif /* __cplusplus */
  187. #endif /* __RequestMakeCall_FWD_DEFINED__ */
  188. #ifndef __ITTAPIDispatchEventNotification_FWD_DEFINED__
  189. #define __ITTAPIDispatchEventNotification_FWD_DEFINED__
  190. typedef interface ITTAPIDispatchEventNotification ITTAPIDispatchEventNotification;
  191. #endif /* __ITTAPIDispatchEventNotification_FWD_DEFINED__ */
  192. /* header files for imported files */
  193. #include "oaidl.h"
  194. #include "ocidl.h"
  195. #include "tapi3if.h"
  196. #ifdef __cplusplus
  197. extern "C"{
  198. #endif
  199. void * __RPC_USER MIDL_user_allocate(size_t);
  200. void __RPC_USER MIDL_user_free( void * );
  201. /* interface __MIDL_itf_tapi3_0000 */
  202. /* [local] */
  203. /* Copyright (c) Microsoft Corporation. All rights reserved. */
  204. /* Copyright (c) Microsoft Corporation. All rights reserved. */
  205. typedef
  206. enum AGENT_EVENT
  207. { AE_NOT_READY = 0,
  208. AE_READY = AE_NOT_READY + 1,
  209. AE_BUSY_ACD = AE_READY + 1,
  210. AE_BUSY_INCOMING = AE_BUSY_ACD + 1,
  211. AE_BUSY_OUTGOING = AE_BUSY_INCOMING + 1,
  212. AE_UNKNOWN = AE_BUSY_OUTGOING + 1
  213. } AGENT_EVENT;
  214. typedef
  215. enum AGENT_STATE
  216. { AS_NOT_READY = 0,
  217. AS_READY = AS_NOT_READY + 1,
  218. AS_BUSY_ACD = AS_READY + 1,
  219. AS_BUSY_INCOMING = AS_BUSY_ACD + 1,
  220. AS_BUSY_OUTGOING = AS_BUSY_INCOMING + 1,
  221. AS_UNKNOWN = AS_BUSY_OUTGOING + 1
  222. } AGENT_STATE;
  223. typedef
  224. enum AGENT_SESSION_EVENT
  225. { ASE_NEW_SESSION = 0,
  226. ASE_NOT_READY = ASE_NEW_SESSION + 1,
  227. ASE_READY = ASE_NOT_READY + 1,
  228. ASE_BUSY = ASE_READY + 1,
  229. ASE_WRAPUP = ASE_BUSY + 1,
  230. ASE_END = ASE_WRAPUP + 1
  231. } AGENT_SESSION_EVENT;
  232. typedef
  233. enum AGENT_SESSION_STATE
  234. { ASST_NOT_READY = 0,
  235. ASST_READY = ASST_NOT_READY + 1,
  236. ASST_BUSY_ON_CALL = ASST_READY + 1,
  237. ASST_BUSY_WRAPUP = ASST_BUSY_ON_CALL + 1,
  238. ASST_SESSION_ENDED = ASST_BUSY_WRAPUP + 1
  239. } AGENT_SESSION_STATE;
  240. typedef
  241. enum AGENTHANDLER_EVENT
  242. { AHE_NEW_AGENTHANDLER = 0,
  243. AHE_AGENTHANDLER_REMOVED = AHE_NEW_AGENTHANDLER + 1
  244. } AGENTHANDLER_EVENT;
  245. typedef
  246. enum ACDGROUP_EVENT
  247. { ACDGE_NEW_GROUP = 0,
  248. ACDGE_GROUP_REMOVED = ACDGE_NEW_GROUP + 1
  249. } ACDGROUP_EVENT;
  250. typedef
  251. enum ACDQUEUE_EVENT
  252. { ACDQE_NEW_QUEUE = 0,
  253. ACDQE_QUEUE_REMOVED = ACDQE_NEW_QUEUE + 1
  254. } ACDQUEUE_EVENT;
  255. extern RPC_IF_HANDLE __MIDL_itf_tapi3_0000_v0_0_c_ifspec;
  256. extern RPC_IF_HANDLE __MIDL_itf_tapi3_0000_v0_0_s_ifspec;
  257. #ifndef __ITAgent_INTERFACE_DEFINED__
  258. #define __ITAgent_INTERFACE_DEFINED__
  259. /* interface ITAgent */
  260. /* [object][dual][helpstring][uuid] */
  261. EXTERN_C const IID IID_ITAgent;
  262. #if defined(__cplusplus) && !defined(CINTERFACE)
  263. MIDL_INTERFACE("5770ECE5-4B27-11d1-BF80-00805FC147D3")
  264. ITAgent : public IDispatch
  265. {
  266. public:
  267. virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateAgentSessions(
  268. /* [retval][out] */ IEnumAgentSession **ppEnumAgentSession) = 0;
  269. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateSession(
  270. /* [in] */ ITACDGroup *pACDGroup,
  271. /* [in] */ ITAddress *pAddress,
  272. /* [retval][out] */ ITAgentSession **ppAgentSession) = 0;
  273. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateSessionWithPIN(
  274. /* [in] */ ITACDGroup *pACDGroup,
  275. /* [in] */ ITAddress *pAddress,
  276. /* [in] */ BSTR pPIN,
  277. /* [retval][out] */ ITAgentSession **ppAgentSession) = 0;
  278. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ID(
  279. /* [retval][out] */ BSTR *ppID) = 0;
  280. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_User(
  281. /* [retval][out] */ BSTR *ppUser) = 0;
  282. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_State(
  283. /* [in] */ AGENT_STATE AgentState) = 0;
  284. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_State(
  285. /* [retval][out] */ AGENT_STATE *pAgentState) = 0;
  286. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_MeasurementPeriod(
  287. /* [in] */ long lPeriod) = 0;
  288. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MeasurementPeriod(
  289. /* [retval][out] */ long *plPeriod) = 0;
  290. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OverallCallRate(
  291. /* [retval][out] */ CURRENCY *pcyCallrate) = 0;
  292. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NumberOfACDCalls(
  293. /* [retval][out] */ long *plCalls) = 0;
  294. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NumberOfIncomingCalls(
  295. /* [retval][out] */ long *plCalls) = 0;
  296. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NumberOfOutgoingCalls(
  297. /* [retval][out] */ long *plCalls) = 0;
  298. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TotalACDTalkTime(
  299. /* [retval][out] */ long *plTalkTime) = 0;
  300. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TotalACDCallTime(
  301. /* [retval][out] */ long *plCallTime) = 0;
  302. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TotalWrapUpTime(
  303. /* [retval][out] */ long *plWrapUpTime) = 0;
  304. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AgentSessions(
  305. /* [retval][out] */ VARIANT *pVariant) = 0;
  306. };
  307. #else /* C style interface */
  308. typedef struct ITAgentVtbl
  309. {
  310. BEGIN_INTERFACE
  311. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  312. ITAgent * This,
  313. /* [in] */ REFIID riid,
  314. /* [iid_is][out] */ void **ppvObject);
  315. ULONG ( STDMETHODCALLTYPE *AddRef )(
  316. ITAgent * This);
  317. ULONG ( STDMETHODCALLTYPE *Release )(
  318. ITAgent * This);
  319. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  320. ITAgent * This,
  321. /* [out] */ UINT *pctinfo);
  322. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  323. ITAgent * This,
  324. /* [in] */ UINT iTInfo,
  325. /* [in] */ LCID lcid,
  326. /* [out] */ ITypeInfo **ppTInfo);
  327. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  328. ITAgent * This,
  329. /* [in] */ REFIID riid,
  330. /* [size_is][in] */ LPOLESTR *rgszNames,
  331. /* [in] */ UINT cNames,
  332. /* [in] */ LCID lcid,
  333. /* [size_is][out] */ DISPID *rgDispId);
  334. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  335. ITAgent * This,
  336. /* [in] */ DISPID dispIdMember,
  337. /* [in] */ REFIID riid,
  338. /* [in] */ LCID lcid,
  339. /* [in] */ WORD wFlags,
  340. /* [out][in] */ DISPPARAMS *pDispParams,
  341. /* [out] */ VARIANT *pVarResult,
  342. /* [out] */ EXCEPINFO *pExcepInfo,
  343. /* [out] */ UINT *puArgErr);
  344. /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateAgentSessions )(
  345. ITAgent * This,
  346. /* [retval][out] */ IEnumAgentSession **ppEnumAgentSession);
  347. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateSession )(
  348. ITAgent * This,
  349. /* [in] */ ITACDGroup *pACDGroup,
  350. /* [in] */ ITAddress *pAddress,
  351. /* [retval][out] */ ITAgentSession **ppAgentSession);
  352. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateSessionWithPIN )(
  353. ITAgent * This,
  354. /* [in] */ ITACDGroup *pACDGroup,
  355. /* [in] */ ITAddress *pAddress,
  356. /* [in] */ BSTR pPIN,
  357. /* [retval][out] */ ITAgentSession **ppAgentSession);
  358. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ID )(
  359. ITAgent * This,
  360. /* [retval][out] */ BSTR *ppID);
  361. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_User )(
  362. ITAgent * This,
  363. /* [retval][out] */ BSTR *ppUser);
  364. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_State )(
  365. ITAgent * This,
  366. /* [in] */ AGENT_STATE AgentState);
  367. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_State )(
  368. ITAgent * This,
  369. /* [retval][out] */ AGENT_STATE *pAgentState);
  370. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MeasurementPeriod )(
  371. ITAgent * This,
  372. /* [in] */ long lPeriod);
  373. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MeasurementPeriod )(
  374. ITAgent * This,
  375. /* [retval][out] */ long *plPeriod);
  376. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OverallCallRate )(
  377. ITAgent * This,
  378. /* [retval][out] */ CURRENCY *pcyCallrate);
  379. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NumberOfACDCalls )(
  380. ITAgent * This,
  381. /* [retval][out] */ long *plCalls);
  382. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NumberOfIncomingCalls )(
  383. ITAgent * This,
  384. /* [retval][out] */ long *plCalls);
  385. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NumberOfOutgoingCalls )(
  386. ITAgent * This,
  387. /* [retval][out] */ long *plCalls);
  388. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TotalACDTalkTime )(
  389. ITAgent * This,
  390. /* [retval][out] */ long *plTalkTime);
  391. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TotalACDCallTime )(
  392. ITAgent * This,
  393. /* [retval][out] */ long *plCallTime);
  394. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TotalWrapUpTime )(
  395. ITAgent * This,
  396. /* [retval][out] */ long *plWrapUpTime);
  397. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AgentSessions )(
  398. ITAgent * This,
  399. /* [retval][out] */ VARIANT *pVariant);
  400. END_INTERFACE
  401. } ITAgentVtbl;
  402. interface ITAgent
  403. {
  404. CONST_VTBL struct ITAgentVtbl *lpVtbl;
  405. };
  406. #ifdef COBJMACROS
  407. #define ITAgent_QueryInterface(This,riid,ppvObject) \
  408. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  409. #define ITAgent_AddRef(This) \
  410. (This)->lpVtbl -> AddRef(This)
  411. #define ITAgent_Release(This) \
  412. (This)->lpVtbl -> Release(This)
  413. #define ITAgent_GetTypeInfoCount(This,pctinfo) \
  414. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  415. #define ITAgent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  416. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  417. #define ITAgent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  418. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  419. #define ITAgent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  420. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  421. #define ITAgent_EnumerateAgentSessions(This,ppEnumAgentSession) \
  422. (This)->lpVtbl -> EnumerateAgentSessions(This,ppEnumAgentSession)
  423. #define ITAgent_CreateSession(This,pACDGroup,pAddress,ppAgentSession) \
  424. (This)->lpVtbl -> CreateSession(This,pACDGroup,pAddress,ppAgentSession)
  425. #define ITAgent_CreateSessionWithPIN(This,pACDGroup,pAddress,pPIN,ppAgentSession) \
  426. (This)->lpVtbl -> CreateSessionWithPIN(This,pACDGroup,pAddress,pPIN,ppAgentSession)
  427. #define ITAgent_get_ID(This,ppID) \
  428. (This)->lpVtbl -> get_ID(This,ppID)
  429. #define ITAgent_get_User(This,ppUser) \
  430. (This)->lpVtbl -> get_User(This,ppUser)
  431. #define ITAgent_put_State(This,AgentState) \
  432. (This)->lpVtbl -> put_State(This,AgentState)
  433. #define ITAgent_get_State(This,pAgentState) \
  434. (This)->lpVtbl -> get_State(This,pAgentState)
  435. #define ITAgent_put_MeasurementPeriod(This,lPeriod) \
  436. (This)->lpVtbl -> put_MeasurementPeriod(This,lPeriod)
  437. #define ITAgent_get_MeasurementPeriod(This,plPeriod) \
  438. (This)->lpVtbl -> get_MeasurementPeriod(This,plPeriod)
  439. #define ITAgent_get_OverallCallRate(This,pcyCallrate) \
  440. (This)->lpVtbl -> get_OverallCallRate(This,pcyCallrate)
  441. #define ITAgent_get_NumberOfACDCalls(This,plCalls) \
  442. (This)->lpVtbl -> get_NumberOfACDCalls(This,plCalls)
  443. #define ITAgent_get_NumberOfIncomingCalls(This,plCalls) \
  444. (This)->lpVtbl -> get_NumberOfIncomingCalls(This,plCalls)
  445. #define ITAgent_get_NumberOfOutgoingCalls(This,plCalls) \
  446. (This)->lpVtbl -> get_NumberOfOutgoingCalls(This,plCalls)
  447. #define ITAgent_get_TotalACDTalkTime(This,plTalkTime) \
  448. (This)->lpVtbl -> get_TotalACDTalkTime(This,plTalkTime)
  449. #define ITAgent_get_TotalACDCallTime(This,plCallTime) \
  450. (This)->lpVtbl -> get_TotalACDCallTime(This,plCallTime)
  451. #define ITAgent_get_TotalWrapUpTime(This,plWrapUpTime) \
  452. (This)->lpVtbl -> get_TotalWrapUpTime(This,plWrapUpTime)
  453. #define ITAgent_get_AgentSessions(This,pVariant) \
  454. (This)->lpVtbl -> get_AgentSessions(This,pVariant)
  455. #endif /* COBJMACROS */
  456. #endif /* C style interface */
  457. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITAgent_EnumerateAgentSessions_Proxy(
  458. ITAgent * This,
  459. /* [retval][out] */ IEnumAgentSession **ppEnumAgentSession);
  460. void __RPC_STUB ITAgent_EnumerateAgentSessions_Stub(
  461. IRpcStubBuffer *This,
  462. IRpcChannelBuffer *_pRpcChannelBuffer,
  463. PRPC_MESSAGE _pRpcMessage,
  464. DWORD *_pdwStubPhase);
  465. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAgent_CreateSession_Proxy(
  466. ITAgent * This,
  467. /* [in] */ ITACDGroup *pACDGroup,
  468. /* [in] */ ITAddress *pAddress,
  469. /* [retval][out] */ ITAgentSession **ppAgentSession);
  470. void __RPC_STUB ITAgent_CreateSession_Stub(
  471. IRpcStubBuffer *This,
  472. IRpcChannelBuffer *_pRpcChannelBuffer,
  473. PRPC_MESSAGE _pRpcMessage,
  474. DWORD *_pdwStubPhase);
  475. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAgent_CreateSessionWithPIN_Proxy(
  476. ITAgent * This,
  477. /* [in] */ ITACDGroup *pACDGroup,
  478. /* [in] */ ITAddress *pAddress,
  479. /* [in] */ BSTR pPIN,
  480. /* [retval][out] */ ITAgentSession **ppAgentSession);
  481. void __RPC_STUB ITAgent_CreateSessionWithPIN_Stub(
  482. IRpcStubBuffer *This,
  483. IRpcChannelBuffer *_pRpcChannelBuffer,
  484. PRPC_MESSAGE _pRpcMessage,
  485. DWORD *_pdwStubPhase);
  486. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgent_get_ID_Proxy(
  487. ITAgent * This,
  488. /* [retval][out] */ BSTR *ppID);
  489. void __RPC_STUB ITAgent_get_ID_Stub(
  490. IRpcStubBuffer *This,
  491. IRpcChannelBuffer *_pRpcChannelBuffer,
  492. PRPC_MESSAGE _pRpcMessage,
  493. DWORD *_pdwStubPhase);
  494. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgent_get_User_Proxy(
  495. ITAgent * This,
  496. /* [retval][out] */ BSTR *ppUser);
  497. void __RPC_STUB ITAgent_get_User_Stub(
  498. IRpcStubBuffer *This,
  499. IRpcChannelBuffer *_pRpcChannelBuffer,
  500. PRPC_MESSAGE _pRpcMessage,
  501. DWORD *_pdwStubPhase);
  502. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITAgent_put_State_Proxy(
  503. ITAgent * This,
  504. /* [in] */ AGENT_STATE AgentState);
  505. void __RPC_STUB ITAgent_put_State_Stub(
  506. IRpcStubBuffer *This,
  507. IRpcChannelBuffer *_pRpcChannelBuffer,
  508. PRPC_MESSAGE _pRpcMessage,
  509. DWORD *_pdwStubPhase);
  510. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgent_get_State_Proxy(
  511. ITAgent * This,
  512. /* [retval][out] */ AGENT_STATE *pAgentState);
  513. void __RPC_STUB ITAgent_get_State_Stub(
  514. IRpcStubBuffer *This,
  515. IRpcChannelBuffer *_pRpcChannelBuffer,
  516. PRPC_MESSAGE _pRpcMessage,
  517. DWORD *_pdwStubPhase);
  518. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITAgent_put_MeasurementPeriod_Proxy(
  519. ITAgent * This,
  520. /* [in] */ long lPeriod);
  521. void __RPC_STUB ITAgent_put_MeasurementPeriod_Stub(
  522. IRpcStubBuffer *This,
  523. IRpcChannelBuffer *_pRpcChannelBuffer,
  524. PRPC_MESSAGE _pRpcMessage,
  525. DWORD *_pdwStubPhase);
  526. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgent_get_MeasurementPeriod_Proxy(
  527. ITAgent * This,
  528. /* [retval][out] */ long *plPeriod);
  529. void __RPC_STUB ITAgent_get_MeasurementPeriod_Stub(
  530. IRpcStubBuffer *This,
  531. IRpcChannelBuffer *_pRpcChannelBuffer,
  532. PRPC_MESSAGE _pRpcMessage,
  533. DWORD *_pdwStubPhase);
  534. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgent_get_OverallCallRate_Proxy(
  535. ITAgent * This,
  536. /* [retval][out] */ CURRENCY *pcyCallrate);
  537. void __RPC_STUB ITAgent_get_OverallCallRate_Stub(
  538. IRpcStubBuffer *This,
  539. IRpcChannelBuffer *_pRpcChannelBuffer,
  540. PRPC_MESSAGE _pRpcMessage,
  541. DWORD *_pdwStubPhase);
  542. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgent_get_NumberOfACDCalls_Proxy(
  543. ITAgent * This,
  544. /* [retval][out] */ long *plCalls);
  545. void __RPC_STUB ITAgent_get_NumberOfACDCalls_Stub(
  546. IRpcStubBuffer *This,
  547. IRpcChannelBuffer *_pRpcChannelBuffer,
  548. PRPC_MESSAGE _pRpcMessage,
  549. DWORD *_pdwStubPhase);
  550. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgent_get_NumberOfIncomingCalls_Proxy(
  551. ITAgent * This,
  552. /* [retval][out] */ long *plCalls);
  553. void __RPC_STUB ITAgent_get_NumberOfIncomingCalls_Stub(
  554. IRpcStubBuffer *This,
  555. IRpcChannelBuffer *_pRpcChannelBuffer,
  556. PRPC_MESSAGE _pRpcMessage,
  557. DWORD *_pdwStubPhase);
  558. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgent_get_NumberOfOutgoingCalls_Proxy(
  559. ITAgent * This,
  560. /* [retval][out] */ long *plCalls);
  561. void __RPC_STUB ITAgent_get_NumberOfOutgoingCalls_Stub(
  562. IRpcStubBuffer *This,
  563. IRpcChannelBuffer *_pRpcChannelBuffer,
  564. PRPC_MESSAGE _pRpcMessage,
  565. DWORD *_pdwStubPhase);
  566. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgent_get_TotalACDTalkTime_Proxy(
  567. ITAgent * This,
  568. /* [retval][out] */ long *plTalkTime);
  569. void __RPC_STUB ITAgent_get_TotalACDTalkTime_Stub(
  570. IRpcStubBuffer *This,
  571. IRpcChannelBuffer *_pRpcChannelBuffer,
  572. PRPC_MESSAGE _pRpcMessage,
  573. DWORD *_pdwStubPhase);
  574. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgent_get_TotalACDCallTime_Proxy(
  575. ITAgent * This,
  576. /* [retval][out] */ long *plCallTime);
  577. void __RPC_STUB ITAgent_get_TotalACDCallTime_Stub(
  578. IRpcStubBuffer *This,
  579. IRpcChannelBuffer *_pRpcChannelBuffer,
  580. PRPC_MESSAGE _pRpcMessage,
  581. DWORD *_pdwStubPhase);
  582. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgent_get_TotalWrapUpTime_Proxy(
  583. ITAgent * This,
  584. /* [retval][out] */ long *plWrapUpTime);
  585. void __RPC_STUB ITAgent_get_TotalWrapUpTime_Stub(
  586. IRpcStubBuffer *This,
  587. IRpcChannelBuffer *_pRpcChannelBuffer,
  588. PRPC_MESSAGE _pRpcMessage,
  589. DWORD *_pdwStubPhase);
  590. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgent_get_AgentSessions_Proxy(
  591. ITAgent * This,
  592. /* [retval][out] */ VARIANT *pVariant);
  593. void __RPC_STUB ITAgent_get_AgentSessions_Stub(
  594. IRpcStubBuffer *This,
  595. IRpcChannelBuffer *_pRpcChannelBuffer,
  596. PRPC_MESSAGE _pRpcMessage,
  597. DWORD *_pdwStubPhase);
  598. #endif /* __ITAgent_INTERFACE_DEFINED__ */
  599. #ifndef __ITAgentSession_INTERFACE_DEFINED__
  600. #define __ITAgentSession_INTERFACE_DEFINED__
  601. /* interface ITAgentSession */
  602. /* [object][dual][helpstring][uuid] */
  603. EXTERN_C const IID IID_ITAgentSession;
  604. #if defined(__cplusplus) && !defined(CINTERFACE)
  605. MIDL_INTERFACE("5AFC3147-4BCC-11d1-BF80-00805FC147D3")
  606. ITAgentSession : public IDispatch
  607. {
  608. public:
  609. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Agent(
  610. /* [retval][out] */ ITAgent **ppAgent) = 0;
  611. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Address(
  612. /* [retval][out] */ ITAddress **ppAddress) = 0;
  613. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ACDGroup(
  614. /* [retval][out] */ ITACDGroup **ppACDGroup) = 0;
  615. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_State(
  616. /* [in] */ AGENT_SESSION_STATE SessionState) = 0;
  617. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_State(
  618. /* [retval][out] */ AGENT_SESSION_STATE *pSessionState) = 0;
  619. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SessionStartTime(
  620. /* [retval][out] */ DATE *pdateSessionStart) = 0;
  621. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SessionDuration(
  622. /* [retval][out] */ long *plDuration) = 0;
  623. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NumberOfCalls(
  624. /* [retval][out] */ long *plCalls) = 0;
  625. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TotalTalkTime(
  626. /* [retval][out] */ long *plTalkTime) = 0;
  627. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AverageTalkTime(
  628. /* [retval][out] */ long *plTalkTime) = 0;
  629. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TotalCallTime(
  630. /* [retval][out] */ long *plCallTime) = 0;
  631. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AverageCallTime(
  632. /* [retval][out] */ long *plCallTime) = 0;
  633. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TotalWrapUpTime(
  634. /* [retval][out] */ long *plWrapUpTime) = 0;
  635. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AverageWrapUpTime(
  636. /* [retval][out] */ long *plWrapUpTime) = 0;
  637. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ACDCallRate(
  638. /* [retval][out] */ CURRENCY *pcyCallrate) = 0;
  639. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LongestTimeToAnswer(
  640. /* [retval][out] */ long *plAnswerTime) = 0;
  641. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AverageTimeToAnswer(
  642. /* [retval][out] */ long *plAnswerTime) = 0;
  643. };
  644. #else /* C style interface */
  645. typedef struct ITAgentSessionVtbl
  646. {
  647. BEGIN_INTERFACE
  648. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  649. ITAgentSession * This,
  650. /* [in] */ REFIID riid,
  651. /* [iid_is][out] */ void **ppvObject);
  652. ULONG ( STDMETHODCALLTYPE *AddRef )(
  653. ITAgentSession * This);
  654. ULONG ( STDMETHODCALLTYPE *Release )(
  655. ITAgentSession * This);
  656. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  657. ITAgentSession * This,
  658. /* [out] */ UINT *pctinfo);
  659. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  660. ITAgentSession * This,
  661. /* [in] */ UINT iTInfo,
  662. /* [in] */ LCID lcid,
  663. /* [out] */ ITypeInfo **ppTInfo);
  664. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  665. ITAgentSession * This,
  666. /* [in] */ REFIID riid,
  667. /* [size_is][in] */ LPOLESTR *rgszNames,
  668. /* [in] */ UINT cNames,
  669. /* [in] */ LCID lcid,
  670. /* [size_is][out] */ DISPID *rgDispId);
  671. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  672. ITAgentSession * This,
  673. /* [in] */ DISPID dispIdMember,
  674. /* [in] */ REFIID riid,
  675. /* [in] */ LCID lcid,
  676. /* [in] */ WORD wFlags,
  677. /* [out][in] */ DISPPARAMS *pDispParams,
  678. /* [out] */ VARIANT *pVarResult,
  679. /* [out] */ EXCEPINFO *pExcepInfo,
  680. /* [out] */ UINT *puArgErr);
  681. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Agent )(
  682. ITAgentSession * This,
  683. /* [retval][out] */ ITAgent **ppAgent);
  684. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Address )(
  685. ITAgentSession * This,
  686. /* [retval][out] */ ITAddress **ppAddress);
  687. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ACDGroup )(
  688. ITAgentSession * This,
  689. /* [retval][out] */ ITACDGroup **ppACDGroup);
  690. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_State )(
  691. ITAgentSession * This,
  692. /* [in] */ AGENT_SESSION_STATE SessionState);
  693. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_State )(
  694. ITAgentSession * This,
  695. /* [retval][out] */ AGENT_SESSION_STATE *pSessionState);
  696. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SessionStartTime )(
  697. ITAgentSession * This,
  698. /* [retval][out] */ DATE *pdateSessionStart);
  699. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SessionDuration )(
  700. ITAgentSession * This,
  701. /* [retval][out] */ long *plDuration);
  702. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NumberOfCalls )(
  703. ITAgentSession * This,
  704. /* [retval][out] */ long *plCalls);
  705. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TotalTalkTime )(
  706. ITAgentSession * This,
  707. /* [retval][out] */ long *plTalkTime);
  708. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AverageTalkTime )(
  709. ITAgentSession * This,
  710. /* [retval][out] */ long *plTalkTime);
  711. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TotalCallTime )(
  712. ITAgentSession * This,
  713. /* [retval][out] */ long *plCallTime);
  714. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AverageCallTime )(
  715. ITAgentSession * This,
  716. /* [retval][out] */ long *plCallTime);
  717. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TotalWrapUpTime )(
  718. ITAgentSession * This,
  719. /* [retval][out] */ long *plWrapUpTime);
  720. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AverageWrapUpTime )(
  721. ITAgentSession * This,
  722. /* [retval][out] */ long *plWrapUpTime);
  723. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ACDCallRate )(
  724. ITAgentSession * This,
  725. /* [retval][out] */ CURRENCY *pcyCallrate);
  726. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LongestTimeToAnswer )(
  727. ITAgentSession * This,
  728. /* [retval][out] */ long *plAnswerTime);
  729. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AverageTimeToAnswer )(
  730. ITAgentSession * This,
  731. /* [retval][out] */ long *plAnswerTime);
  732. END_INTERFACE
  733. } ITAgentSessionVtbl;
  734. interface ITAgentSession
  735. {
  736. CONST_VTBL struct ITAgentSessionVtbl *lpVtbl;
  737. };
  738. #ifdef COBJMACROS
  739. #define ITAgentSession_QueryInterface(This,riid,ppvObject) \
  740. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  741. #define ITAgentSession_AddRef(This) \
  742. (This)->lpVtbl -> AddRef(This)
  743. #define ITAgentSession_Release(This) \
  744. (This)->lpVtbl -> Release(This)
  745. #define ITAgentSession_GetTypeInfoCount(This,pctinfo) \
  746. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  747. #define ITAgentSession_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  748. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  749. #define ITAgentSession_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  750. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  751. #define ITAgentSession_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  752. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  753. #define ITAgentSession_get_Agent(This,ppAgent) \
  754. (This)->lpVtbl -> get_Agent(This,ppAgent)
  755. #define ITAgentSession_get_Address(This,ppAddress) \
  756. (This)->lpVtbl -> get_Address(This,ppAddress)
  757. #define ITAgentSession_get_ACDGroup(This,ppACDGroup) \
  758. (This)->lpVtbl -> get_ACDGroup(This,ppACDGroup)
  759. #define ITAgentSession_put_State(This,SessionState) \
  760. (This)->lpVtbl -> put_State(This,SessionState)
  761. #define ITAgentSession_get_State(This,pSessionState) \
  762. (This)->lpVtbl -> get_State(This,pSessionState)
  763. #define ITAgentSession_get_SessionStartTime(This,pdateSessionStart) \
  764. (This)->lpVtbl -> get_SessionStartTime(This,pdateSessionStart)
  765. #define ITAgentSession_get_SessionDuration(This,plDuration) \
  766. (This)->lpVtbl -> get_SessionDuration(This,plDuration)
  767. #define ITAgentSession_get_NumberOfCalls(This,plCalls) \
  768. (This)->lpVtbl -> get_NumberOfCalls(This,plCalls)
  769. #define ITAgentSession_get_TotalTalkTime(This,plTalkTime) \
  770. (This)->lpVtbl -> get_TotalTalkTime(This,plTalkTime)
  771. #define ITAgentSession_get_AverageTalkTime(This,plTalkTime) \
  772. (This)->lpVtbl -> get_AverageTalkTime(This,plTalkTime)
  773. #define ITAgentSession_get_TotalCallTime(This,plCallTime) \
  774. (This)->lpVtbl -> get_TotalCallTime(This,plCallTime)
  775. #define ITAgentSession_get_AverageCallTime(This,plCallTime) \
  776. (This)->lpVtbl -> get_AverageCallTime(This,plCallTime)
  777. #define ITAgentSession_get_TotalWrapUpTime(This,plWrapUpTime) \
  778. (This)->lpVtbl -> get_TotalWrapUpTime(This,plWrapUpTime)
  779. #define ITAgentSession_get_AverageWrapUpTime(This,plWrapUpTime) \
  780. (This)->lpVtbl -> get_AverageWrapUpTime(This,plWrapUpTime)
  781. #define ITAgentSession_get_ACDCallRate(This,pcyCallrate) \
  782. (This)->lpVtbl -> get_ACDCallRate(This,pcyCallrate)
  783. #define ITAgentSession_get_LongestTimeToAnswer(This,plAnswerTime) \
  784. (This)->lpVtbl -> get_LongestTimeToAnswer(This,plAnswerTime)
  785. #define ITAgentSession_get_AverageTimeToAnswer(This,plAnswerTime) \
  786. (This)->lpVtbl -> get_AverageTimeToAnswer(This,plAnswerTime)
  787. #endif /* COBJMACROS */
  788. #endif /* C style interface */
  789. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSession_get_Agent_Proxy(
  790. ITAgentSession * This,
  791. /* [retval][out] */ ITAgent **ppAgent);
  792. void __RPC_STUB ITAgentSession_get_Agent_Stub(
  793. IRpcStubBuffer *This,
  794. IRpcChannelBuffer *_pRpcChannelBuffer,
  795. PRPC_MESSAGE _pRpcMessage,
  796. DWORD *_pdwStubPhase);
  797. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSession_get_Address_Proxy(
  798. ITAgentSession * This,
  799. /* [retval][out] */ ITAddress **ppAddress);
  800. void __RPC_STUB ITAgentSession_get_Address_Stub(
  801. IRpcStubBuffer *This,
  802. IRpcChannelBuffer *_pRpcChannelBuffer,
  803. PRPC_MESSAGE _pRpcMessage,
  804. DWORD *_pdwStubPhase);
  805. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSession_get_ACDGroup_Proxy(
  806. ITAgentSession * This,
  807. /* [retval][out] */ ITACDGroup **ppACDGroup);
  808. void __RPC_STUB ITAgentSession_get_ACDGroup_Stub(
  809. IRpcStubBuffer *This,
  810. IRpcChannelBuffer *_pRpcChannelBuffer,
  811. PRPC_MESSAGE _pRpcMessage,
  812. DWORD *_pdwStubPhase);
  813. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITAgentSession_put_State_Proxy(
  814. ITAgentSession * This,
  815. /* [in] */ AGENT_SESSION_STATE SessionState);
  816. void __RPC_STUB ITAgentSession_put_State_Stub(
  817. IRpcStubBuffer *This,
  818. IRpcChannelBuffer *_pRpcChannelBuffer,
  819. PRPC_MESSAGE _pRpcMessage,
  820. DWORD *_pdwStubPhase);
  821. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSession_get_State_Proxy(
  822. ITAgentSession * This,
  823. /* [retval][out] */ AGENT_SESSION_STATE *pSessionState);
  824. void __RPC_STUB ITAgentSession_get_State_Stub(
  825. IRpcStubBuffer *This,
  826. IRpcChannelBuffer *_pRpcChannelBuffer,
  827. PRPC_MESSAGE _pRpcMessage,
  828. DWORD *_pdwStubPhase);
  829. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSession_get_SessionStartTime_Proxy(
  830. ITAgentSession * This,
  831. /* [retval][out] */ DATE *pdateSessionStart);
  832. void __RPC_STUB ITAgentSession_get_SessionStartTime_Stub(
  833. IRpcStubBuffer *This,
  834. IRpcChannelBuffer *_pRpcChannelBuffer,
  835. PRPC_MESSAGE _pRpcMessage,
  836. DWORD *_pdwStubPhase);
  837. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSession_get_SessionDuration_Proxy(
  838. ITAgentSession * This,
  839. /* [retval][out] */ long *plDuration);
  840. void __RPC_STUB ITAgentSession_get_SessionDuration_Stub(
  841. IRpcStubBuffer *This,
  842. IRpcChannelBuffer *_pRpcChannelBuffer,
  843. PRPC_MESSAGE _pRpcMessage,
  844. DWORD *_pdwStubPhase);
  845. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSession_get_NumberOfCalls_Proxy(
  846. ITAgentSession * This,
  847. /* [retval][out] */ long *plCalls);
  848. void __RPC_STUB ITAgentSession_get_NumberOfCalls_Stub(
  849. IRpcStubBuffer *This,
  850. IRpcChannelBuffer *_pRpcChannelBuffer,
  851. PRPC_MESSAGE _pRpcMessage,
  852. DWORD *_pdwStubPhase);
  853. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSession_get_TotalTalkTime_Proxy(
  854. ITAgentSession * This,
  855. /* [retval][out] */ long *plTalkTime);
  856. void __RPC_STUB ITAgentSession_get_TotalTalkTime_Stub(
  857. IRpcStubBuffer *This,
  858. IRpcChannelBuffer *_pRpcChannelBuffer,
  859. PRPC_MESSAGE _pRpcMessage,
  860. DWORD *_pdwStubPhase);
  861. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSession_get_AverageTalkTime_Proxy(
  862. ITAgentSession * This,
  863. /* [retval][out] */ long *plTalkTime);
  864. void __RPC_STUB ITAgentSession_get_AverageTalkTime_Stub(
  865. IRpcStubBuffer *This,
  866. IRpcChannelBuffer *_pRpcChannelBuffer,
  867. PRPC_MESSAGE _pRpcMessage,
  868. DWORD *_pdwStubPhase);
  869. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSession_get_TotalCallTime_Proxy(
  870. ITAgentSession * This,
  871. /* [retval][out] */ long *plCallTime);
  872. void __RPC_STUB ITAgentSession_get_TotalCallTime_Stub(
  873. IRpcStubBuffer *This,
  874. IRpcChannelBuffer *_pRpcChannelBuffer,
  875. PRPC_MESSAGE _pRpcMessage,
  876. DWORD *_pdwStubPhase);
  877. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSession_get_AverageCallTime_Proxy(
  878. ITAgentSession * This,
  879. /* [retval][out] */ long *plCallTime);
  880. void __RPC_STUB ITAgentSession_get_AverageCallTime_Stub(
  881. IRpcStubBuffer *This,
  882. IRpcChannelBuffer *_pRpcChannelBuffer,
  883. PRPC_MESSAGE _pRpcMessage,
  884. DWORD *_pdwStubPhase);
  885. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSession_get_TotalWrapUpTime_Proxy(
  886. ITAgentSession * This,
  887. /* [retval][out] */ long *plWrapUpTime);
  888. void __RPC_STUB ITAgentSession_get_TotalWrapUpTime_Stub(
  889. IRpcStubBuffer *This,
  890. IRpcChannelBuffer *_pRpcChannelBuffer,
  891. PRPC_MESSAGE _pRpcMessage,
  892. DWORD *_pdwStubPhase);
  893. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSession_get_AverageWrapUpTime_Proxy(
  894. ITAgentSession * This,
  895. /* [retval][out] */ long *plWrapUpTime);
  896. void __RPC_STUB ITAgentSession_get_AverageWrapUpTime_Stub(
  897. IRpcStubBuffer *This,
  898. IRpcChannelBuffer *_pRpcChannelBuffer,
  899. PRPC_MESSAGE _pRpcMessage,
  900. DWORD *_pdwStubPhase);
  901. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSession_get_ACDCallRate_Proxy(
  902. ITAgentSession * This,
  903. /* [retval][out] */ CURRENCY *pcyCallrate);
  904. void __RPC_STUB ITAgentSession_get_ACDCallRate_Stub(
  905. IRpcStubBuffer *This,
  906. IRpcChannelBuffer *_pRpcChannelBuffer,
  907. PRPC_MESSAGE _pRpcMessage,
  908. DWORD *_pdwStubPhase);
  909. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSession_get_LongestTimeToAnswer_Proxy(
  910. ITAgentSession * This,
  911. /* [retval][out] */ long *plAnswerTime);
  912. void __RPC_STUB ITAgentSession_get_LongestTimeToAnswer_Stub(
  913. IRpcStubBuffer *This,
  914. IRpcChannelBuffer *_pRpcChannelBuffer,
  915. PRPC_MESSAGE _pRpcMessage,
  916. DWORD *_pdwStubPhase);
  917. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSession_get_AverageTimeToAnswer_Proxy(
  918. ITAgentSession * This,
  919. /* [retval][out] */ long *plAnswerTime);
  920. void __RPC_STUB ITAgentSession_get_AverageTimeToAnswer_Stub(
  921. IRpcStubBuffer *This,
  922. IRpcChannelBuffer *_pRpcChannelBuffer,
  923. PRPC_MESSAGE _pRpcMessage,
  924. DWORD *_pdwStubPhase);
  925. #endif /* __ITAgentSession_INTERFACE_DEFINED__ */
  926. #ifndef __ITACDGroup_INTERFACE_DEFINED__
  927. #define __ITACDGroup_INTERFACE_DEFINED__
  928. /* interface ITACDGroup */
  929. /* [object][dual][helpstring][uuid] */
  930. EXTERN_C const IID IID_ITACDGroup;
  931. #if defined(__cplusplus) && !defined(CINTERFACE)
  932. MIDL_INTERFACE("5AFC3148-4BCC-11d1-BF80-00805FC147D3")
  933. ITACDGroup : public IDispatch
  934. {
  935. public:
  936. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name(
  937. /* [retval][out] */ BSTR *ppName) = 0;
  938. virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateQueues(
  939. /* [retval][out] */ IEnumQueue **ppEnumQueue) = 0;
  940. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Queues(
  941. /* [retval][out] */ VARIANT *pVariant) = 0;
  942. };
  943. #else /* C style interface */
  944. typedef struct ITACDGroupVtbl
  945. {
  946. BEGIN_INTERFACE
  947. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  948. ITACDGroup * This,
  949. /* [in] */ REFIID riid,
  950. /* [iid_is][out] */ void **ppvObject);
  951. ULONG ( STDMETHODCALLTYPE *AddRef )(
  952. ITACDGroup * This);
  953. ULONG ( STDMETHODCALLTYPE *Release )(
  954. ITACDGroup * This);
  955. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  956. ITACDGroup * This,
  957. /* [out] */ UINT *pctinfo);
  958. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  959. ITACDGroup * This,
  960. /* [in] */ UINT iTInfo,
  961. /* [in] */ LCID lcid,
  962. /* [out] */ ITypeInfo **ppTInfo);
  963. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  964. ITACDGroup * This,
  965. /* [in] */ REFIID riid,
  966. /* [size_is][in] */ LPOLESTR *rgszNames,
  967. /* [in] */ UINT cNames,
  968. /* [in] */ LCID lcid,
  969. /* [size_is][out] */ DISPID *rgDispId);
  970. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  971. ITACDGroup * This,
  972. /* [in] */ DISPID dispIdMember,
  973. /* [in] */ REFIID riid,
  974. /* [in] */ LCID lcid,
  975. /* [in] */ WORD wFlags,
  976. /* [out][in] */ DISPPARAMS *pDispParams,
  977. /* [out] */ VARIANT *pVarResult,
  978. /* [out] */ EXCEPINFO *pExcepInfo,
  979. /* [out] */ UINT *puArgErr);
  980. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  981. ITACDGroup * This,
  982. /* [retval][out] */ BSTR *ppName);
  983. /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateQueues )(
  984. ITACDGroup * This,
  985. /* [retval][out] */ IEnumQueue **ppEnumQueue);
  986. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Queues )(
  987. ITACDGroup * This,
  988. /* [retval][out] */ VARIANT *pVariant);
  989. END_INTERFACE
  990. } ITACDGroupVtbl;
  991. interface ITACDGroup
  992. {
  993. CONST_VTBL struct ITACDGroupVtbl *lpVtbl;
  994. };
  995. #ifdef COBJMACROS
  996. #define ITACDGroup_QueryInterface(This,riid,ppvObject) \
  997. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  998. #define ITACDGroup_AddRef(This) \
  999. (This)->lpVtbl -> AddRef(This)
  1000. #define ITACDGroup_Release(This) \
  1001. (This)->lpVtbl -> Release(This)
  1002. #define ITACDGroup_GetTypeInfoCount(This,pctinfo) \
  1003. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1004. #define ITACDGroup_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1005. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1006. #define ITACDGroup_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1007. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1008. #define ITACDGroup_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1009. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1010. #define ITACDGroup_get_Name(This,ppName) \
  1011. (This)->lpVtbl -> get_Name(This,ppName)
  1012. #define ITACDGroup_EnumerateQueues(This,ppEnumQueue) \
  1013. (This)->lpVtbl -> EnumerateQueues(This,ppEnumQueue)
  1014. #define ITACDGroup_get_Queues(This,pVariant) \
  1015. (This)->lpVtbl -> get_Queues(This,pVariant)
  1016. #endif /* COBJMACROS */
  1017. #endif /* C style interface */
  1018. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITACDGroup_get_Name_Proxy(
  1019. ITACDGroup * This,
  1020. /* [retval][out] */ BSTR *ppName);
  1021. void __RPC_STUB ITACDGroup_get_Name_Stub(
  1022. IRpcStubBuffer *This,
  1023. IRpcChannelBuffer *_pRpcChannelBuffer,
  1024. PRPC_MESSAGE _pRpcMessage,
  1025. DWORD *_pdwStubPhase);
  1026. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITACDGroup_EnumerateQueues_Proxy(
  1027. ITACDGroup * This,
  1028. /* [retval][out] */ IEnumQueue **ppEnumQueue);
  1029. void __RPC_STUB ITACDGroup_EnumerateQueues_Stub(
  1030. IRpcStubBuffer *This,
  1031. IRpcChannelBuffer *_pRpcChannelBuffer,
  1032. PRPC_MESSAGE _pRpcMessage,
  1033. DWORD *_pdwStubPhase);
  1034. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITACDGroup_get_Queues_Proxy(
  1035. ITACDGroup * This,
  1036. /* [retval][out] */ VARIANT *pVariant);
  1037. void __RPC_STUB ITACDGroup_get_Queues_Stub(
  1038. IRpcStubBuffer *This,
  1039. IRpcChannelBuffer *_pRpcChannelBuffer,
  1040. PRPC_MESSAGE _pRpcMessage,
  1041. DWORD *_pdwStubPhase);
  1042. #endif /* __ITACDGroup_INTERFACE_DEFINED__ */
  1043. #ifndef __ITQueue_INTERFACE_DEFINED__
  1044. #define __ITQueue_INTERFACE_DEFINED__
  1045. /* interface ITQueue */
  1046. /* [object][dual][helpstring][uuid] */
  1047. EXTERN_C const IID IID_ITQueue;
  1048. #if defined(__cplusplus) && !defined(CINTERFACE)
  1049. MIDL_INTERFACE("5AFC3149-4BCC-11d1-BF80-00805FC147D3")
  1050. ITQueue : public IDispatch
  1051. {
  1052. public:
  1053. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_MeasurementPeriod(
  1054. /* [in] */ long lPeriod) = 0;
  1055. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MeasurementPeriod(
  1056. /* [retval][out] */ long *plPeriod) = 0;
  1057. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TotalCallsQueued(
  1058. /* [retval][out] */ long *plCalls) = 0;
  1059. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CurrentCallsQueued(
  1060. /* [retval][out] */ long *plCalls) = 0;
  1061. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TotalCallsAbandoned(
  1062. /* [retval][out] */ long *plCalls) = 0;
  1063. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TotalCallsFlowedIn(
  1064. /* [retval][out] */ long *plCalls) = 0;
  1065. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TotalCallsFlowedOut(
  1066. /* [retval][out] */ long *plCalls) = 0;
  1067. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LongestEverWaitTime(
  1068. /* [retval][out] */ long *plWaitTime) = 0;
  1069. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CurrentLongestWaitTime(
  1070. /* [retval][out] */ long *plWaitTime) = 0;
  1071. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AverageWaitTime(
  1072. /* [retval][out] */ long *plWaitTime) = 0;
  1073. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FinalDisposition(
  1074. /* [retval][out] */ long *plCalls) = 0;
  1075. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name(
  1076. /* [retval][out] */ BSTR *ppName) = 0;
  1077. };
  1078. #else /* C style interface */
  1079. typedef struct ITQueueVtbl
  1080. {
  1081. BEGIN_INTERFACE
  1082. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1083. ITQueue * This,
  1084. /* [in] */ REFIID riid,
  1085. /* [iid_is][out] */ void **ppvObject);
  1086. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1087. ITQueue * This);
  1088. ULONG ( STDMETHODCALLTYPE *Release )(
  1089. ITQueue * This);
  1090. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1091. ITQueue * This,
  1092. /* [out] */ UINT *pctinfo);
  1093. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1094. ITQueue * This,
  1095. /* [in] */ UINT iTInfo,
  1096. /* [in] */ LCID lcid,
  1097. /* [out] */ ITypeInfo **ppTInfo);
  1098. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1099. ITQueue * This,
  1100. /* [in] */ REFIID riid,
  1101. /* [size_is][in] */ LPOLESTR *rgszNames,
  1102. /* [in] */ UINT cNames,
  1103. /* [in] */ LCID lcid,
  1104. /* [size_is][out] */ DISPID *rgDispId);
  1105. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1106. ITQueue * This,
  1107. /* [in] */ DISPID dispIdMember,
  1108. /* [in] */ REFIID riid,
  1109. /* [in] */ LCID lcid,
  1110. /* [in] */ WORD wFlags,
  1111. /* [out][in] */ DISPPARAMS *pDispParams,
  1112. /* [out] */ VARIANT *pVarResult,
  1113. /* [out] */ EXCEPINFO *pExcepInfo,
  1114. /* [out] */ UINT *puArgErr);
  1115. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MeasurementPeriod )(
  1116. ITQueue * This,
  1117. /* [in] */ long lPeriod);
  1118. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MeasurementPeriod )(
  1119. ITQueue * This,
  1120. /* [retval][out] */ long *plPeriod);
  1121. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TotalCallsQueued )(
  1122. ITQueue * This,
  1123. /* [retval][out] */ long *plCalls);
  1124. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CurrentCallsQueued )(
  1125. ITQueue * This,
  1126. /* [retval][out] */ long *plCalls);
  1127. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TotalCallsAbandoned )(
  1128. ITQueue * This,
  1129. /* [retval][out] */ long *plCalls);
  1130. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TotalCallsFlowedIn )(
  1131. ITQueue * This,
  1132. /* [retval][out] */ long *plCalls);
  1133. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TotalCallsFlowedOut )(
  1134. ITQueue * This,
  1135. /* [retval][out] */ long *plCalls);
  1136. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LongestEverWaitTime )(
  1137. ITQueue * This,
  1138. /* [retval][out] */ long *plWaitTime);
  1139. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CurrentLongestWaitTime )(
  1140. ITQueue * This,
  1141. /* [retval][out] */ long *plWaitTime);
  1142. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AverageWaitTime )(
  1143. ITQueue * This,
  1144. /* [retval][out] */ long *plWaitTime);
  1145. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FinalDisposition )(
  1146. ITQueue * This,
  1147. /* [retval][out] */ long *plCalls);
  1148. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  1149. ITQueue * This,
  1150. /* [retval][out] */ BSTR *ppName);
  1151. END_INTERFACE
  1152. } ITQueueVtbl;
  1153. interface ITQueue
  1154. {
  1155. CONST_VTBL struct ITQueueVtbl *lpVtbl;
  1156. };
  1157. #ifdef COBJMACROS
  1158. #define ITQueue_QueryInterface(This,riid,ppvObject) \
  1159. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1160. #define ITQueue_AddRef(This) \
  1161. (This)->lpVtbl -> AddRef(This)
  1162. #define ITQueue_Release(This) \
  1163. (This)->lpVtbl -> Release(This)
  1164. #define ITQueue_GetTypeInfoCount(This,pctinfo) \
  1165. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1166. #define ITQueue_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1167. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1168. #define ITQueue_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1169. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1170. #define ITQueue_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1171. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1172. #define ITQueue_put_MeasurementPeriod(This,lPeriod) \
  1173. (This)->lpVtbl -> put_MeasurementPeriod(This,lPeriod)
  1174. #define ITQueue_get_MeasurementPeriod(This,plPeriod) \
  1175. (This)->lpVtbl -> get_MeasurementPeriod(This,plPeriod)
  1176. #define ITQueue_get_TotalCallsQueued(This,plCalls) \
  1177. (This)->lpVtbl -> get_TotalCallsQueued(This,plCalls)
  1178. #define ITQueue_get_CurrentCallsQueued(This,plCalls) \
  1179. (This)->lpVtbl -> get_CurrentCallsQueued(This,plCalls)
  1180. #define ITQueue_get_TotalCallsAbandoned(This,plCalls) \
  1181. (This)->lpVtbl -> get_TotalCallsAbandoned(This,plCalls)
  1182. #define ITQueue_get_TotalCallsFlowedIn(This,plCalls) \
  1183. (This)->lpVtbl -> get_TotalCallsFlowedIn(This,plCalls)
  1184. #define ITQueue_get_TotalCallsFlowedOut(This,plCalls) \
  1185. (This)->lpVtbl -> get_TotalCallsFlowedOut(This,plCalls)
  1186. #define ITQueue_get_LongestEverWaitTime(This,plWaitTime) \
  1187. (This)->lpVtbl -> get_LongestEverWaitTime(This,plWaitTime)
  1188. #define ITQueue_get_CurrentLongestWaitTime(This,plWaitTime) \
  1189. (This)->lpVtbl -> get_CurrentLongestWaitTime(This,plWaitTime)
  1190. #define ITQueue_get_AverageWaitTime(This,plWaitTime) \
  1191. (This)->lpVtbl -> get_AverageWaitTime(This,plWaitTime)
  1192. #define ITQueue_get_FinalDisposition(This,plCalls) \
  1193. (This)->lpVtbl -> get_FinalDisposition(This,plCalls)
  1194. #define ITQueue_get_Name(This,ppName) \
  1195. (This)->lpVtbl -> get_Name(This,ppName)
  1196. #endif /* COBJMACROS */
  1197. #endif /* C style interface */
  1198. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITQueue_put_MeasurementPeriod_Proxy(
  1199. ITQueue * This,
  1200. /* [in] */ long lPeriod);
  1201. void __RPC_STUB ITQueue_put_MeasurementPeriod_Stub(
  1202. IRpcStubBuffer *This,
  1203. IRpcChannelBuffer *_pRpcChannelBuffer,
  1204. PRPC_MESSAGE _pRpcMessage,
  1205. DWORD *_pdwStubPhase);
  1206. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITQueue_get_MeasurementPeriod_Proxy(
  1207. ITQueue * This,
  1208. /* [retval][out] */ long *plPeriod);
  1209. void __RPC_STUB ITQueue_get_MeasurementPeriod_Stub(
  1210. IRpcStubBuffer *This,
  1211. IRpcChannelBuffer *_pRpcChannelBuffer,
  1212. PRPC_MESSAGE _pRpcMessage,
  1213. DWORD *_pdwStubPhase);
  1214. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITQueue_get_TotalCallsQueued_Proxy(
  1215. ITQueue * This,
  1216. /* [retval][out] */ long *plCalls);
  1217. void __RPC_STUB ITQueue_get_TotalCallsQueued_Stub(
  1218. IRpcStubBuffer *This,
  1219. IRpcChannelBuffer *_pRpcChannelBuffer,
  1220. PRPC_MESSAGE _pRpcMessage,
  1221. DWORD *_pdwStubPhase);
  1222. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITQueue_get_CurrentCallsQueued_Proxy(
  1223. ITQueue * This,
  1224. /* [retval][out] */ long *plCalls);
  1225. void __RPC_STUB ITQueue_get_CurrentCallsQueued_Stub(
  1226. IRpcStubBuffer *This,
  1227. IRpcChannelBuffer *_pRpcChannelBuffer,
  1228. PRPC_MESSAGE _pRpcMessage,
  1229. DWORD *_pdwStubPhase);
  1230. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITQueue_get_TotalCallsAbandoned_Proxy(
  1231. ITQueue * This,
  1232. /* [retval][out] */ long *plCalls);
  1233. void __RPC_STUB ITQueue_get_TotalCallsAbandoned_Stub(
  1234. IRpcStubBuffer *This,
  1235. IRpcChannelBuffer *_pRpcChannelBuffer,
  1236. PRPC_MESSAGE _pRpcMessage,
  1237. DWORD *_pdwStubPhase);
  1238. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITQueue_get_TotalCallsFlowedIn_Proxy(
  1239. ITQueue * This,
  1240. /* [retval][out] */ long *plCalls);
  1241. void __RPC_STUB ITQueue_get_TotalCallsFlowedIn_Stub(
  1242. IRpcStubBuffer *This,
  1243. IRpcChannelBuffer *_pRpcChannelBuffer,
  1244. PRPC_MESSAGE _pRpcMessage,
  1245. DWORD *_pdwStubPhase);
  1246. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITQueue_get_TotalCallsFlowedOut_Proxy(
  1247. ITQueue * This,
  1248. /* [retval][out] */ long *plCalls);
  1249. void __RPC_STUB ITQueue_get_TotalCallsFlowedOut_Stub(
  1250. IRpcStubBuffer *This,
  1251. IRpcChannelBuffer *_pRpcChannelBuffer,
  1252. PRPC_MESSAGE _pRpcMessage,
  1253. DWORD *_pdwStubPhase);
  1254. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITQueue_get_LongestEverWaitTime_Proxy(
  1255. ITQueue * This,
  1256. /* [retval][out] */ long *plWaitTime);
  1257. void __RPC_STUB ITQueue_get_LongestEverWaitTime_Stub(
  1258. IRpcStubBuffer *This,
  1259. IRpcChannelBuffer *_pRpcChannelBuffer,
  1260. PRPC_MESSAGE _pRpcMessage,
  1261. DWORD *_pdwStubPhase);
  1262. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITQueue_get_CurrentLongestWaitTime_Proxy(
  1263. ITQueue * This,
  1264. /* [retval][out] */ long *plWaitTime);
  1265. void __RPC_STUB ITQueue_get_CurrentLongestWaitTime_Stub(
  1266. IRpcStubBuffer *This,
  1267. IRpcChannelBuffer *_pRpcChannelBuffer,
  1268. PRPC_MESSAGE _pRpcMessage,
  1269. DWORD *_pdwStubPhase);
  1270. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITQueue_get_AverageWaitTime_Proxy(
  1271. ITQueue * This,
  1272. /* [retval][out] */ long *plWaitTime);
  1273. void __RPC_STUB ITQueue_get_AverageWaitTime_Stub(
  1274. IRpcStubBuffer *This,
  1275. IRpcChannelBuffer *_pRpcChannelBuffer,
  1276. PRPC_MESSAGE _pRpcMessage,
  1277. DWORD *_pdwStubPhase);
  1278. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITQueue_get_FinalDisposition_Proxy(
  1279. ITQueue * This,
  1280. /* [retval][out] */ long *plCalls);
  1281. void __RPC_STUB ITQueue_get_FinalDisposition_Stub(
  1282. IRpcStubBuffer *This,
  1283. IRpcChannelBuffer *_pRpcChannelBuffer,
  1284. PRPC_MESSAGE _pRpcMessage,
  1285. DWORD *_pdwStubPhase);
  1286. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITQueue_get_Name_Proxy(
  1287. ITQueue * This,
  1288. /* [retval][out] */ BSTR *ppName);
  1289. void __RPC_STUB ITQueue_get_Name_Stub(
  1290. IRpcStubBuffer *This,
  1291. IRpcChannelBuffer *_pRpcChannelBuffer,
  1292. PRPC_MESSAGE _pRpcMessage,
  1293. DWORD *_pdwStubPhase);
  1294. #endif /* __ITQueue_INTERFACE_DEFINED__ */
  1295. #ifndef __ITAgentEvent_INTERFACE_DEFINED__
  1296. #define __ITAgentEvent_INTERFACE_DEFINED__
  1297. /* interface ITAgentEvent */
  1298. /* [object][dual][helpstring][uuid] */
  1299. EXTERN_C const IID IID_ITAgentEvent;
  1300. #if defined(__cplusplus) && !defined(CINTERFACE)
  1301. MIDL_INTERFACE("5AFC314A-4BCC-11d1-BF80-00805FC147D3")
  1302. ITAgentEvent : public IDispatch
  1303. {
  1304. public:
  1305. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Agent(
  1306. /* [retval][out] */ ITAgent **ppAgent) = 0;
  1307. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Event(
  1308. /* [retval][out] */ AGENT_EVENT *pEvent) = 0;
  1309. };
  1310. #else /* C style interface */
  1311. typedef struct ITAgentEventVtbl
  1312. {
  1313. BEGIN_INTERFACE
  1314. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1315. ITAgentEvent * This,
  1316. /* [in] */ REFIID riid,
  1317. /* [iid_is][out] */ void **ppvObject);
  1318. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1319. ITAgentEvent * This);
  1320. ULONG ( STDMETHODCALLTYPE *Release )(
  1321. ITAgentEvent * This);
  1322. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1323. ITAgentEvent * This,
  1324. /* [out] */ UINT *pctinfo);
  1325. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1326. ITAgentEvent * This,
  1327. /* [in] */ UINT iTInfo,
  1328. /* [in] */ LCID lcid,
  1329. /* [out] */ ITypeInfo **ppTInfo);
  1330. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1331. ITAgentEvent * This,
  1332. /* [in] */ REFIID riid,
  1333. /* [size_is][in] */ LPOLESTR *rgszNames,
  1334. /* [in] */ UINT cNames,
  1335. /* [in] */ LCID lcid,
  1336. /* [size_is][out] */ DISPID *rgDispId);
  1337. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1338. ITAgentEvent * This,
  1339. /* [in] */ DISPID dispIdMember,
  1340. /* [in] */ REFIID riid,
  1341. /* [in] */ LCID lcid,
  1342. /* [in] */ WORD wFlags,
  1343. /* [out][in] */ DISPPARAMS *pDispParams,
  1344. /* [out] */ VARIANT *pVarResult,
  1345. /* [out] */ EXCEPINFO *pExcepInfo,
  1346. /* [out] */ UINT *puArgErr);
  1347. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Agent )(
  1348. ITAgentEvent * This,
  1349. /* [retval][out] */ ITAgent **ppAgent);
  1350. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Event )(
  1351. ITAgentEvent * This,
  1352. /* [retval][out] */ AGENT_EVENT *pEvent);
  1353. END_INTERFACE
  1354. } ITAgentEventVtbl;
  1355. interface ITAgentEvent
  1356. {
  1357. CONST_VTBL struct ITAgentEventVtbl *lpVtbl;
  1358. };
  1359. #ifdef COBJMACROS
  1360. #define ITAgentEvent_QueryInterface(This,riid,ppvObject) \
  1361. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1362. #define ITAgentEvent_AddRef(This) \
  1363. (This)->lpVtbl -> AddRef(This)
  1364. #define ITAgentEvent_Release(This) \
  1365. (This)->lpVtbl -> Release(This)
  1366. #define ITAgentEvent_GetTypeInfoCount(This,pctinfo) \
  1367. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1368. #define ITAgentEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1369. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1370. #define ITAgentEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1371. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1372. #define ITAgentEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1373. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1374. #define ITAgentEvent_get_Agent(This,ppAgent) \
  1375. (This)->lpVtbl -> get_Agent(This,ppAgent)
  1376. #define ITAgentEvent_get_Event(This,pEvent) \
  1377. (This)->lpVtbl -> get_Event(This,pEvent)
  1378. #endif /* COBJMACROS */
  1379. #endif /* C style interface */
  1380. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentEvent_get_Agent_Proxy(
  1381. ITAgentEvent * This,
  1382. /* [retval][out] */ ITAgent **ppAgent);
  1383. void __RPC_STUB ITAgentEvent_get_Agent_Stub(
  1384. IRpcStubBuffer *This,
  1385. IRpcChannelBuffer *_pRpcChannelBuffer,
  1386. PRPC_MESSAGE _pRpcMessage,
  1387. DWORD *_pdwStubPhase);
  1388. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentEvent_get_Event_Proxy(
  1389. ITAgentEvent * This,
  1390. /* [retval][out] */ AGENT_EVENT *pEvent);
  1391. void __RPC_STUB ITAgentEvent_get_Event_Stub(
  1392. IRpcStubBuffer *This,
  1393. IRpcChannelBuffer *_pRpcChannelBuffer,
  1394. PRPC_MESSAGE _pRpcMessage,
  1395. DWORD *_pdwStubPhase);
  1396. #endif /* __ITAgentEvent_INTERFACE_DEFINED__ */
  1397. #ifndef __ITAgentSessionEvent_INTERFACE_DEFINED__
  1398. #define __ITAgentSessionEvent_INTERFACE_DEFINED__
  1399. /* interface ITAgentSessionEvent */
  1400. /* [object][dual][helpstring][uuid] */
  1401. EXTERN_C const IID IID_ITAgentSessionEvent;
  1402. #if defined(__cplusplus) && !defined(CINTERFACE)
  1403. MIDL_INTERFACE("5AFC314B-4BCC-11d1-BF80-00805FC147D3")
  1404. ITAgentSessionEvent : public IDispatch
  1405. {
  1406. public:
  1407. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Session(
  1408. /* [retval][out] */ ITAgentSession **ppSession) = 0;
  1409. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Event(
  1410. /* [retval][out] */ AGENT_SESSION_EVENT *pEvent) = 0;
  1411. };
  1412. #else /* C style interface */
  1413. typedef struct ITAgentSessionEventVtbl
  1414. {
  1415. BEGIN_INTERFACE
  1416. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1417. ITAgentSessionEvent * This,
  1418. /* [in] */ REFIID riid,
  1419. /* [iid_is][out] */ void **ppvObject);
  1420. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1421. ITAgentSessionEvent * This);
  1422. ULONG ( STDMETHODCALLTYPE *Release )(
  1423. ITAgentSessionEvent * This);
  1424. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1425. ITAgentSessionEvent * This,
  1426. /* [out] */ UINT *pctinfo);
  1427. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1428. ITAgentSessionEvent * This,
  1429. /* [in] */ UINT iTInfo,
  1430. /* [in] */ LCID lcid,
  1431. /* [out] */ ITypeInfo **ppTInfo);
  1432. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1433. ITAgentSessionEvent * This,
  1434. /* [in] */ REFIID riid,
  1435. /* [size_is][in] */ LPOLESTR *rgszNames,
  1436. /* [in] */ UINT cNames,
  1437. /* [in] */ LCID lcid,
  1438. /* [size_is][out] */ DISPID *rgDispId);
  1439. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1440. ITAgentSessionEvent * This,
  1441. /* [in] */ DISPID dispIdMember,
  1442. /* [in] */ REFIID riid,
  1443. /* [in] */ LCID lcid,
  1444. /* [in] */ WORD wFlags,
  1445. /* [out][in] */ DISPPARAMS *pDispParams,
  1446. /* [out] */ VARIANT *pVarResult,
  1447. /* [out] */ EXCEPINFO *pExcepInfo,
  1448. /* [out] */ UINT *puArgErr);
  1449. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Session )(
  1450. ITAgentSessionEvent * This,
  1451. /* [retval][out] */ ITAgentSession **ppSession);
  1452. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Event )(
  1453. ITAgentSessionEvent * This,
  1454. /* [retval][out] */ AGENT_SESSION_EVENT *pEvent);
  1455. END_INTERFACE
  1456. } ITAgentSessionEventVtbl;
  1457. interface ITAgentSessionEvent
  1458. {
  1459. CONST_VTBL struct ITAgentSessionEventVtbl *lpVtbl;
  1460. };
  1461. #ifdef COBJMACROS
  1462. #define ITAgentSessionEvent_QueryInterface(This,riid,ppvObject) \
  1463. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1464. #define ITAgentSessionEvent_AddRef(This) \
  1465. (This)->lpVtbl -> AddRef(This)
  1466. #define ITAgentSessionEvent_Release(This) \
  1467. (This)->lpVtbl -> Release(This)
  1468. #define ITAgentSessionEvent_GetTypeInfoCount(This,pctinfo) \
  1469. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1470. #define ITAgentSessionEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1471. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1472. #define ITAgentSessionEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1473. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1474. #define ITAgentSessionEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1475. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1476. #define ITAgentSessionEvent_get_Session(This,ppSession) \
  1477. (This)->lpVtbl -> get_Session(This,ppSession)
  1478. #define ITAgentSessionEvent_get_Event(This,pEvent) \
  1479. (This)->lpVtbl -> get_Event(This,pEvent)
  1480. #endif /* COBJMACROS */
  1481. #endif /* C style interface */
  1482. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSessionEvent_get_Session_Proxy(
  1483. ITAgentSessionEvent * This,
  1484. /* [retval][out] */ ITAgentSession **ppSession);
  1485. void __RPC_STUB ITAgentSessionEvent_get_Session_Stub(
  1486. IRpcStubBuffer *This,
  1487. IRpcChannelBuffer *_pRpcChannelBuffer,
  1488. PRPC_MESSAGE _pRpcMessage,
  1489. DWORD *_pdwStubPhase);
  1490. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentSessionEvent_get_Event_Proxy(
  1491. ITAgentSessionEvent * This,
  1492. /* [retval][out] */ AGENT_SESSION_EVENT *pEvent);
  1493. void __RPC_STUB ITAgentSessionEvent_get_Event_Stub(
  1494. IRpcStubBuffer *This,
  1495. IRpcChannelBuffer *_pRpcChannelBuffer,
  1496. PRPC_MESSAGE _pRpcMessage,
  1497. DWORD *_pdwStubPhase);
  1498. #endif /* __ITAgentSessionEvent_INTERFACE_DEFINED__ */
  1499. #ifndef __ITACDGroupEvent_INTERFACE_DEFINED__
  1500. #define __ITACDGroupEvent_INTERFACE_DEFINED__
  1501. /* interface ITACDGroupEvent */
  1502. /* [object][dual][helpstring][uuid] */
  1503. EXTERN_C const IID IID_ITACDGroupEvent;
  1504. #if defined(__cplusplus) && !defined(CINTERFACE)
  1505. MIDL_INTERFACE("297F3032-BD11-11d1-A0A7-00805FC147D3")
  1506. ITACDGroupEvent : public IDispatch
  1507. {
  1508. public:
  1509. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Group(
  1510. /* [retval][out] */ ITACDGroup **ppGroup) = 0;
  1511. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Event(
  1512. /* [retval][out] */ ACDGROUP_EVENT *pEvent) = 0;
  1513. };
  1514. #else /* C style interface */
  1515. typedef struct ITACDGroupEventVtbl
  1516. {
  1517. BEGIN_INTERFACE
  1518. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1519. ITACDGroupEvent * This,
  1520. /* [in] */ REFIID riid,
  1521. /* [iid_is][out] */ void **ppvObject);
  1522. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1523. ITACDGroupEvent * This);
  1524. ULONG ( STDMETHODCALLTYPE *Release )(
  1525. ITACDGroupEvent * This);
  1526. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1527. ITACDGroupEvent * This,
  1528. /* [out] */ UINT *pctinfo);
  1529. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1530. ITACDGroupEvent * This,
  1531. /* [in] */ UINT iTInfo,
  1532. /* [in] */ LCID lcid,
  1533. /* [out] */ ITypeInfo **ppTInfo);
  1534. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1535. ITACDGroupEvent * This,
  1536. /* [in] */ REFIID riid,
  1537. /* [size_is][in] */ LPOLESTR *rgszNames,
  1538. /* [in] */ UINT cNames,
  1539. /* [in] */ LCID lcid,
  1540. /* [size_is][out] */ DISPID *rgDispId);
  1541. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1542. ITACDGroupEvent * This,
  1543. /* [in] */ DISPID dispIdMember,
  1544. /* [in] */ REFIID riid,
  1545. /* [in] */ LCID lcid,
  1546. /* [in] */ WORD wFlags,
  1547. /* [out][in] */ DISPPARAMS *pDispParams,
  1548. /* [out] */ VARIANT *pVarResult,
  1549. /* [out] */ EXCEPINFO *pExcepInfo,
  1550. /* [out] */ UINT *puArgErr);
  1551. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Group )(
  1552. ITACDGroupEvent * This,
  1553. /* [retval][out] */ ITACDGroup **ppGroup);
  1554. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Event )(
  1555. ITACDGroupEvent * This,
  1556. /* [retval][out] */ ACDGROUP_EVENT *pEvent);
  1557. END_INTERFACE
  1558. } ITACDGroupEventVtbl;
  1559. interface ITACDGroupEvent
  1560. {
  1561. CONST_VTBL struct ITACDGroupEventVtbl *lpVtbl;
  1562. };
  1563. #ifdef COBJMACROS
  1564. #define ITACDGroupEvent_QueryInterface(This,riid,ppvObject) \
  1565. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1566. #define ITACDGroupEvent_AddRef(This) \
  1567. (This)->lpVtbl -> AddRef(This)
  1568. #define ITACDGroupEvent_Release(This) \
  1569. (This)->lpVtbl -> Release(This)
  1570. #define ITACDGroupEvent_GetTypeInfoCount(This,pctinfo) \
  1571. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1572. #define ITACDGroupEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1573. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1574. #define ITACDGroupEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1575. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1576. #define ITACDGroupEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1577. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1578. #define ITACDGroupEvent_get_Group(This,ppGroup) \
  1579. (This)->lpVtbl -> get_Group(This,ppGroup)
  1580. #define ITACDGroupEvent_get_Event(This,pEvent) \
  1581. (This)->lpVtbl -> get_Event(This,pEvent)
  1582. #endif /* COBJMACROS */
  1583. #endif /* C style interface */
  1584. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITACDGroupEvent_get_Group_Proxy(
  1585. ITACDGroupEvent * This,
  1586. /* [retval][out] */ ITACDGroup **ppGroup);
  1587. void __RPC_STUB ITACDGroupEvent_get_Group_Stub(
  1588. IRpcStubBuffer *This,
  1589. IRpcChannelBuffer *_pRpcChannelBuffer,
  1590. PRPC_MESSAGE _pRpcMessage,
  1591. DWORD *_pdwStubPhase);
  1592. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITACDGroupEvent_get_Event_Proxy(
  1593. ITACDGroupEvent * This,
  1594. /* [retval][out] */ ACDGROUP_EVENT *pEvent);
  1595. void __RPC_STUB ITACDGroupEvent_get_Event_Stub(
  1596. IRpcStubBuffer *This,
  1597. IRpcChannelBuffer *_pRpcChannelBuffer,
  1598. PRPC_MESSAGE _pRpcMessage,
  1599. DWORD *_pdwStubPhase);
  1600. #endif /* __ITACDGroupEvent_INTERFACE_DEFINED__ */
  1601. #ifndef __ITQueueEvent_INTERFACE_DEFINED__
  1602. #define __ITQueueEvent_INTERFACE_DEFINED__
  1603. /* interface ITQueueEvent */
  1604. /* [object][dual][helpstring][uuid] */
  1605. EXTERN_C const IID IID_ITQueueEvent;
  1606. #if defined(__cplusplus) && !defined(CINTERFACE)
  1607. MIDL_INTERFACE("297F3033-BD11-11d1-A0A7-00805FC147D3")
  1608. ITQueueEvent : public IDispatch
  1609. {
  1610. public:
  1611. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Queue(
  1612. /* [retval][out] */ ITQueue **ppQueue) = 0;
  1613. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Event(
  1614. /* [retval][out] */ ACDQUEUE_EVENT *pEvent) = 0;
  1615. };
  1616. #else /* C style interface */
  1617. typedef struct ITQueueEventVtbl
  1618. {
  1619. BEGIN_INTERFACE
  1620. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1621. ITQueueEvent * This,
  1622. /* [in] */ REFIID riid,
  1623. /* [iid_is][out] */ void **ppvObject);
  1624. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1625. ITQueueEvent * This);
  1626. ULONG ( STDMETHODCALLTYPE *Release )(
  1627. ITQueueEvent * This);
  1628. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1629. ITQueueEvent * This,
  1630. /* [out] */ UINT *pctinfo);
  1631. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1632. ITQueueEvent * This,
  1633. /* [in] */ UINT iTInfo,
  1634. /* [in] */ LCID lcid,
  1635. /* [out] */ ITypeInfo **ppTInfo);
  1636. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1637. ITQueueEvent * This,
  1638. /* [in] */ REFIID riid,
  1639. /* [size_is][in] */ LPOLESTR *rgszNames,
  1640. /* [in] */ UINT cNames,
  1641. /* [in] */ LCID lcid,
  1642. /* [size_is][out] */ DISPID *rgDispId);
  1643. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1644. ITQueueEvent * This,
  1645. /* [in] */ DISPID dispIdMember,
  1646. /* [in] */ REFIID riid,
  1647. /* [in] */ LCID lcid,
  1648. /* [in] */ WORD wFlags,
  1649. /* [out][in] */ DISPPARAMS *pDispParams,
  1650. /* [out] */ VARIANT *pVarResult,
  1651. /* [out] */ EXCEPINFO *pExcepInfo,
  1652. /* [out] */ UINT *puArgErr);
  1653. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Queue )(
  1654. ITQueueEvent * This,
  1655. /* [retval][out] */ ITQueue **ppQueue);
  1656. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Event )(
  1657. ITQueueEvent * This,
  1658. /* [retval][out] */ ACDQUEUE_EVENT *pEvent);
  1659. END_INTERFACE
  1660. } ITQueueEventVtbl;
  1661. interface ITQueueEvent
  1662. {
  1663. CONST_VTBL struct ITQueueEventVtbl *lpVtbl;
  1664. };
  1665. #ifdef COBJMACROS
  1666. #define ITQueueEvent_QueryInterface(This,riid,ppvObject) \
  1667. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1668. #define ITQueueEvent_AddRef(This) \
  1669. (This)->lpVtbl -> AddRef(This)
  1670. #define ITQueueEvent_Release(This) \
  1671. (This)->lpVtbl -> Release(This)
  1672. #define ITQueueEvent_GetTypeInfoCount(This,pctinfo) \
  1673. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1674. #define ITQueueEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1675. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1676. #define ITQueueEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1677. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1678. #define ITQueueEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1679. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1680. #define ITQueueEvent_get_Queue(This,ppQueue) \
  1681. (This)->lpVtbl -> get_Queue(This,ppQueue)
  1682. #define ITQueueEvent_get_Event(This,pEvent) \
  1683. (This)->lpVtbl -> get_Event(This,pEvent)
  1684. #endif /* COBJMACROS */
  1685. #endif /* C style interface */
  1686. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITQueueEvent_get_Queue_Proxy(
  1687. ITQueueEvent * This,
  1688. /* [retval][out] */ ITQueue **ppQueue);
  1689. void __RPC_STUB ITQueueEvent_get_Queue_Stub(
  1690. IRpcStubBuffer *This,
  1691. IRpcChannelBuffer *_pRpcChannelBuffer,
  1692. PRPC_MESSAGE _pRpcMessage,
  1693. DWORD *_pdwStubPhase);
  1694. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITQueueEvent_get_Event_Proxy(
  1695. ITQueueEvent * This,
  1696. /* [retval][out] */ ACDQUEUE_EVENT *pEvent);
  1697. void __RPC_STUB ITQueueEvent_get_Event_Stub(
  1698. IRpcStubBuffer *This,
  1699. IRpcChannelBuffer *_pRpcChannelBuffer,
  1700. PRPC_MESSAGE _pRpcMessage,
  1701. DWORD *_pdwStubPhase);
  1702. #endif /* __ITQueueEvent_INTERFACE_DEFINED__ */
  1703. #ifndef __ITAgentHandlerEvent_INTERFACE_DEFINED__
  1704. #define __ITAgentHandlerEvent_INTERFACE_DEFINED__
  1705. /* interface ITAgentHandlerEvent */
  1706. /* [object][dual][helpstring][uuid] */
  1707. EXTERN_C const IID IID_ITAgentHandlerEvent;
  1708. #if defined(__cplusplus) && !defined(CINTERFACE)
  1709. MIDL_INTERFACE("297F3034-BD11-11d1-A0A7-00805FC147D3")
  1710. ITAgentHandlerEvent : public IDispatch
  1711. {
  1712. public:
  1713. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AgentHandler(
  1714. /* [retval][out] */ ITAgentHandler **ppAgentHandler) = 0;
  1715. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Event(
  1716. /* [retval][out] */ AGENTHANDLER_EVENT *pEvent) = 0;
  1717. };
  1718. #else /* C style interface */
  1719. typedef struct ITAgentHandlerEventVtbl
  1720. {
  1721. BEGIN_INTERFACE
  1722. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1723. ITAgentHandlerEvent * This,
  1724. /* [in] */ REFIID riid,
  1725. /* [iid_is][out] */ void **ppvObject);
  1726. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1727. ITAgentHandlerEvent * This);
  1728. ULONG ( STDMETHODCALLTYPE *Release )(
  1729. ITAgentHandlerEvent * This);
  1730. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1731. ITAgentHandlerEvent * This,
  1732. /* [out] */ UINT *pctinfo);
  1733. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1734. ITAgentHandlerEvent * This,
  1735. /* [in] */ UINT iTInfo,
  1736. /* [in] */ LCID lcid,
  1737. /* [out] */ ITypeInfo **ppTInfo);
  1738. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1739. ITAgentHandlerEvent * This,
  1740. /* [in] */ REFIID riid,
  1741. /* [size_is][in] */ LPOLESTR *rgszNames,
  1742. /* [in] */ UINT cNames,
  1743. /* [in] */ LCID lcid,
  1744. /* [size_is][out] */ DISPID *rgDispId);
  1745. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1746. ITAgentHandlerEvent * This,
  1747. /* [in] */ DISPID dispIdMember,
  1748. /* [in] */ REFIID riid,
  1749. /* [in] */ LCID lcid,
  1750. /* [in] */ WORD wFlags,
  1751. /* [out][in] */ DISPPARAMS *pDispParams,
  1752. /* [out] */ VARIANT *pVarResult,
  1753. /* [out] */ EXCEPINFO *pExcepInfo,
  1754. /* [out] */ UINT *puArgErr);
  1755. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AgentHandler )(
  1756. ITAgentHandlerEvent * This,
  1757. /* [retval][out] */ ITAgentHandler **ppAgentHandler);
  1758. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Event )(
  1759. ITAgentHandlerEvent * This,
  1760. /* [retval][out] */ AGENTHANDLER_EVENT *pEvent);
  1761. END_INTERFACE
  1762. } ITAgentHandlerEventVtbl;
  1763. interface ITAgentHandlerEvent
  1764. {
  1765. CONST_VTBL struct ITAgentHandlerEventVtbl *lpVtbl;
  1766. };
  1767. #ifdef COBJMACROS
  1768. #define ITAgentHandlerEvent_QueryInterface(This,riid,ppvObject) \
  1769. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1770. #define ITAgentHandlerEvent_AddRef(This) \
  1771. (This)->lpVtbl -> AddRef(This)
  1772. #define ITAgentHandlerEvent_Release(This) \
  1773. (This)->lpVtbl -> Release(This)
  1774. #define ITAgentHandlerEvent_GetTypeInfoCount(This,pctinfo) \
  1775. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1776. #define ITAgentHandlerEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1777. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1778. #define ITAgentHandlerEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1779. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1780. #define ITAgentHandlerEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1781. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1782. #define ITAgentHandlerEvent_get_AgentHandler(This,ppAgentHandler) \
  1783. (This)->lpVtbl -> get_AgentHandler(This,ppAgentHandler)
  1784. #define ITAgentHandlerEvent_get_Event(This,pEvent) \
  1785. (This)->lpVtbl -> get_Event(This,pEvent)
  1786. #endif /* COBJMACROS */
  1787. #endif /* C style interface */
  1788. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentHandlerEvent_get_AgentHandler_Proxy(
  1789. ITAgentHandlerEvent * This,
  1790. /* [retval][out] */ ITAgentHandler **ppAgentHandler);
  1791. void __RPC_STUB ITAgentHandlerEvent_get_AgentHandler_Stub(
  1792. IRpcStubBuffer *This,
  1793. IRpcChannelBuffer *_pRpcChannelBuffer,
  1794. PRPC_MESSAGE _pRpcMessage,
  1795. DWORD *_pdwStubPhase);
  1796. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentHandlerEvent_get_Event_Proxy(
  1797. ITAgentHandlerEvent * This,
  1798. /* [retval][out] */ AGENTHANDLER_EVENT *pEvent);
  1799. void __RPC_STUB ITAgentHandlerEvent_get_Event_Stub(
  1800. IRpcStubBuffer *This,
  1801. IRpcChannelBuffer *_pRpcChannelBuffer,
  1802. PRPC_MESSAGE _pRpcMessage,
  1803. DWORD *_pdwStubPhase);
  1804. #endif /* __ITAgentHandlerEvent_INTERFACE_DEFINED__ */
  1805. #ifndef __ITTAPICallCenter_INTERFACE_DEFINED__
  1806. #define __ITTAPICallCenter_INTERFACE_DEFINED__
  1807. /* interface ITTAPICallCenter */
  1808. /* [object][dual][helpstring][uuid] */
  1809. EXTERN_C const IID IID_ITTAPICallCenter;
  1810. #if defined(__cplusplus) && !defined(CINTERFACE)
  1811. MIDL_INTERFACE("5AFC3154-4BCC-11d1-BF80-00805FC147D3")
  1812. ITTAPICallCenter : public IDispatch
  1813. {
  1814. public:
  1815. virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateAgentHandlers(
  1816. /* [retval][out] */ IEnumAgentHandler **ppEnumHandler) = 0;
  1817. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AgentHandlers(
  1818. /* [retval][out] */ VARIANT *pVariant) = 0;
  1819. };
  1820. #else /* C style interface */
  1821. typedef struct ITTAPICallCenterVtbl
  1822. {
  1823. BEGIN_INTERFACE
  1824. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1825. ITTAPICallCenter * This,
  1826. /* [in] */ REFIID riid,
  1827. /* [iid_is][out] */ void **ppvObject);
  1828. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1829. ITTAPICallCenter * This);
  1830. ULONG ( STDMETHODCALLTYPE *Release )(
  1831. ITTAPICallCenter * This);
  1832. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1833. ITTAPICallCenter * This,
  1834. /* [out] */ UINT *pctinfo);
  1835. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1836. ITTAPICallCenter * This,
  1837. /* [in] */ UINT iTInfo,
  1838. /* [in] */ LCID lcid,
  1839. /* [out] */ ITypeInfo **ppTInfo);
  1840. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1841. ITTAPICallCenter * This,
  1842. /* [in] */ REFIID riid,
  1843. /* [size_is][in] */ LPOLESTR *rgszNames,
  1844. /* [in] */ UINT cNames,
  1845. /* [in] */ LCID lcid,
  1846. /* [size_is][out] */ DISPID *rgDispId);
  1847. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1848. ITTAPICallCenter * This,
  1849. /* [in] */ DISPID dispIdMember,
  1850. /* [in] */ REFIID riid,
  1851. /* [in] */ LCID lcid,
  1852. /* [in] */ WORD wFlags,
  1853. /* [out][in] */ DISPPARAMS *pDispParams,
  1854. /* [out] */ VARIANT *pVarResult,
  1855. /* [out] */ EXCEPINFO *pExcepInfo,
  1856. /* [out] */ UINT *puArgErr);
  1857. /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateAgentHandlers )(
  1858. ITTAPICallCenter * This,
  1859. /* [retval][out] */ IEnumAgentHandler **ppEnumHandler);
  1860. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AgentHandlers )(
  1861. ITTAPICallCenter * This,
  1862. /* [retval][out] */ VARIANT *pVariant);
  1863. END_INTERFACE
  1864. } ITTAPICallCenterVtbl;
  1865. interface ITTAPICallCenter
  1866. {
  1867. CONST_VTBL struct ITTAPICallCenterVtbl *lpVtbl;
  1868. };
  1869. #ifdef COBJMACROS
  1870. #define ITTAPICallCenter_QueryInterface(This,riid,ppvObject) \
  1871. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1872. #define ITTAPICallCenter_AddRef(This) \
  1873. (This)->lpVtbl -> AddRef(This)
  1874. #define ITTAPICallCenter_Release(This) \
  1875. (This)->lpVtbl -> Release(This)
  1876. #define ITTAPICallCenter_GetTypeInfoCount(This,pctinfo) \
  1877. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1878. #define ITTAPICallCenter_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1879. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1880. #define ITTAPICallCenter_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1881. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1882. #define ITTAPICallCenter_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1883. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1884. #define ITTAPICallCenter_EnumerateAgentHandlers(This,ppEnumHandler) \
  1885. (This)->lpVtbl -> EnumerateAgentHandlers(This,ppEnumHandler)
  1886. #define ITTAPICallCenter_get_AgentHandlers(This,pVariant) \
  1887. (This)->lpVtbl -> get_AgentHandlers(This,pVariant)
  1888. #endif /* COBJMACROS */
  1889. #endif /* C style interface */
  1890. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITTAPICallCenter_EnumerateAgentHandlers_Proxy(
  1891. ITTAPICallCenter * This,
  1892. /* [retval][out] */ IEnumAgentHandler **ppEnumHandler);
  1893. void __RPC_STUB ITTAPICallCenter_EnumerateAgentHandlers_Stub(
  1894. IRpcStubBuffer *This,
  1895. IRpcChannelBuffer *_pRpcChannelBuffer,
  1896. PRPC_MESSAGE _pRpcMessage,
  1897. DWORD *_pdwStubPhase);
  1898. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTAPICallCenter_get_AgentHandlers_Proxy(
  1899. ITTAPICallCenter * This,
  1900. /* [retval][out] */ VARIANT *pVariant);
  1901. void __RPC_STUB ITTAPICallCenter_get_AgentHandlers_Stub(
  1902. IRpcStubBuffer *This,
  1903. IRpcChannelBuffer *_pRpcChannelBuffer,
  1904. PRPC_MESSAGE _pRpcMessage,
  1905. DWORD *_pdwStubPhase);
  1906. #endif /* __ITTAPICallCenter_INTERFACE_DEFINED__ */
  1907. #ifndef __ITAgentHandler_INTERFACE_DEFINED__
  1908. #define __ITAgentHandler_INTERFACE_DEFINED__
  1909. /* interface ITAgentHandler */
  1910. /* [object][dual][helpstring][uuid] */
  1911. EXTERN_C const IID IID_ITAgentHandler;
  1912. #if defined(__cplusplus) && !defined(CINTERFACE)
  1913. MIDL_INTERFACE("587E8C22-9802-11d1-A0A4-00805FC147D3")
  1914. ITAgentHandler : public IDispatch
  1915. {
  1916. public:
  1917. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name(
  1918. /* [retval][out] */ BSTR *ppName) = 0;
  1919. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateAgent(
  1920. /* [retval][out] */ ITAgent **ppAgent) = 0;
  1921. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateAgentWithID(
  1922. /* [in] */ BSTR pID,
  1923. /* [in] */ BSTR pPIN,
  1924. /* [retval][out] */ ITAgent **ppAgent) = 0;
  1925. virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateACDGroups(
  1926. /* [retval][out] */ IEnumACDGroup **ppEnumACDGroup) = 0;
  1927. virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateUsableAddresses(
  1928. /* [retval][out] */ IEnumAddress **ppEnumAddress) = 0;
  1929. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ACDGroups(
  1930. /* [retval][out] */ VARIANT *pVariant) = 0;
  1931. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_UsableAddresses(
  1932. /* [retval][out] */ VARIANT *pVariant) = 0;
  1933. };
  1934. #else /* C style interface */
  1935. typedef struct ITAgentHandlerVtbl
  1936. {
  1937. BEGIN_INTERFACE
  1938. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1939. ITAgentHandler * This,
  1940. /* [in] */ REFIID riid,
  1941. /* [iid_is][out] */ void **ppvObject);
  1942. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1943. ITAgentHandler * This);
  1944. ULONG ( STDMETHODCALLTYPE *Release )(
  1945. ITAgentHandler * This);
  1946. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1947. ITAgentHandler * This,
  1948. /* [out] */ UINT *pctinfo);
  1949. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1950. ITAgentHandler * This,
  1951. /* [in] */ UINT iTInfo,
  1952. /* [in] */ LCID lcid,
  1953. /* [out] */ ITypeInfo **ppTInfo);
  1954. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1955. ITAgentHandler * This,
  1956. /* [in] */ REFIID riid,
  1957. /* [size_is][in] */ LPOLESTR *rgszNames,
  1958. /* [in] */ UINT cNames,
  1959. /* [in] */ LCID lcid,
  1960. /* [size_is][out] */ DISPID *rgDispId);
  1961. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1962. ITAgentHandler * This,
  1963. /* [in] */ DISPID dispIdMember,
  1964. /* [in] */ REFIID riid,
  1965. /* [in] */ LCID lcid,
  1966. /* [in] */ WORD wFlags,
  1967. /* [out][in] */ DISPPARAMS *pDispParams,
  1968. /* [out] */ VARIANT *pVarResult,
  1969. /* [out] */ EXCEPINFO *pExcepInfo,
  1970. /* [out] */ UINT *puArgErr);
  1971. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  1972. ITAgentHandler * This,
  1973. /* [retval][out] */ BSTR *ppName);
  1974. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateAgent )(
  1975. ITAgentHandler * This,
  1976. /* [retval][out] */ ITAgent **ppAgent);
  1977. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateAgentWithID )(
  1978. ITAgentHandler * This,
  1979. /* [in] */ BSTR pID,
  1980. /* [in] */ BSTR pPIN,
  1981. /* [retval][out] */ ITAgent **ppAgent);
  1982. /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateACDGroups )(
  1983. ITAgentHandler * This,
  1984. /* [retval][out] */ IEnumACDGroup **ppEnumACDGroup);
  1985. /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateUsableAddresses )(
  1986. ITAgentHandler * This,
  1987. /* [retval][out] */ IEnumAddress **ppEnumAddress);
  1988. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ACDGroups )(
  1989. ITAgentHandler * This,
  1990. /* [retval][out] */ VARIANT *pVariant);
  1991. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UsableAddresses )(
  1992. ITAgentHandler * This,
  1993. /* [retval][out] */ VARIANT *pVariant);
  1994. END_INTERFACE
  1995. } ITAgentHandlerVtbl;
  1996. interface ITAgentHandler
  1997. {
  1998. CONST_VTBL struct ITAgentHandlerVtbl *lpVtbl;
  1999. };
  2000. #ifdef COBJMACROS
  2001. #define ITAgentHandler_QueryInterface(This,riid,ppvObject) \
  2002. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2003. #define ITAgentHandler_AddRef(This) \
  2004. (This)->lpVtbl -> AddRef(This)
  2005. #define ITAgentHandler_Release(This) \
  2006. (This)->lpVtbl -> Release(This)
  2007. #define ITAgentHandler_GetTypeInfoCount(This,pctinfo) \
  2008. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2009. #define ITAgentHandler_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2010. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2011. #define ITAgentHandler_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2012. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2013. #define ITAgentHandler_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2014. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2015. #define ITAgentHandler_get_Name(This,ppName) \
  2016. (This)->lpVtbl -> get_Name(This,ppName)
  2017. #define ITAgentHandler_CreateAgent(This,ppAgent) \
  2018. (This)->lpVtbl -> CreateAgent(This,ppAgent)
  2019. #define ITAgentHandler_CreateAgentWithID(This,pID,pPIN,ppAgent) \
  2020. (This)->lpVtbl -> CreateAgentWithID(This,pID,pPIN,ppAgent)
  2021. #define ITAgentHandler_EnumerateACDGroups(This,ppEnumACDGroup) \
  2022. (This)->lpVtbl -> EnumerateACDGroups(This,ppEnumACDGroup)
  2023. #define ITAgentHandler_EnumerateUsableAddresses(This,ppEnumAddress) \
  2024. (This)->lpVtbl -> EnumerateUsableAddresses(This,ppEnumAddress)
  2025. #define ITAgentHandler_get_ACDGroups(This,pVariant) \
  2026. (This)->lpVtbl -> get_ACDGroups(This,pVariant)
  2027. #define ITAgentHandler_get_UsableAddresses(This,pVariant) \
  2028. (This)->lpVtbl -> get_UsableAddresses(This,pVariant)
  2029. #endif /* COBJMACROS */
  2030. #endif /* C style interface */
  2031. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentHandler_get_Name_Proxy(
  2032. ITAgentHandler * This,
  2033. /* [retval][out] */ BSTR *ppName);
  2034. void __RPC_STUB ITAgentHandler_get_Name_Stub(
  2035. IRpcStubBuffer *This,
  2036. IRpcChannelBuffer *_pRpcChannelBuffer,
  2037. PRPC_MESSAGE _pRpcMessage,
  2038. DWORD *_pdwStubPhase);
  2039. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAgentHandler_CreateAgent_Proxy(
  2040. ITAgentHandler * This,
  2041. /* [retval][out] */ ITAgent **ppAgent);
  2042. void __RPC_STUB ITAgentHandler_CreateAgent_Stub(
  2043. IRpcStubBuffer *This,
  2044. IRpcChannelBuffer *_pRpcChannelBuffer,
  2045. PRPC_MESSAGE _pRpcMessage,
  2046. DWORD *_pdwStubPhase);
  2047. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAgentHandler_CreateAgentWithID_Proxy(
  2048. ITAgentHandler * This,
  2049. /* [in] */ BSTR pID,
  2050. /* [in] */ BSTR pPIN,
  2051. /* [retval][out] */ ITAgent **ppAgent);
  2052. void __RPC_STUB ITAgentHandler_CreateAgentWithID_Stub(
  2053. IRpcStubBuffer *This,
  2054. IRpcChannelBuffer *_pRpcChannelBuffer,
  2055. PRPC_MESSAGE _pRpcMessage,
  2056. DWORD *_pdwStubPhase);
  2057. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITAgentHandler_EnumerateACDGroups_Proxy(
  2058. ITAgentHandler * This,
  2059. /* [retval][out] */ IEnumACDGroup **ppEnumACDGroup);
  2060. void __RPC_STUB ITAgentHandler_EnumerateACDGroups_Stub(
  2061. IRpcStubBuffer *This,
  2062. IRpcChannelBuffer *_pRpcChannelBuffer,
  2063. PRPC_MESSAGE _pRpcMessage,
  2064. DWORD *_pdwStubPhase);
  2065. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITAgentHandler_EnumerateUsableAddresses_Proxy(
  2066. ITAgentHandler * This,
  2067. /* [retval][out] */ IEnumAddress **ppEnumAddress);
  2068. void __RPC_STUB ITAgentHandler_EnumerateUsableAddresses_Stub(
  2069. IRpcStubBuffer *This,
  2070. IRpcChannelBuffer *_pRpcChannelBuffer,
  2071. PRPC_MESSAGE _pRpcMessage,
  2072. DWORD *_pdwStubPhase);
  2073. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentHandler_get_ACDGroups_Proxy(
  2074. ITAgentHandler * This,
  2075. /* [retval][out] */ VARIANT *pVariant);
  2076. void __RPC_STUB ITAgentHandler_get_ACDGroups_Stub(
  2077. IRpcStubBuffer *This,
  2078. IRpcChannelBuffer *_pRpcChannelBuffer,
  2079. PRPC_MESSAGE _pRpcMessage,
  2080. DWORD *_pdwStubPhase);
  2081. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAgentHandler_get_UsableAddresses_Proxy(
  2082. ITAgentHandler * This,
  2083. /* [retval][out] */ VARIANT *pVariant);
  2084. void __RPC_STUB ITAgentHandler_get_UsableAddresses_Stub(
  2085. IRpcStubBuffer *This,
  2086. IRpcChannelBuffer *_pRpcChannelBuffer,
  2087. PRPC_MESSAGE _pRpcMessage,
  2088. DWORD *_pdwStubPhase);
  2089. #endif /* __ITAgentHandler_INTERFACE_DEFINED__ */
  2090. #ifndef __IEnumAgent_INTERFACE_DEFINED__
  2091. #define __IEnumAgent_INTERFACE_DEFINED__
  2092. /* interface IEnumAgent */
  2093. /* [object][unique][hidden][helpstring][uuid] */
  2094. EXTERN_C const IID IID_IEnumAgent;
  2095. #if defined(__cplusplus) && !defined(CINTERFACE)
  2096. MIDL_INTERFACE("5AFC314D-4BCC-11d1-BF80-00805FC147D3")
  2097. IEnumAgent : public IUnknown
  2098. {
  2099. public:
  2100. virtual HRESULT STDMETHODCALLTYPE Next(
  2101. /* [in] */ ULONG celt,
  2102. /* [out] */ ITAgent **ppElements,
  2103. /* [out] */ ULONG *pceltFetched) = 0;
  2104. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  2105. virtual HRESULT STDMETHODCALLTYPE Skip(
  2106. /* [in] */ ULONG celt) = 0;
  2107. virtual HRESULT STDMETHODCALLTYPE Clone(
  2108. /* [retval][out] */ IEnumAgent **ppEnum) = 0;
  2109. };
  2110. #else /* C style interface */
  2111. typedef struct IEnumAgentVtbl
  2112. {
  2113. BEGIN_INTERFACE
  2114. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2115. IEnumAgent * This,
  2116. /* [in] */ REFIID riid,
  2117. /* [iid_is][out] */ void **ppvObject);
  2118. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2119. IEnumAgent * This);
  2120. ULONG ( STDMETHODCALLTYPE *Release )(
  2121. IEnumAgent * This);
  2122. HRESULT ( STDMETHODCALLTYPE *Next )(
  2123. IEnumAgent * This,
  2124. /* [in] */ ULONG celt,
  2125. /* [out] */ ITAgent **ppElements,
  2126. /* [out] */ ULONG *pceltFetched);
  2127. HRESULT ( STDMETHODCALLTYPE *Reset )(
  2128. IEnumAgent * This);
  2129. HRESULT ( STDMETHODCALLTYPE *Skip )(
  2130. IEnumAgent * This,
  2131. /* [in] */ ULONG celt);
  2132. HRESULT ( STDMETHODCALLTYPE *Clone )(
  2133. IEnumAgent * This,
  2134. /* [retval][out] */ IEnumAgent **ppEnum);
  2135. END_INTERFACE
  2136. } IEnumAgentVtbl;
  2137. interface IEnumAgent
  2138. {
  2139. CONST_VTBL struct IEnumAgentVtbl *lpVtbl;
  2140. };
  2141. #ifdef COBJMACROS
  2142. #define IEnumAgent_QueryInterface(This,riid,ppvObject) \
  2143. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2144. #define IEnumAgent_AddRef(This) \
  2145. (This)->lpVtbl -> AddRef(This)
  2146. #define IEnumAgent_Release(This) \
  2147. (This)->lpVtbl -> Release(This)
  2148. #define IEnumAgent_Next(This,celt,ppElements,pceltFetched) \
  2149. (This)->lpVtbl -> Next(This,celt,ppElements,pceltFetched)
  2150. #define IEnumAgent_Reset(This) \
  2151. (This)->lpVtbl -> Reset(This)
  2152. #define IEnumAgent_Skip(This,celt) \
  2153. (This)->lpVtbl -> Skip(This,celt)
  2154. #define IEnumAgent_Clone(This,ppEnum) \
  2155. (This)->lpVtbl -> Clone(This,ppEnum)
  2156. #endif /* COBJMACROS */
  2157. #endif /* C style interface */
  2158. HRESULT STDMETHODCALLTYPE IEnumAgent_Next_Proxy(
  2159. IEnumAgent * This,
  2160. /* [in] */ ULONG celt,
  2161. /* [out] */ ITAgent **ppElements,
  2162. /* [out] */ ULONG *pceltFetched);
  2163. void __RPC_STUB IEnumAgent_Next_Stub(
  2164. IRpcStubBuffer *This,
  2165. IRpcChannelBuffer *_pRpcChannelBuffer,
  2166. PRPC_MESSAGE _pRpcMessage,
  2167. DWORD *_pdwStubPhase);
  2168. HRESULT STDMETHODCALLTYPE IEnumAgent_Reset_Proxy(
  2169. IEnumAgent * This);
  2170. void __RPC_STUB IEnumAgent_Reset_Stub(
  2171. IRpcStubBuffer *This,
  2172. IRpcChannelBuffer *_pRpcChannelBuffer,
  2173. PRPC_MESSAGE _pRpcMessage,
  2174. DWORD *_pdwStubPhase);
  2175. HRESULT STDMETHODCALLTYPE IEnumAgent_Skip_Proxy(
  2176. IEnumAgent * This,
  2177. /* [in] */ ULONG celt);
  2178. void __RPC_STUB IEnumAgent_Skip_Stub(
  2179. IRpcStubBuffer *This,
  2180. IRpcChannelBuffer *_pRpcChannelBuffer,
  2181. PRPC_MESSAGE _pRpcMessage,
  2182. DWORD *_pdwStubPhase);
  2183. HRESULT STDMETHODCALLTYPE IEnumAgent_Clone_Proxy(
  2184. IEnumAgent * This,
  2185. /* [retval][out] */ IEnumAgent **ppEnum);
  2186. void __RPC_STUB IEnumAgent_Clone_Stub(
  2187. IRpcStubBuffer *This,
  2188. IRpcChannelBuffer *_pRpcChannelBuffer,
  2189. PRPC_MESSAGE _pRpcMessage,
  2190. DWORD *_pdwStubPhase);
  2191. #endif /* __IEnumAgent_INTERFACE_DEFINED__ */
  2192. #ifndef __IEnumAgentSession_INTERFACE_DEFINED__
  2193. #define __IEnumAgentSession_INTERFACE_DEFINED__
  2194. /* interface IEnumAgentSession */
  2195. /* [object][unique][hidden][helpstring][uuid] */
  2196. EXTERN_C const IID IID_IEnumAgentSession;
  2197. #if defined(__cplusplus) && !defined(CINTERFACE)
  2198. MIDL_INTERFACE("5AFC314E-4BCC-11d1-BF80-00805FC147D3")
  2199. IEnumAgentSession : public IUnknown
  2200. {
  2201. public:
  2202. virtual HRESULT STDMETHODCALLTYPE Next(
  2203. /* [in] */ ULONG celt,
  2204. /* [out] */ ITAgentSession **ppElements,
  2205. /* [out] */ ULONG *pceltFetched) = 0;
  2206. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  2207. virtual HRESULT STDMETHODCALLTYPE Skip(
  2208. /* [in] */ ULONG celt) = 0;
  2209. virtual HRESULT STDMETHODCALLTYPE Clone(
  2210. /* [retval][out] */ IEnumAgentSession **ppEnum) = 0;
  2211. };
  2212. #else /* C style interface */
  2213. typedef struct IEnumAgentSessionVtbl
  2214. {
  2215. BEGIN_INTERFACE
  2216. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2217. IEnumAgentSession * This,
  2218. /* [in] */ REFIID riid,
  2219. /* [iid_is][out] */ void **ppvObject);
  2220. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2221. IEnumAgentSession * This);
  2222. ULONG ( STDMETHODCALLTYPE *Release )(
  2223. IEnumAgentSession * This);
  2224. HRESULT ( STDMETHODCALLTYPE *Next )(
  2225. IEnumAgentSession * This,
  2226. /* [in] */ ULONG celt,
  2227. /* [out] */ ITAgentSession **ppElements,
  2228. /* [out] */ ULONG *pceltFetched);
  2229. HRESULT ( STDMETHODCALLTYPE *Reset )(
  2230. IEnumAgentSession * This);
  2231. HRESULT ( STDMETHODCALLTYPE *Skip )(
  2232. IEnumAgentSession * This,
  2233. /* [in] */ ULONG celt);
  2234. HRESULT ( STDMETHODCALLTYPE *Clone )(
  2235. IEnumAgentSession * This,
  2236. /* [retval][out] */ IEnumAgentSession **ppEnum);
  2237. END_INTERFACE
  2238. } IEnumAgentSessionVtbl;
  2239. interface IEnumAgentSession
  2240. {
  2241. CONST_VTBL struct IEnumAgentSessionVtbl *lpVtbl;
  2242. };
  2243. #ifdef COBJMACROS
  2244. #define IEnumAgentSession_QueryInterface(This,riid,ppvObject) \
  2245. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2246. #define IEnumAgentSession_AddRef(This) \
  2247. (This)->lpVtbl -> AddRef(This)
  2248. #define IEnumAgentSession_Release(This) \
  2249. (This)->lpVtbl -> Release(This)
  2250. #define IEnumAgentSession_Next(This,celt,ppElements,pceltFetched) \
  2251. (This)->lpVtbl -> Next(This,celt,ppElements,pceltFetched)
  2252. #define IEnumAgentSession_Reset(This) \
  2253. (This)->lpVtbl -> Reset(This)
  2254. #define IEnumAgentSession_Skip(This,celt) \
  2255. (This)->lpVtbl -> Skip(This,celt)
  2256. #define IEnumAgentSession_Clone(This,ppEnum) \
  2257. (This)->lpVtbl -> Clone(This,ppEnum)
  2258. #endif /* COBJMACROS */
  2259. #endif /* C style interface */
  2260. HRESULT STDMETHODCALLTYPE IEnumAgentSession_Next_Proxy(
  2261. IEnumAgentSession * This,
  2262. /* [in] */ ULONG celt,
  2263. /* [out] */ ITAgentSession **ppElements,
  2264. /* [out] */ ULONG *pceltFetched);
  2265. void __RPC_STUB IEnumAgentSession_Next_Stub(
  2266. IRpcStubBuffer *This,
  2267. IRpcChannelBuffer *_pRpcChannelBuffer,
  2268. PRPC_MESSAGE _pRpcMessage,
  2269. DWORD *_pdwStubPhase);
  2270. HRESULT STDMETHODCALLTYPE IEnumAgentSession_Reset_Proxy(
  2271. IEnumAgentSession * This);
  2272. void __RPC_STUB IEnumAgentSession_Reset_Stub(
  2273. IRpcStubBuffer *This,
  2274. IRpcChannelBuffer *_pRpcChannelBuffer,
  2275. PRPC_MESSAGE _pRpcMessage,
  2276. DWORD *_pdwStubPhase);
  2277. HRESULT STDMETHODCALLTYPE IEnumAgentSession_Skip_Proxy(
  2278. IEnumAgentSession * This,
  2279. /* [in] */ ULONG celt);
  2280. void __RPC_STUB IEnumAgentSession_Skip_Stub(
  2281. IRpcStubBuffer *This,
  2282. IRpcChannelBuffer *_pRpcChannelBuffer,
  2283. PRPC_MESSAGE _pRpcMessage,
  2284. DWORD *_pdwStubPhase);
  2285. HRESULT STDMETHODCALLTYPE IEnumAgentSession_Clone_Proxy(
  2286. IEnumAgentSession * This,
  2287. /* [retval][out] */ IEnumAgentSession **ppEnum);
  2288. void __RPC_STUB IEnumAgentSession_Clone_Stub(
  2289. IRpcStubBuffer *This,
  2290. IRpcChannelBuffer *_pRpcChannelBuffer,
  2291. PRPC_MESSAGE _pRpcMessage,
  2292. DWORD *_pdwStubPhase);
  2293. #endif /* __IEnumAgentSession_INTERFACE_DEFINED__ */
  2294. #ifndef __IEnumQueue_INTERFACE_DEFINED__
  2295. #define __IEnumQueue_INTERFACE_DEFINED__
  2296. /* interface IEnumQueue */
  2297. /* [object][unique][hidden][helpstring][uuid] */
  2298. EXTERN_C const IID IID_IEnumQueue;
  2299. #if defined(__cplusplus) && !defined(CINTERFACE)
  2300. MIDL_INTERFACE("5AFC3158-4BCC-11d1-BF80-00805FC147D3")
  2301. IEnumQueue : public IUnknown
  2302. {
  2303. public:
  2304. virtual HRESULT STDMETHODCALLTYPE Next(
  2305. /* [in] */ ULONG celt,
  2306. /* [out] */ ITQueue **ppElements,
  2307. /* [out] */ ULONG *pceltFetched) = 0;
  2308. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  2309. virtual HRESULT STDMETHODCALLTYPE Skip(
  2310. /* [in] */ ULONG celt) = 0;
  2311. virtual HRESULT STDMETHODCALLTYPE Clone(
  2312. /* [retval][out] */ IEnumQueue **ppEnum) = 0;
  2313. };
  2314. #else /* C style interface */
  2315. typedef struct IEnumQueueVtbl
  2316. {
  2317. BEGIN_INTERFACE
  2318. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2319. IEnumQueue * This,
  2320. /* [in] */ REFIID riid,
  2321. /* [iid_is][out] */ void **ppvObject);
  2322. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2323. IEnumQueue * This);
  2324. ULONG ( STDMETHODCALLTYPE *Release )(
  2325. IEnumQueue * This);
  2326. HRESULT ( STDMETHODCALLTYPE *Next )(
  2327. IEnumQueue * This,
  2328. /* [in] */ ULONG celt,
  2329. /* [out] */ ITQueue **ppElements,
  2330. /* [out] */ ULONG *pceltFetched);
  2331. HRESULT ( STDMETHODCALLTYPE *Reset )(
  2332. IEnumQueue * This);
  2333. HRESULT ( STDMETHODCALLTYPE *Skip )(
  2334. IEnumQueue * This,
  2335. /* [in] */ ULONG celt);
  2336. HRESULT ( STDMETHODCALLTYPE *Clone )(
  2337. IEnumQueue * This,
  2338. /* [retval][out] */ IEnumQueue **ppEnum);
  2339. END_INTERFACE
  2340. } IEnumQueueVtbl;
  2341. interface IEnumQueue
  2342. {
  2343. CONST_VTBL struct IEnumQueueVtbl *lpVtbl;
  2344. };
  2345. #ifdef COBJMACROS
  2346. #define IEnumQueue_QueryInterface(This,riid,ppvObject) \
  2347. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2348. #define IEnumQueue_AddRef(This) \
  2349. (This)->lpVtbl -> AddRef(This)
  2350. #define IEnumQueue_Release(This) \
  2351. (This)->lpVtbl -> Release(This)
  2352. #define IEnumQueue_Next(This,celt,ppElements,pceltFetched) \
  2353. (This)->lpVtbl -> Next(This,celt,ppElements,pceltFetched)
  2354. #define IEnumQueue_Reset(This) \
  2355. (This)->lpVtbl -> Reset(This)
  2356. #define IEnumQueue_Skip(This,celt) \
  2357. (This)->lpVtbl -> Skip(This,celt)
  2358. #define IEnumQueue_Clone(This,ppEnum) \
  2359. (This)->lpVtbl -> Clone(This,ppEnum)
  2360. #endif /* COBJMACROS */
  2361. #endif /* C style interface */
  2362. HRESULT STDMETHODCALLTYPE IEnumQueue_Next_Proxy(
  2363. IEnumQueue * This,
  2364. /* [in] */ ULONG celt,
  2365. /* [out] */ ITQueue **ppElements,
  2366. /* [out] */ ULONG *pceltFetched);
  2367. void __RPC_STUB IEnumQueue_Next_Stub(
  2368. IRpcStubBuffer *This,
  2369. IRpcChannelBuffer *_pRpcChannelBuffer,
  2370. PRPC_MESSAGE _pRpcMessage,
  2371. DWORD *_pdwStubPhase);
  2372. HRESULT STDMETHODCALLTYPE IEnumQueue_Reset_Proxy(
  2373. IEnumQueue * This);
  2374. void __RPC_STUB IEnumQueue_Reset_Stub(
  2375. IRpcStubBuffer *This,
  2376. IRpcChannelBuffer *_pRpcChannelBuffer,
  2377. PRPC_MESSAGE _pRpcMessage,
  2378. DWORD *_pdwStubPhase);
  2379. HRESULT STDMETHODCALLTYPE IEnumQueue_Skip_Proxy(
  2380. IEnumQueue * This,
  2381. /* [in] */ ULONG celt);
  2382. void __RPC_STUB IEnumQueue_Skip_Stub(
  2383. IRpcStubBuffer *This,
  2384. IRpcChannelBuffer *_pRpcChannelBuffer,
  2385. PRPC_MESSAGE _pRpcMessage,
  2386. DWORD *_pdwStubPhase);
  2387. HRESULT STDMETHODCALLTYPE IEnumQueue_Clone_Proxy(
  2388. IEnumQueue * This,
  2389. /* [retval][out] */ IEnumQueue **ppEnum);
  2390. void __RPC_STUB IEnumQueue_Clone_Stub(
  2391. IRpcStubBuffer *This,
  2392. IRpcChannelBuffer *_pRpcChannelBuffer,
  2393. PRPC_MESSAGE _pRpcMessage,
  2394. DWORD *_pdwStubPhase);
  2395. #endif /* __IEnumQueue_INTERFACE_DEFINED__ */
  2396. #ifndef __IEnumACDGroup_INTERFACE_DEFINED__
  2397. #define __IEnumACDGroup_INTERFACE_DEFINED__
  2398. /* interface IEnumACDGroup */
  2399. /* [object][unique][hidden][helpstring][uuid] */
  2400. EXTERN_C const IID IID_IEnumACDGroup;
  2401. #if defined(__cplusplus) && !defined(CINTERFACE)
  2402. MIDL_INTERFACE("5AFC3157-4BCC-11d1-BF80-00805FC147D3")
  2403. IEnumACDGroup : public IUnknown
  2404. {
  2405. public:
  2406. virtual HRESULT STDMETHODCALLTYPE Next(
  2407. /* [in] */ ULONG celt,
  2408. /* [out] */ ITACDGroup **ppElements,
  2409. /* [out] */ ULONG *pceltFetched) = 0;
  2410. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  2411. virtual HRESULT STDMETHODCALLTYPE Skip(
  2412. /* [in] */ ULONG celt) = 0;
  2413. virtual HRESULT STDMETHODCALLTYPE Clone(
  2414. /* [retval][out] */ IEnumACDGroup **ppEnum) = 0;
  2415. };
  2416. #else /* C style interface */
  2417. typedef struct IEnumACDGroupVtbl
  2418. {
  2419. BEGIN_INTERFACE
  2420. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2421. IEnumACDGroup * This,
  2422. /* [in] */ REFIID riid,
  2423. /* [iid_is][out] */ void **ppvObject);
  2424. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2425. IEnumACDGroup * This);
  2426. ULONG ( STDMETHODCALLTYPE *Release )(
  2427. IEnumACDGroup * This);
  2428. HRESULT ( STDMETHODCALLTYPE *Next )(
  2429. IEnumACDGroup * This,
  2430. /* [in] */ ULONG celt,
  2431. /* [out] */ ITACDGroup **ppElements,
  2432. /* [out] */ ULONG *pceltFetched);
  2433. HRESULT ( STDMETHODCALLTYPE *Reset )(
  2434. IEnumACDGroup * This);
  2435. HRESULT ( STDMETHODCALLTYPE *Skip )(
  2436. IEnumACDGroup * This,
  2437. /* [in] */ ULONG celt);
  2438. HRESULT ( STDMETHODCALLTYPE *Clone )(
  2439. IEnumACDGroup * This,
  2440. /* [retval][out] */ IEnumACDGroup **ppEnum);
  2441. END_INTERFACE
  2442. } IEnumACDGroupVtbl;
  2443. interface IEnumACDGroup
  2444. {
  2445. CONST_VTBL struct IEnumACDGroupVtbl *lpVtbl;
  2446. };
  2447. #ifdef COBJMACROS
  2448. #define IEnumACDGroup_QueryInterface(This,riid,ppvObject) \
  2449. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2450. #define IEnumACDGroup_AddRef(This) \
  2451. (This)->lpVtbl -> AddRef(This)
  2452. #define IEnumACDGroup_Release(This) \
  2453. (This)->lpVtbl -> Release(This)
  2454. #define IEnumACDGroup_Next(This,celt,ppElements,pceltFetched) \
  2455. (This)->lpVtbl -> Next(This,celt,ppElements,pceltFetched)
  2456. #define IEnumACDGroup_Reset(This) \
  2457. (This)->lpVtbl -> Reset(This)
  2458. #define IEnumACDGroup_Skip(This,celt) \
  2459. (This)->lpVtbl -> Skip(This,celt)
  2460. #define IEnumACDGroup_Clone(This,ppEnum) \
  2461. (This)->lpVtbl -> Clone(This,ppEnum)
  2462. #endif /* COBJMACROS */
  2463. #endif /* C style interface */
  2464. HRESULT STDMETHODCALLTYPE IEnumACDGroup_Next_Proxy(
  2465. IEnumACDGroup * This,
  2466. /* [in] */ ULONG celt,
  2467. /* [out] */ ITACDGroup **ppElements,
  2468. /* [out] */ ULONG *pceltFetched);
  2469. void __RPC_STUB IEnumACDGroup_Next_Stub(
  2470. IRpcStubBuffer *This,
  2471. IRpcChannelBuffer *_pRpcChannelBuffer,
  2472. PRPC_MESSAGE _pRpcMessage,
  2473. DWORD *_pdwStubPhase);
  2474. HRESULT STDMETHODCALLTYPE IEnumACDGroup_Reset_Proxy(
  2475. IEnumACDGroup * This);
  2476. void __RPC_STUB IEnumACDGroup_Reset_Stub(
  2477. IRpcStubBuffer *This,
  2478. IRpcChannelBuffer *_pRpcChannelBuffer,
  2479. PRPC_MESSAGE _pRpcMessage,
  2480. DWORD *_pdwStubPhase);
  2481. HRESULT STDMETHODCALLTYPE IEnumACDGroup_Skip_Proxy(
  2482. IEnumACDGroup * This,
  2483. /* [in] */ ULONG celt);
  2484. void __RPC_STUB IEnumACDGroup_Skip_Stub(
  2485. IRpcStubBuffer *This,
  2486. IRpcChannelBuffer *_pRpcChannelBuffer,
  2487. PRPC_MESSAGE _pRpcMessage,
  2488. DWORD *_pdwStubPhase);
  2489. HRESULT STDMETHODCALLTYPE IEnumACDGroup_Clone_Proxy(
  2490. IEnumACDGroup * This,
  2491. /* [retval][out] */ IEnumACDGroup **ppEnum);
  2492. void __RPC_STUB IEnumACDGroup_Clone_Stub(
  2493. IRpcStubBuffer *This,
  2494. IRpcChannelBuffer *_pRpcChannelBuffer,
  2495. PRPC_MESSAGE _pRpcMessage,
  2496. DWORD *_pdwStubPhase);
  2497. #endif /* __IEnumACDGroup_INTERFACE_DEFINED__ */
  2498. #ifndef __IEnumAgentHandler_INTERFACE_DEFINED__
  2499. #define __IEnumAgentHandler_INTERFACE_DEFINED__
  2500. /* interface IEnumAgentHandler */
  2501. /* [object][unique][hidden][helpstring][uuid] */
  2502. EXTERN_C const IID IID_IEnumAgentHandler;
  2503. #if defined(__cplusplus) && !defined(CINTERFACE)
  2504. MIDL_INTERFACE("587E8C28-9802-11d1-A0A4-00805FC147D3")
  2505. IEnumAgentHandler : public IUnknown
  2506. {
  2507. public:
  2508. virtual HRESULT STDMETHODCALLTYPE Next(
  2509. /* [in] */ ULONG celt,
  2510. /* [out] */ ITAgentHandler **ppElements,
  2511. /* [out] */ ULONG *pceltFetched) = 0;
  2512. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  2513. virtual HRESULT STDMETHODCALLTYPE Skip(
  2514. /* [in] */ ULONG celt) = 0;
  2515. virtual HRESULT STDMETHODCALLTYPE Clone(
  2516. /* [retval][out] */ IEnumAgentHandler **ppEnum) = 0;
  2517. };
  2518. #else /* C style interface */
  2519. typedef struct IEnumAgentHandlerVtbl
  2520. {
  2521. BEGIN_INTERFACE
  2522. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2523. IEnumAgentHandler * This,
  2524. /* [in] */ REFIID riid,
  2525. /* [iid_is][out] */ void **ppvObject);
  2526. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2527. IEnumAgentHandler * This);
  2528. ULONG ( STDMETHODCALLTYPE *Release )(
  2529. IEnumAgentHandler * This);
  2530. HRESULT ( STDMETHODCALLTYPE *Next )(
  2531. IEnumAgentHandler * This,
  2532. /* [in] */ ULONG celt,
  2533. /* [out] */ ITAgentHandler **ppElements,
  2534. /* [out] */ ULONG *pceltFetched);
  2535. HRESULT ( STDMETHODCALLTYPE *Reset )(
  2536. IEnumAgentHandler * This);
  2537. HRESULT ( STDMETHODCALLTYPE *Skip )(
  2538. IEnumAgentHandler * This,
  2539. /* [in] */ ULONG celt);
  2540. HRESULT ( STDMETHODCALLTYPE *Clone )(
  2541. IEnumAgentHandler * This,
  2542. /* [retval][out] */ IEnumAgentHandler **ppEnum);
  2543. END_INTERFACE
  2544. } IEnumAgentHandlerVtbl;
  2545. interface IEnumAgentHandler
  2546. {
  2547. CONST_VTBL struct IEnumAgentHandlerVtbl *lpVtbl;
  2548. };
  2549. #ifdef COBJMACROS
  2550. #define IEnumAgentHandler_QueryInterface(This,riid,ppvObject) \
  2551. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2552. #define IEnumAgentHandler_AddRef(This) \
  2553. (This)->lpVtbl -> AddRef(This)
  2554. #define IEnumAgentHandler_Release(This) \
  2555. (This)->lpVtbl -> Release(This)
  2556. #define IEnumAgentHandler_Next(This,celt,ppElements,pceltFetched) \
  2557. (This)->lpVtbl -> Next(This,celt,ppElements,pceltFetched)
  2558. #define IEnumAgentHandler_Reset(This) \
  2559. (This)->lpVtbl -> Reset(This)
  2560. #define IEnumAgentHandler_Skip(This,celt) \
  2561. (This)->lpVtbl -> Skip(This,celt)
  2562. #define IEnumAgentHandler_Clone(This,ppEnum) \
  2563. (This)->lpVtbl -> Clone(This,ppEnum)
  2564. #endif /* COBJMACROS */
  2565. #endif /* C style interface */
  2566. HRESULT STDMETHODCALLTYPE IEnumAgentHandler_Next_Proxy(
  2567. IEnumAgentHandler * This,
  2568. /* [in] */ ULONG celt,
  2569. /* [out] */ ITAgentHandler **ppElements,
  2570. /* [out] */ ULONG *pceltFetched);
  2571. void __RPC_STUB IEnumAgentHandler_Next_Stub(
  2572. IRpcStubBuffer *This,
  2573. IRpcChannelBuffer *_pRpcChannelBuffer,
  2574. PRPC_MESSAGE _pRpcMessage,
  2575. DWORD *_pdwStubPhase);
  2576. HRESULT STDMETHODCALLTYPE IEnumAgentHandler_Reset_Proxy(
  2577. IEnumAgentHandler * This);
  2578. void __RPC_STUB IEnumAgentHandler_Reset_Stub(
  2579. IRpcStubBuffer *This,
  2580. IRpcChannelBuffer *_pRpcChannelBuffer,
  2581. PRPC_MESSAGE _pRpcMessage,
  2582. DWORD *_pdwStubPhase);
  2583. HRESULT STDMETHODCALLTYPE IEnumAgentHandler_Skip_Proxy(
  2584. IEnumAgentHandler * This,
  2585. /* [in] */ ULONG celt);
  2586. void __RPC_STUB IEnumAgentHandler_Skip_Stub(
  2587. IRpcStubBuffer *This,
  2588. IRpcChannelBuffer *_pRpcChannelBuffer,
  2589. PRPC_MESSAGE _pRpcMessage,
  2590. DWORD *_pdwStubPhase);
  2591. HRESULT STDMETHODCALLTYPE IEnumAgentHandler_Clone_Proxy(
  2592. IEnumAgentHandler * This,
  2593. /* [retval][out] */ IEnumAgentHandler **ppEnum);
  2594. void __RPC_STUB IEnumAgentHandler_Clone_Stub(
  2595. IRpcStubBuffer *This,
  2596. IRpcChannelBuffer *_pRpcChannelBuffer,
  2597. PRPC_MESSAGE _pRpcMessage,
  2598. DWORD *_pdwStubPhase);
  2599. #endif /* __IEnumAgentHandler_INTERFACE_DEFINED__ */
  2600. /* interface __MIDL_itf_tapi3_0513 */
  2601. /* [local] */
  2602. /* Copyright (c) Microsoft Corporation. All rights reserved. */
  2603. extern RPC_IF_HANDLE __MIDL_itf_tapi3_0513_v0_0_c_ifspec;
  2604. extern RPC_IF_HANDLE __MIDL_itf_tapi3_0513_v0_0_s_ifspec;
  2605. #ifndef __ITAMMediaFormat_INTERFACE_DEFINED__
  2606. #define __ITAMMediaFormat_INTERFACE_DEFINED__
  2607. /* interface ITAMMediaFormat */
  2608. /* [object][helpstring][uuid] */
  2609. EXTERN_C const IID IID_ITAMMediaFormat;
  2610. #if defined(__cplusplus) && !defined(CINTERFACE)
  2611. MIDL_INTERFACE("0364EB00-4A77-11D1-A671-006097C9A2E8")
  2612. ITAMMediaFormat : public IUnknown
  2613. {
  2614. public:
  2615. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MediaFormat(
  2616. /* [retval][out] */ AM_MEDIA_TYPE **ppmt) = 0;
  2617. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_MediaFormat(
  2618. /* [in] */ const AM_MEDIA_TYPE *pmt) = 0;
  2619. };
  2620. #else /* C style interface */
  2621. typedef struct ITAMMediaFormatVtbl
  2622. {
  2623. BEGIN_INTERFACE
  2624. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2625. ITAMMediaFormat * This,
  2626. /* [in] */ REFIID riid,
  2627. /* [iid_is][out] */ void **ppvObject);
  2628. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2629. ITAMMediaFormat * This);
  2630. ULONG ( STDMETHODCALLTYPE *Release )(
  2631. ITAMMediaFormat * This);
  2632. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MediaFormat )(
  2633. ITAMMediaFormat * This,
  2634. /* [retval][out] */ AM_MEDIA_TYPE **ppmt);
  2635. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MediaFormat )(
  2636. ITAMMediaFormat * This,
  2637. /* [in] */ const AM_MEDIA_TYPE *pmt);
  2638. END_INTERFACE
  2639. } ITAMMediaFormatVtbl;
  2640. interface ITAMMediaFormat
  2641. {
  2642. CONST_VTBL struct ITAMMediaFormatVtbl *lpVtbl;
  2643. };
  2644. #ifdef COBJMACROS
  2645. #define ITAMMediaFormat_QueryInterface(This,riid,ppvObject) \
  2646. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2647. #define ITAMMediaFormat_AddRef(This) \
  2648. (This)->lpVtbl -> AddRef(This)
  2649. #define ITAMMediaFormat_Release(This) \
  2650. (This)->lpVtbl -> Release(This)
  2651. #define ITAMMediaFormat_get_MediaFormat(This,ppmt) \
  2652. (This)->lpVtbl -> get_MediaFormat(This,ppmt)
  2653. #define ITAMMediaFormat_put_MediaFormat(This,pmt) \
  2654. (This)->lpVtbl -> put_MediaFormat(This,pmt)
  2655. #endif /* COBJMACROS */
  2656. #endif /* C style interface */
  2657. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAMMediaFormat_get_MediaFormat_Proxy(
  2658. ITAMMediaFormat * This,
  2659. /* [retval][out] */ AM_MEDIA_TYPE **ppmt);
  2660. void __RPC_STUB ITAMMediaFormat_get_MediaFormat_Stub(
  2661. IRpcStubBuffer *This,
  2662. IRpcChannelBuffer *_pRpcChannelBuffer,
  2663. PRPC_MESSAGE _pRpcMessage,
  2664. DWORD *_pdwStubPhase);
  2665. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITAMMediaFormat_put_MediaFormat_Proxy(
  2666. ITAMMediaFormat * This,
  2667. /* [in] */ const AM_MEDIA_TYPE *pmt);
  2668. void __RPC_STUB ITAMMediaFormat_put_MediaFormat_Stub(
  2669. IRpcStubBuffer *This,
  2670. IRpcChannelBuffer *_pRpcChannelBuffer,
  2671. PRPC_MESSAGE _pRpcMessage,
  2672. DWORD *_pdwStubPhase);
  2673. #endif /* __ITAMMediaFormat_INTERFACE_DEFINED__ */
  2674. #ifndef __ITAllocatorProperties_INTERFACE_DEFINED__
  2675. #define __ITAllocatorProperties_INTERFACE_DEFINED__
  2676. /* interface ITAllocatorProperties */
  2677. /* [object][helpstring][uuid] */
  2678. EXTERN_C const IID IID_ITAllocatorProperties;
  2679. #if defined(__cplusplus) && !defined(CINTERFACE)
  2680. MIDL_INTERFACE("C1BC3C90-BCFE-11D1-9745-00C04FD91AC0")
  2681. ITAllocatorProperties : public IUnknown
  2682. {
  2683. public:
  2684. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetAllocatorProperties(
  2685. /* [in] */ ALLOCATOR_PROPERTIES *pAllocProperties) = 0;
  2686. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetAllocatorProperties(
  2687. /* [out] */ ALLOCATOR_PROPERTIES *pAllocProperties) = 0;
  2688. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetAllocateBuffers(
  2689. /* [in] */ BOOL bAllocBuffers) = 0;
  2690. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetAllocateBuffers(
  2691. /* [out] */ BOOL *pbAllocBuffers) = 0;
  2692. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetBufferSize(
  2693. /* [in] */ DWORD BufferSize) = 0;
  2694. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetBufferSize(
  2695. /* [out] */ DWORD *pBufferSize) = 0;
  2696. };
  2697. #else /* C style interface */
  2698. typedef struct ITAllocatorPropertiesVtbl
  2699. {
  2700. BEGIN_INTERFACE
  2701. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2702. ITAllocatorProperties * This,
  2703. /* [in] */ REFIID riid,
  2704. /* [iid_is][out] */ void **ppvObject);
  2705. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2706. ITAllocatorProperties * This);
  2707. ULONG ( STDMETHODCALLTYPE *Release )(
  2708. ITAllocatorProperties * This);
  2709. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetAllocatorProperties )(
  2710. ITAllocatorProperties * This,
  2711. /* [in] */ ALLOCATOR_PROPERTIES *pAllocProperties);
  2712. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetAllocatorProperties )(
  2713. ITAllocatorProperties * This,
  2714. /* [out] */ ALLOCATOR_PROPERTIES *pAllocProperties);
  2715. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetAllocateBuffers )(
  2716. ITAllocatorProperties * This,
  2717. /* [in] */ BOOL bAllocBuffers);
  2718. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetAllocateBuffers )(
  2719. ITAllocatorProperties * This,
  2720. /* [out] */ BOOL *pbAllocBuffers);
  2721. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetBufferSize )(
  2722. ITAllocatorProperties * This,
  2723. /* [in] */ DWORD BufferSize);
  2724. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetBufferSize )(
  2725. ITAllocatorProperties * This,
  2726. /* [out] */ DWORD *pBufferSize);
  2727. END_INTERFACE
  2728. } ITAllocatorPropertiesVtbl;
  2729. interface ITAllocatorProperties
  2730. {
  2731. CONST_VTBL struct ITAllocatorPropertiesVtbl *lpVtbl;
  2732. };
  2733. #ifdef COBJMACROS
  2734. #define ITAllocatorProperties_QueryInterface(This,riid,ppvObject) \
  2735. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2736. #define ITAllocatorProperties_AddRef(This) \
  2737. (This)->lpVtbl -> AddRef(This)
  2738. #define ITAllocatorProperties_Release(This) \
  2739. (This)->lpVtbl -> Release(This)
  2740. #define ITAllocatorProperties_SetAllocatorProperties(This,pAllocProperties) \
  2741. (This)->lpVtbl -> SetAllocatorProperties(This,pAllocProperties)
  2742. #define ITAllocatorProperties_GetAllocatorProperties(This,pAllocProperties) \
  2743. (This)->lpVtbl -> GetAllocatorProperties(This,pAllocProperties)
  2744. #define ITAllocatorProperties_SetAllocateBuffers(This,bAllocBuffers) \
  2745. (This)->lpVtbl -> SetAllocateBuffers(This,bAllocBuffers)
  2746. #define ITAllocatorProperties_GetAllocateBuffers(This,pbAllocBuffers) \
  2747. (This)->lpVtbl -> GetAllocateBuffers(This,pbAllocBuffers)
  2748. #define ITAllocatorProperties_SetBufferSize(This,BufferSize) \
  2749. (This)->lpVtbl -> SetBufferSize(This,BufferSize)
  2750. #define ITAllocatorProperties_GetBufferSize(This,pBufferSize) \
  2751. (This)->lpVtbl -> GetBufferSize(This,pBufferSize)
  2752. #endif /* COBJMACROS */
  2753. #endif /* C style interface */
  2754. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAllocatorProperties_SetAllocatorProperties_Proxy(
  2755. ITAllocatorProperties * This,
  2756. /* [in] */ ALLOCATOR_PROPERTIES *pAllocProperties);
  2757. void __RPC_STUB ITAllocatorProperties_SetAllocatorProperties_Stub(
  2758. IRpcStubBuffer *This,
  2759. IRpcChannelBuffer *_pRpcChannelBuffer,
  2760. PRPC_MESSAGE _pRpcMessage,
  2761. DWORD *_pdwStubPhase);
  2762. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAllocatorProperties_GetAllocatorProperties_Proxy(
  2763. ITAllocatorProperties * This,
  2764. /* [out] */ ALLOCATOR_PROPERTIES *pAllocProperties);
  2765. void __RPC_STUB ITAllocatorProperties_GetAllocatorProperties_Stub(
  2766. IRpcStubBuffer *This,
  2767. IRpcChannelBuffer *_pRpcChannelBuffer,
  2768. PRPC_MESSAGE _pRpcMessage,
  2769. DWORD *_pdwStubPhase);
  2770. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAllocatorProperties_SetAllocateBuffers_Proxy(
  2771. ITAllocatorProperties * This,
  2772. /* [in] */ BOOL bAllocBuffers);
  2773. void __RPC_STUB ITAllocatorProperties_SetAllocateBuffers_Stub(
  2774. IRpcStubBuffer *This,
  2775. IRpcChannelBuffer *_pRpcChannelBuffer,
  2776. PRPC_MESSAGE _pRpcMessage,
  2777. DWORD *_pdwStubPhase);
  2778. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAllocatorProperties_GetAllocateBuffers_Proxy(
  2779. ITAllocatorProperties * This,
  2780. /* [out] */ BOOL *pbAllocBuffers);
  2781. void __RPC_STUB ITAllocatorProperties_GetAllocateBuffers_Stub(
  2782. IRpcStubBuffer *This,
  2783. IRpcChannelBuffer *_pRpcChannelBuffer,
  2784. PRPC_MESSAGE _pRpcMessage,
  2785. DWORD *_pdwStubPhase);
  2786. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAllocatorProperties_SetBufferSize_Proxy(
  2787. ITAllocatorProperties * This,
  2788. /* [in] */ DWORD BufferSize);
  2789. void __RPC_STUB ITAllocatorProperties_SetBufferSize_Stub(
  2790. IRpcStubBuffer *This,
  2791. IRpcChannelBuffer *_pRpcChannelBuffer,
  2792. PRPC_MESSAGE _pRpcMessage,
  2793. DWORD *_pdwStubPhase);
  2794. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAllocatorProperties_GetBufferSize_Proxy(
  2795. ITAllocatorProperties * This,
  2796. /* [out] */ DWORD *pBufferSize);
  2797. void __RPC_STUB ITAllocatorProperties_GetBufferSize_Stub(
  2798. IRpcStubBuffer *This,
  2799. IRpcChannelBuffer *_pRpcChannelBuffer,
  2800. PRPC_MESSAGE _pRpcMessage,
  2801. DWORD *_pdwStubPhase);
  2802. #endif /* __ITAllocatorProperties_INTERFACE_DEFINED__ */
  2803. /* interface __MIDL_itf_tapi3_0517 */
  2804. /* [local] */
  2805. /* Copyright (c) Microsoft Corporation. All rights reserved.*/
  2806. typedef long *MSP_HANDLE;
  2807. typedef /* [public][public][public] */
  2808. enum __MIDL___MIDL_itf_tapi3_0517_0001
  2809. { ADDRESS_TERMINAL_AVAILABLE = 0,
  2810. ADDRESS_TERMINAL_UNAVAILABLE = ADDRESS_TERMINAL_AVAILABLE + 1
  2811. } MSP_ADDRESS_EVENT;
  2812. typedef /* [public][public][public] */
  2813. enum __MIDL___MIDL_itf_tapi3_0517_0002
  2814. { CALL_NEW_STREAM = 0,
  2815. CALL_STREAM_FAIL = CALL_NEW_STREAM + 1,
  2816. CALL_TERMINAL_FAIL = CALL_STREAM_FAIL + 1,
  2817. CALL_STREAM_NOT_USED = CALL_TERMINAL_FAIL + 1,
  2818. CALL_STREAM_ACTIVE = CALL_STREAM_NOT_USED + 1,
  2819. CALL_STREAM_INACTIVE = CALL_STREAM_ACTIVE + 1
  2820. } MSP_CALL_EVENT;
  2821. typedef /* [public][public][public] */
  2822. enum __MIDL___MIDL_itf_tapi3_0517_0003
  2823. { CALL_CAUSE_UNKNOWN = 0,
  2824. CALL_CAUSE_BAD_DEVICE = CALL_CAUSE_UNKNOWN + 1,
  2825. CALL_CAUSE_CONNECT_FAIL = CALL_CAUSE_BAD_DEVICE + 1,
  2826. CALL_CAUSE_LOCAL_REQUEST = CALL_CAUSE_CONNECT_FAIL + 1,
  2827. CALL_CAUSE_REMOTE_REQUEST = CALL_CAUSE_LOCAL_REQUEST + 1,
  2828. CALL_CAUSE_MEDIA_TIMEOUT = CALL_CAUSE_REMOTE_REQUEST + 1,
  2829. CALL_CAUSE_MEDIA_RECOVERED = CALL_CAUSE_MEDIA_TIMEOUT + 1,
  2830. CALL_CAUSE_QUALITY_OF_SERVICE = CALL_CAUSE_MEDIA_RECOVERED + 1
  2831. } MSP_CALL_EVENT_CAUSE;
  2832. typedef /* [public][public][public] */
  2833. enum __MIDL___MIDL_itf_tapi3_0517_0004
  2834. { ME_ADDRESS_EVENT = 0,
  2835. ME_CALL_EVENT = ME_ADDRESS_EVENT + 1,
  2836. ME_TSP_DATA = ME_CALL_EVENT + 1,
  2837. ME_PRIVATE_EVENT = ME_TSP_DATA + 1,
  2838. ME_ASR_TERMINAL_EVENT = ME_PRIVATE_EVENT + 1,
  2839. ME_TTS_TERMINAL_EVENT = ME_ASR_TERMINAL_EVENT + 1,
  2840. ME_FILE_TERMINAL_EVENT = ME_TTS_TERMINAL_EVENT + 1,
  2841. ME_TONE_TERMINAL_EVENT = ME_FILE_TERMINAL_EVENT + 1
  2842. } MSP_EVENT;
  2843. typedef /* [public][public] */ struct __MIDL___MIDL_itf_tapi3_0517_0005
  2844. {
  2845. DWORD dwSize;
  2846. MSP_EVENT Event;
  2847. MSP_HANDLE hCall;
  2848. /* [switch_is][switch_type] */ union
  2849. {
  2850. /* [case()] */ struct
  2851. {
  2852. MSP_ADDRESS_EVENT Type;
  2853. ITTerminal *pTerminal;
  2854. } MSP_ADDRESS_EVENT_INFO;
  2855. /* [case()] */ struct
  2856. {
  2857. MSP_CALL_EVENT Type;
  2858. MSP_CALL_EVENT_CAUSE Cause;
  2859. ITStream *pStream;
  2860. ITTerminal *pTerminal;
  2861. HRESULT hrError;
  2862. } MSP_CALL_EVENT_INFO;
  2863. /* [case()] */ struct
  2864. {
  2865. DWORD dwBufferSize;
  2866. BYTE pBuffer[ 1 ];
  2867. } MSP_TSP_DATA;
  2868. /* [case()] */ struct
  2869. {
  2870. IDispatch *pEvent;
  2871. long lEventCode;
  2872. } MSP_PRIVATE_EVENT_INFO;
  2873. /* [case()] */ struct
  2874. {
  2875. ITTerminal *pParentFileTerminal;
  2876. ITFileTrack *pFileTrack;
  2877. TERMINAL_MEDIA_STATE TerminalMediaState;
  2878. FT_STATE_EVENT_CAUSE ftecEventCause;
  2879. HRESULT hrErrorCode;
  2880. } MSP_FILE_TERMINAL_EVENT_INFO;
  2881. /* [case()] */ struct
  2882. {
  2883. ITTerminal *pASRTerminal;
  2884. HRESULT hrErrorCode;
  2885. } MSP_ASR_TERMINAL_EVENT_INFO;
  2886. /* [case()] */ struct
  2887. {
  2888. ITTerminal *pTTSTerminal;
  2889. HRESULT hrErrorCode;
  2890. } MSP_TTS_TERMINAL_EVENT_INFO;
  2891. /* [case()] */ struct
  2892. {
  2893. ITTerminal *pToneTerminal;
  2894. HRESULT hrErrorCode;
  2895. } MSP_TONE_TERMINAL_EVENT_INFO;
  2896. } ;
  2897. } MSP_EVENT_INFO;
  2898. extern RPC_IF_HANDLE __MIDL_itf_tapi3_0517_v0_0_c_ifspec;
  2899. extern RPC_IF_HANDLE __MIDL_itf_tapi3_0517_v0_0_s_ifspec;
  2900. #ifndef __ITPluggableTerminalEventSink_INTERFACE_DEFINED__
  2901. #define __ITPluggableTerminalEventSink_INTERFACE_DEFINED__
  2902. /* interface ITPluggableTerminalEventSink */
  2903. /* [object][unique][helpstring][uuid] */
  2904. EXTERN_C const IID IID_ITPluggableTerminalEventSink;
  2905. #if defined(__cplusplus) && !defined(CINTERFACE)
  2906. MIDL_INTERFACE("6E0887BE-BA1A-492e-BD10-4020EC5E33E0")
  2907. ITPluggableTerminalEventSink : public IUnknown
  2908. {
  2909. public:
  2910. virtual HRESULT STDMETHODCALLTYPE FireEvent(
  2911. /* [in] */ const MSP_EVENT_INFO *pMspEventInfo) = 0;
  2912. };
  2913. #else /* C style interface */
  2914. typedef struct ITPluggableTerminalEventSinkVtbl
  2915. {
  2916. BEGIN_INTERFACE
  2917. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2918. ITPluggableTerminalEventSink * This,
  2919. /* [in] */ REFIID riid,
  2920. /* [iid_is][out] */ void **ppvObject);
  2921. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2922. ITPluggableTerminalEventSink * This);
  2923. ULONG ( STDMETHODCALLTYPE *Release )(
  2924. ITPluggableTerminalEventSink * This);
  2925. HRESULT ( STDMETHODCALLTYPE *FireEvent )(
  2926. ITPluggableTerminalEventSink * This,
  2927. /* [in] */ const MSP_EVENT_INFO *pMspEventInfo);
  2928. END_INTERFACE
  2929. } ITPluggableTerminalEventSinkVtbl;
  2930. interface ITPluggableTerminalEventSink
  2931. {
  2932. CONST_VTBL struct ITPluggableTerminalEventSinkVtbl *lpVtbl;
  2933. };
  2934. #ifdef COBJMACROS
  2935. #define ITPluggableTerminalEventSink_QueryInterface(This,riid,ppvObject) \
  2936. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2937. #define ITPluggableTerminalEventSink_AddRef(This) \
  2938. (This)->lpVtbl -> AddRef(This)
  2939. #define ITPluggableTerminalEventSink_Release(This) \
  2940. (This)->lpVtbl -> Release(This)
  2941. #define ITPluggableTerminalEventSink_FireEvent(This,pMspEventInfo) \
  2942. (This)->lpVtbl -> FireEvent(This,pMspEventInfo)
  2943. #endif /* COBJMACROS */
  2944. #endif /* C style interface */
  2945. HRESULT STDMETHODCALLTYPE ITPluggableTerminalEventSink_FireEvent_Proxy(
  2946. ITPluggableTerminalEventSink * This,
  2947. /* [in] */ const MSP_EVENT_INFO *pMspEventInfo);
  2948. void __RPC_STUB ITPluggableTerminalEventSink_FireEvent_Stub(
  2949. IRpcStubBuffer *This,
  2950. IRpcChannelBuffer *_pRpcChannelBuffer,
  2951. PRPC_MESSAGE _pRpcMessage,
  2952. DWORD *_pdwStubPhase);
  2953. #endif /* __ITPluggableTerminalEventSink_INTERFACE_DEFINED__ */
  2954. #ifndef __ITPluggableTerminalEventSinkRegistration_INTERFACE_DEFINED__
  2955. #define __ITPluggableTerminalEventSinkRegistration_INTERFACE_DEFINED__
  2956. /* interface ITPluggableTerminalEventSinkRegistration */
  2957. /* [object][unique][helpstring][uuid] */
  2958. EXTERN_C const IID IID_ITPluggableTerminalEventSinkRegistration;
  2959. #if defined(__cplusplus) && !defined(CINTERFACE)
  2960. MIDL_INTERFACE("F7115709-A216-4957-A759-060AB32A90D1")
  2961. ITPluggableTerminalEventSinkRegistration : public IUnknown
  2962. {
  2963. public:
  2964. virtual HRESULT STDMETHODCALLTYPE RegisterSink(
  2965. /* [in] */ ITPluggableTerminalEventSink *pEventSink) = 0;
  2966. virtual HRESULT STDMETHODCALLTYPE UnregisterSink( void) = 0;
  2967. };
  2968. #else /* C style interface */
  2969. typedef struct ITPluggableTerminalEventSinkRegistrationVtbl
  2970. {
  2971. BEGIN_INTERFACE
  2972. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2973. ITPluggableTerminalEventSinkRegistration * This,
  2974. /* [in] */ REFIID riid,
  2975. /* [iid_is][out] */ void **ppvObject);
  2976. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2977. ITPluggableTerminalEventSinkRegistration * This);
  2978. ULONG ( STDMETHODCALLTYPE *Release )(
  2979. ITPluggableTerminalEventSinkRegistration * This);
  2980. HRESULT ( STDMETHODCALLTYPE *RegisterSink )(
  2981. ITPluggableTerminalEventSinkRegistration * This,
  2982. /* [in] */ ITPluggableTerminalEventSink *pEventSink);
  2983. HRESULT ( STDMETHODCALLTYPE *UnregisterSink )(
  2984. ITPluggableTerminalEventSinkRegistration * This);
  2985. END_INTERFACE
  2986. } ITPluggableTerminalEventSinkRegistrationVtbl;
  2987. interface ITPluggableTerminalEventSinkRegistration
  2988. {
  2989. CONST_VTBL struct ITPluggableTerminalEventSinkRegistrationVtbl *lpVtbl;
  2990. };
  2991. #ifdef COBJMACROS
  2992. #define ITPluggableTerminalEventSinkRegistration_QueryInterface(This,riid,ppvObject) \
  2993. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2994. #define ITPluggableTerminalEventSinkRegistration_AddRef(This) \
  2995. (This)->lpVtbl -> AddRef(This)
  2996. #define ITPluggableTerminalEventSinkRegistration_Release(This) \
  2997. (This)->lpVtbl -> Release(This)
  2998. #define ITPluggableTerminalEventSinkRegistration_RegisterSink(This,pEventSink) \
  2999. (This)->lpVtbl -> RegisterSink(This,pEventSink)
  3000. #define ITPluggableTerminalEventSinkRegistration_UnregisterSink(This) \
  3001. (This)->lpVtbl -> UnregisterSink(This)
  3002. #endif /* COBJMACROS */
  3003. #endif /* C style interface */
  3004. HRESULT STDMETHODCALLTYPE ITPluggableTerminalEventSinkRegistration_RegisterSink_Proxy(
  3005. ITPluggableTerminalEventSinkRegistration * This,
  3006. /* [in] */ ITPluggableTerminalEventSink *pEventSink);
  3007. void __RPC_STUB ITPluggableTerminalEventSinkRegistration_RegisterSink_Stub(
  3008. IRpcStubBuffer *This,
  3009. IRpcChannelBuffer *_pRpcChannelBuffer,
  3010. PRPC_MESSAGE _pRpcMessage,
  3011. DWORD *_pdwStubPhase);
  3012. HRESULT STDMETHODCALLTYPE ITPluggableTerminalEventSinkRegistration_UnregisterSink_Proxy(
  3013. ITPluggableTerminalEventSinkRegistration * This);
  3014. void __RPC_STUB ITPluggableTerminalEventSinkRegistration_UnregisterSink_Stub(
  3015. IRpcStubBuffer *This,
  3016. IRpcChannelBuffer *_pRpcChannelBuffer,
  3017. PRPC_MESSAGE _pRpcMessage,
  3018. DWORD *_pdwStubPhase);
  3019. #endif /* __ITPluggableTerminalEventSinkRegistration_INTERFACE_DEFINED__ */
  3020. #ifndef __ITMSPAddress_INTERFACE_DEFINED__
  3021. #define __ITMSPAddress_INTERFACE_DEFINED__
  3022. /* interface ITMSPAddress */
  3023. /* [object][unique][helpstring][uuid] */
  3024. EXTERN_C const IID IID_ITMSPAddress;
  3025. #if defined(__cplusplus) && !defined(CINTERFACE)
  3026. MIDL_INTERFACE("EE3BD600-3868-11D2-A045-00C04FB6809F")
  3027. ITMSPAddress : public IUnknown
  3028. {
  3029. public:
  3030. virtual HRESULT STDMETHODCALLTYPE Initialize(
  3031. /* [in] */ MSP_HANDLE hEvent) = 0;
  3032. virtual HRESULT STDMETHODCALLTYPE Shutdown( void) = 0;
  3033. virtual HRESULT STDMETHODCALLTYPE CreateMSPCall(
  3034. /* [in] */ MSP_HANDLE hCall,
  3035. /* [in] */ DWORD dwReserved,
  3036. /* [in] */ DWORD dwMediaType,
  3037. /* [in] */ IUnknown *pOuterUnknown,
  3038. /* [out] */ IUnknown **ppStreamControl) = 0;
  3039. virtual HRESULT STDMETHODCALLTYPE ShutdownMSPCall(
  3040. /* [in] */ IUnknown *pStreamControl) = 0;
  3041. virtual HRESULT STDMETHODCALLTYPE ReceiveTSPData(
  3042. /* [in] */ IUnknown *pMSPCall,
  3043. /* [size_is][in] */ BYTE *pBuffer,
  3044. /* [in] */ DWORD dwSize) = 0;
  3045. virtual HRESULT STDMETHODCALLTYPE GetEvent(
  3046. /* [out][in] */ DWORD *pdwSize,
  3047. /* [size_is][out][in] */ byte *pEventBuffer) = 0;
  3048. };
  3049. #else /* C style interface */
  3050. typedef struct ITMSPAddressVtbl
  3051. {
  3052. BEGIN_INTERFACE
  3053. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3054. ITMSPAddress * This,
  3055. /* [in] */ REFIID riid,
  3056. /* [iid_is][out] */ void **ppvObject);
  3057. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3058. ITMSPAddress * This);
  3059. ULONG ( STDMETHODCALLTYPE *Release )(
  3060. ITMSPAddress * This);
  3061. HRESULT ( STDMETHODCALLTYPE *Initialize )(
  3062. ITMSPAddress * This,
  3063. /* [in] */ MSP_HANDLE hEvent);
  3064. HRESULT ( STDMETHODCALLTYPE *Shutdown )(
  3065. ITMSPAddress * This);
  3066. HRESULT ( STDMETHODCALLTYPE *CreateMSPCall )(
  3067. ITMSPAddress * This,
  3068. /* [in] */ MSP_HANDLE hCall,
  3069. /* [in] */ DWORD dwReserved,
  3070. /* [in] */ DWORD dwMediaType,
  3071. /* [in] */ IUnknown *pOuterUnknown,
  3072. /* [out] */ IUnknown **ppStreamControl);
  3073. HRESULT ( STDMETHODCALLTYPE *ShutdownMSPCall )(
  3074. ITMSPAddress * This,
  3075. /* [in] */ IUnknown *pStreamControl);
  3076. HRESULT ( STDMETHODCALLTYPE *ReceiveTSPData )(
  3077. ITMSPAddress * This,
  3078. /* [in] */ IUnknown *pMSPCall,
  3079. /* [size_is][in] */ BYTE *pBuffer,
  3080. /* [in] */ DWORD dwSize);
  3081. HRESULT ( STDMETHODCALLTYPE *GetEvent )(
  3082. ITMSPAddress * This,
  3083. /* [out][in] */ DWORD *pdwSize,
  3084. /* [size_is][out][in] */ byte *pEventBuffer);
  3085. END_INTERFACE
  3086. } ITMSPAddressVtbl;
  3087. interface ITMSPAddress
  3088. {
  3089. CONST_VTBL struct ITMSPAddressVtbl *lpVtbl;
  3090. };
  3091. #ifdef COBJMACROS
  3092. #define ITMSPAddress_QueryInterface(This,riid,ppvObject) \
  3093. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3094. #define ITMSPAddress_AddRef(This) \
  3095. (This)->lpVtbl -> AddRef(This)
  3096. #define ITMSPAddress_Release(This) \
  3097. (This)->lpVtbl -> Release(This)
  3098. #define ITMSPAddress_Initialize(This,hEvent) \
  3099. (This)->lpVtbl -> Initialize(This,hEvent)
  3100. #define ITMSPAddress_Shutdown(This) \
  3101. (This)->lpVtbl -> Shutdown(This)
  3102. #define ITMSPAddress_CreateMSPCall(This,hCall,dwReserved,dwMediaType,pOuterUnknown,ppStreamControl) \
  3103. (This)->lpVtbl -> CreateMSPCall(This,hCall,dwReserved,dwMediaType,pOuterUnknown,ppStreamControl)
  3104. #define ITMSPAddress_ShutdownMSPCall(This,pStreamControl) \
  3105. (This)->lpVtbl -> ShutdownMSPCall(This,pStreamControl)
  3106. #define ITMSPAddress_ReceiveTSPData(This,pMSPCall,pBuffer,dwSize) \
  3107. (This)->lpVtbl -> ReceiveTSPData(This,pMSPCall,pBuffer,dwSize)
  3108. #define ITMSPAddress_GetEvent(This,pdwSize,pEventBuffer) \
  3109. (This)->lpVtbl -> GetEvent(This,pdwSize,pEventBuffer)
  3110. #endif /* COBJMACROS */
  3111. #endif /* C style interface */
  3112. HRESULT STDMETHODCALLTYPE ITMSPAddress_Initialize_Proxy(
  3113. ITMSPAddress * This,
  3114. /* [in] */ MSP_HANDLE hEvent);
  3115. void __RPC_STUB ITMSPAddress_Initialize_Stub(
  3116. IRpcStubBuffer *This,
  3117. IRpcChannelBuffer *_pRpcChannelBuffer,
  3118. PRPC_MESSAGE _pRpcMessage,
  3119. DWORD *_pdwStubPhase);
  3120. HRESULT STDMETHODCALLTYPE ITMSPAddress_Shutdown_Proxy(
  3121. ITMSPAddress * This);
  3122. void __RPC_STUB ITMSPAddress_Shutdown_Stub(
  3123. IRpcStubBuffer *This,
  3124. IRpcChannelBuffer *_pRpcChannelBuffer,
  3125. PRPC_MESSAGE _pRpcMessage,
  3126. DWORD *_pdwStubPhase);
  3127. HRESULT STDMETHODCALLTYPE ITMSPAddress_CreateMSPCall_Proxy(
  3128. ITMSPAddress * This,
  3129. /* [in] */ MSP_HANDLE hCall,
  3130. /* [in] */ DWORD dwReserved,
  3131. /* [in] */ DWORD dwMediaType,
  3132. /* [in] */ IUnknown *pOuterUnknown,
  3133. /* [out] */ IUnknown **ppStreamControl);
  3134. void __RPC_STUB ITMSPAddress_CreateMSPCall_Stub(
  3135. IRpcStubBuffer *This,
  3136. IRpcChannelBuffer *_pRpcChannelBuffer,
  3137. PRPC_MESSAGE _pRpcMessage,
  3138. DWORD *_pdwStubPhase);
  3139. HRESULT STDMETHODCALLTYPE ITMSPAddress_ShutdownMSPCall_Proxy(
  3140. ITMSPAddress * This,
  3141. /* [in] */ IUnknown *pStreamControl);
  3142. void __RPC_STUB ITMSPAddress_ShutdownMSPCall_Stub(
  3143. IRpcStubBuffer *This,
  3144. IRpcChannelBuffer *_pRpcChannelBuffer,
  3145. PRPC_MESSAGE _pRpcMessage,
  3146. DWORD *_pdwStubPhase);
  3147. HRESULT STDMETHODCALLTYPE ITMSPAddress_ReceiveTSPData_Proxy(
  3148. ITMSPAddress * This,
  3149. /* [in] */ IUnknown *pMSPCall,
  3150. /* [size_is][in] */ BYTE *pBuffer,
  3151. /* [in] */ DWORD dwSize);
  3152. void __RPC_STUB ITMSPAddress_ReceiveTSPData_Stub(
  3153. IRpcStubBuffer *This,
  3154. IRpcChannelBuffer *_pRpcChannelBuffer,
  3155. PRPC_MESSAGE _pRpcMessage,
  3156. DWORD *_pdwStubPhase);
  3157. HRESULT STDMETHODCALLTYPE ITMSPAddress_GetEvent_Proxy(
  3158. ITMSPAddress * This,
  3159. /* [out][in] */ DWORD *pdwSize,
  3160. /* [size_is][out][in] */ byte *pEventBuffer);
  3161. void __RPC_STUB ITMSPAddress_GetEvent_Stub(
  3162. IRpcStubBuffer *This,
  3163. IRpcChannelBuffer *_pRpcChannelBuffer,
  3164. PRPC_MESSAGE _pRpcMessage,
  3165. DWORD *_pdwStubPhase);
  3166. #endif /* __ITMSPAddress_INTERFACE_DEFINED__ */
  3167. #ifndef __TAPI3Lib_LIBRARY_DEFINED__
  3168. #define __TAPI3Lib_LIBRARY_DEFINED__
  3169. /* library TAPI3Lib */
  3170. /* [helpstring][version][uuid] */
  3171. EXTERN_C const IID LIBID_TAPI3Lib;
  3172. #ifndef __ITTAPIDispatchEventNotification_DISPINTERFACE_DEFINED__
  3173. #define __ITTAPIDispatchEventNotification_DISPINTERFACE_DEFINED__
  3174. /* dispinterface ITTAPIDispatchEventNotification */
  3175. /* [helpstring][uuid] */
  3176. EXTERN_C const IID DIID_ITTAPIDispatchEventNotification;
  3177. #if defined(__cplusplus) && !defined(CINTERFACE)
  3178. MIDL_INTERFACE("9f34325b-7e62-11d2-9457-00c04f8ec888")
  3179. ITTAPIDispatchEventNotification : public IDispatch
  3180. {
  3181. };
  3182. #else /* C style interface */
  3183. typedef struct ITTAPIDispatchEventNotificationVtbl
  3184. {
  3185. BEGIN_INTERFACE
  3186. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3187. ITTAPIDispatchEventNotification * This,
  3188. /* [in] */ REFIID riid,
  3189. /* [iid_is][out] */ void **ppvObject);
  3190. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3191. ITTAPIDispatchEventNotification * This);
  3192. ULONG ( STDMETHODCALLTYPE *Release )(
  3193. ITTAPIDispatchEventNotification * This);
  3194. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3195. ITTAPIDispatchEventNotification * This,
  3196. /* [out] */ UINT *pctinfo);
  3197. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3198. ITTAPIDispatchEventNotification * This,
  3199. /* [in] */ UINT iTInfo,
  3200. /* [in] */ LCID lcid,
  3201. /* [out] */ ITypeInfo **ppTInfo);
  3202. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3203. ITTAPIDispatchEventNotification * This,
  3204. /* [in] */ REFIID riid,
  3205. /* [size_is][in] */ LPOLESTR *rgszNames,
  3206. /* [in] */ UINT cNames,
  3207. /* [in] */ LCID lcid,
  3208. /* [size_is][out] */ DISPID *rgDispId);
  3209. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3210. ITTAPIDispatchEventNotification * This,
  3211. /* [in] */ DISPID dispIdMember,
  3212. /* [in] */ REFIID riid,
  3213. /* [in] */ LCID lcid,
  3214. /* [in] */ WORD wFlags,
  3215. /* [out][in] */ DISPPARAMS *pDispParams,
  3216. /* [out] */ VARIANT *pVarResult,
  3217. /* [out] */ EXCEPINFO *pExcepInfo,
  3218. /* [out] */ UINT *puArgErr);
  3219. END_INTERFACE
  3220. } ITTAPIDispatchEventNotificationVtbl;
  3221. interface ITTAPIDispatchEventNotification
  3222. {
  3223. CONST_VTBL struct ITTAPIDispatchEventNotificationVtbl *lpVtbl;
  3224. };
  3225. #ifdef COBJMACROS
  3226. #define ITTAPIDispatchEventNotification_QueryInterface(This,riid,ppvObject) \
  3227. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3228. #define ITTAPIDispatchEventNotification_AddRef(This) \
  3229. (This)->lpVtbl -> AddRef(This)
  3230. #define ITTAPIDispatchEventNotification_Release(This) \
  3231. (This)->lpVtbl -> Release(This)
  3232. #define ITTAPIDispatchEventNotification_GetTypeInfoCount(This,pctinfo) \
  3233. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3234. #define ITTAPIDispatchEventNotification_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3235. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3236. #define ITTAPIDispatchEventNotification_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3237. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3238. #define ITTAPIDispatchEventNotification_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3239. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3240. #endif /* COBJMACROS */
  3241. #endif /* C style interface */
  3242. #endif /* __ITTAPIDispatchEventNotification_DISPINTERFACE_DEFINED__ */
  3243. EXTERN_C const CLSID CLSID_TAPI;
  3244. #ifdef __cplusplus
  3245. class DECLSPEC_UUID("21D6D48E-A88B-11D0-83DD-00AA003CCABD")
  3246. TAPI;
  3247. #endif
  3248. EXTERN_C const CLSID CLSID_DispatchMapper;
  3249. #ifdef __cplusplus
  3250. class DECLSPEC_UUID("E9225296-C759-11d1-A02B-00C04FB6809F")
  3251. DispatchMapper;
  3252. #endif
  3253. EXTERN_C const CLSID CLSID_RequestMakeCall;
  3254. #ifdef __cplusplus
  3255. class DECLSPEC_UUID("AC48FFE0-F8C4-11d1-A030-00C04FB6809F")
  3256. RequestMakeCall;
  3257. #endif
  3258. #ifndef __TapiConstants_MODULE_DEFINED__
  3259. #define __TapiConstants_MODULE_DEFINED__
  3260. /* module TapiConstants */
  3261. /* [helpstring][dllname][uuid] */
  3262. const BSTR CLSID_String_VideoWindowTerm = L"{F7438990-D6EB-11D0-82A6-00AA00B5CA1B}";
  3263. const BSTR CLSID_String_VideoInputTerminal = L"{AAF578EC-DC70-11D0-8ED3-00C04FB6809F}";
  3264. const BSTR CLSID_String_HandsetTerminal = L"{AAF578EB-DC70-11D0-8ED3-00C04FB6809F}";
  3265. const BSTR CLSID_String_HeadsetTerminal = L"{AAF578ED-DC70-11D0-8ED3-00C04FB6809F}";
  3266. const BSTR CLSID_String_SpeakerphoneTerminal = L"{AAF578EE-DC70-11D0-8ED3-00C04FB6809F}";
  3267. const BSTR CLSID_String_MicrophoneTerminal = L"{AAF578EF-DC70-11D0-8ED3-00C04FB6809F}";
  3268. const BSTR CLSID_String_SpeakersTerminal = L"{AAF578F0-DC70-11D0-8ED3-00C04FB6809F}";
  3269. const BSTR CLSID_String_MediaStreamTerminal = L"{E2F7AEF7-4971-11D1-A671-006097C9A2E8}";
  3270. const BSTR CLSID_String_FileRecordingTerminal = L"{521F3D06-C3D0-4511-8617-86B9A783DA77}";
  3271. const BSTR CLSID_String_FilePlaybackTerminal = L"{0CB9914C-79CD-47DC-ADB0-327F47CEFB20}";
  3272. const BSTR TAPIPROTOCOL_String_PSTN = L"{831CE2D6-83B5-11D1-BB5C-00C04FB6809F}";
  3273. const BSTR TAPIPROTOCOL_String_H323 = L"{831CE2D7-83B5-11D1-BB5C-00C04FB6809F}";
  3274. const BSTR TAPIPROTOCOL_String_Multicast = L"{831CE2D8-83B5-11D1-BB5C-00C04FB6809F}";
  3275. const long LINEADDRESSTYPE_PHONENUMBER = 0x1;
  3276. const long LINEADDRESSTYPE_SDP = 0x2;
  3277. const long LINEADDRESSTYPE_EMAILNAME = 0x4;
  3278. const long LINEADDRESSTYPE_DOMAINNAME = 0x8;
  3279. const long LINEADDRESSTYPE_IPADDRESS = 0x10;
  3280. const long LINEDIGITMODE_PULSE = 0x1;
  3281. const long LINEDIGITMODE_DTMF = 0x2;
  3282. const long LINEDIGITMODE_DTMFEND = 0x4;
  3283. const long TAPIMEDIATYPE_AUDIO = 0x8;
  3284. const long TAPIMEDIATYPE_VIDEO = 0x8000;
  3285. const long TAPIMEDIATYPE_DATAMODEM = 0x10;
  3286. const long TAPIMEDIATYPE_G3FAX = 0x20;
  3287. const long TAPIMEDIATYPE_MULTITRACK = 0x10000;
  3288. #endif /* __TapiConstants_MODULE_DEFINED__ */
  3289. #endif /* __TAPI3Lib_LIBRARY_DEFINED__ */
  3290. /* interface __MIDL_itf_tapi3_0523 */
  3291. /* [local] */
  3292. #define TAPI_CURRENT_VERSION 0x00030001
  3293. #include <tapi.h>
  3294. #include <tapi3err.h>
  3295. extern RPC_IF_HANDLE __MIDL_itf_tapi3_0523_v0_0_c_ifspec;
  3296. extern RPC_IF_HANDLE __MIDL_itf_tapi3_0523_v0_0_s_ifspec;
  3297. /* Additional Prototypes for ALL interfaces */
  3298. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  3299. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  3300. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  3301. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  3302. unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
  3303. unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
  3304. unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
  3305. void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
  3306. /* end of Additional Prototypes */
  3307. #ifdef __cplusplus
  3308. }
  3309. #endif
  3310. #endif