Source code of Windows XP (NT5)
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.

4774 lines
152 KiB

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