source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/tapi3cc.h@ 1170

Last change on this file since 1170 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 73.2 KB
Line 
1/**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6#ifndef __REQUIRED_RPCNDR_H_VERSION__
7#define __REQUIRED_RPCNDR_H_VERSION__ 475
8#endif
9
10#include "rpc.h"
11#include "rpcndr.h"
12
13#ifndef __RPCNDR_H_VERSION__
14#error This stub requires an updated version of <rpcndr.h>
15#endif
16
17#ifndef COM_NO_WINDOWS_H
18#include "windows.h"
19#include "ole2.h"
20#endif
21
22#ifndef __tapi3cc_h__
23#define __tapi3cc_h__
24
25#ifndef __ITAgent_FWD_DEFINED__
26#define __ITAgent_FWD_DEFINED__
27typedef struct ITAgent ITAgent;
28#endif
29
30#ifndef __ITAgentSession_FWD_DEFINED__
31#define __ITAgentSession_FWD_DEFINED__
32typedef struct ITAgentSession ITAgentSession;
33#endif
34
35#ifndef __ITACDGroup_FWD_DEFINED__
36#define __ITACDGroup_FWD_DEFINED__
37typedef struct ITACDGroup ITACDGroup;
38#endif
39
40#ifndef __ITQueue_FWD_DEFINED__
41#define __ITQueue_FWD_DEFINED__
42typedef struct ITQueue ITQueue;
43#endif
44
45#ifndef __ITAgentEvent_FWD_DEFINED__
46#define __ITAgentEvent_FWD_DEFINED__
47typedef struct ITAgentEvent ITAgentEvent;
48#endif
49
50#ifndef __ITAgentSessionEvent_FWD_DEFINED__
51#define __ITAgentSessionEvent_FWD_DEFINED__
52typedef struct ITAgentSessionEvent ITAgentSessionEvent;
53#endif
54
55#ifndef __ITACDGroupEvent_FWD_DEFINED__
56#define __ITACDGroupEvent_FWD_DEFINED__
57typedef struct ITACDGroupEvent ITACDGroupEvent;
58#endif
59
60#ifndef __ITQueueEvent_FWD_DEFINED__
61#define __ITQueueEvent_FWD_DEFINED__
62typedef struct ITQueueEvent ITQueueEvent;
63#endif
64
65#ifndef __ITAgentHandlerEvent_FWD_DEFINED__
66#define __ITAgentHandlerEvent_FWD_DEFINED__
67typedef struct ITAgentHandlerEvent ITAgentHandlerEvent;
68#endif
69
70#ifndef __ITTAPICallCenter_FWD_DEFINED__
71#define __ITTAPICallCenter_FWD_DEFINED__
72typedef struct ITTAPICallCenter ITTAPICallCenter;
73#endif
74
75#ifndef __ITAgentHandler_FWD_DEFINED__
76#define __ITAgentHandler_FWD_DEFINED__
77typedef struct ITAgentHandler ITAgentHandler;
78#endif
79
80#ifndef __IEnumAgent_FWD_DEFINED__
81#define __IEnumAgent_FWD_DEFINED__
82typedef struct IEnumAgent IEnumAgent;
83#endif
84
85#ifndef __IEnumAgentSession_FWD_DEFINED__
86#define __IEnumAgentSession_FWD_DEFINED__
87typedef struct IEnumAgentSession IEnumAgentSession;
88#endif
89
90#ifndef __IEnumQueue_FWD_DEFINED__
91#define __IEnumQueue_FWD_DEFINED__
92typedef struct IEnumQueue IEnumQueue;
93#endif
94
95#ifndef __IEnumACDGroup_FWD_DEFINED__
96#define __IEnumACDGroup_FWD_DEFINED__
97typedef struct IEnumACDGroup IEnumACDGroup;
98#endif
99
100#ifndef __IEnumAgentHandler_FWD_DEFINED__
101#define __IEnumAgentHandler_FWD_DEFINED__
102typedef struct IEnumAgentHandler IEnumAgentHandler;
103#endif
104
105#include "oaidl.h"
106#include "tapi3if.h"
107
108#ifdef __cplusplus
109extern "C" {
110#endif
111
112#ifndef __MIDL_user_allocate_free_DEFINED__
113#define __MIDL_user_allocate_free_DEFINED__
114 void *__RPC_API MIDL_user_allocate(size_t);
115 void __RPC_API MIDL_user_free(void *);
116#endif
117
118 typedef enum AGENT_EVENT {
119 AE_NOT_READY = 0,
120 AE_READY,AE_BUSY_ACD,AE_BUSY_INCOMING,AE_BUSY_OUTGOING,AE_UNKNOWN
121 } AGENT_EVENT;
122
123 typedef enum AGENT_STATE {
124 AS_NOT_READY = 0,
125 AS_READY,AS_BUSY_ACD,AS_BUSY_INCOMING,AS_BUSY_OUTGOING,AS_UNKNOWN
126 } AGENT_STATE;
127
128 typedef enum AGENT_SESSION_EVENT {
129 ASE_NEW_SESSION = 0,
130 ASE_NOT_READY,ASE_READY,ASE_BUSY,ASE_WRAPUP,ASE_END
131 } AGENT_SESSION_EVENT;
132
133 typedef enum AGENT_SESSION_STATE {
134 ASST_NOT_READY = 0,
135 ASST_READY,ASST_BUSY_ON_CALL,ASST_BUSY_WRAPUP,ASST_SESSION_ENDED
136 } AGENT_SESSION_STATE;
137
138 typedef enum AGENTHANDLER_EVENT {
139 AHE_NEW_AGENTHANDLER = 0,
140 AHE_AGENTHANDLER_REMOVED
141 } AGENTHANDLER_EVENT;
142
143 typedef enum ACDGROUP_EVENT {
144 ACDGE_NEW_GROUP = 0,
145 ACDGE_GROUP_REMOVED
146 } ACDGROUP_EVENT;
147
148 typedef enum ACDQUEUE_EVENT {
149 ACDQE_NEW_QUEUE = 0,
150 ACDQE_QUEUE_REMOVED
151 } ACDQUEUE_EVENT;
152
153 extern RPC_IF_HANDLE __MIDL_itf_tapi3cc_0000_v0_0_c_ifspec;
154 extern RPC_IF_HANDLE __MIDL_itf_tapi3cc_0000_v0_0_s_ifspec;
155#ifndef __ITAgent_INTERFACE_DEFINED__
156#define __ITAgent_INTERFACE_DEFINED__
157 EXTERN_C const IID IID_ITAgent;
158#if defined(__cplusplus) && !defined(CINTERFACE)
159 struct ITAgent : public IDispatch {
160 public:
161 virtual HRESULT WINAPI EnumerateAgentSessions(IEnumAgentSession **ppEnumAgentSession) = 0;
162 virtual HRESULT WINAPI CreateSession(ITACDGroup *pACDGroup,ITAddress *pAddress,ITAgentSession **ppAgentSession) = 0;
163 virtual HRESULT WINAPI CreateSessionWithPIN(ITACDGroup *pACDGroup,ITAddress *pAddress,BSTR pPIN,ITAgentSession **ppAgentSession) = 0;
164 virtual HRESULT WINAPI get_ID(BSTR *ppID) = 0;
165 virtual HRESULT WINAPI get_User(BSTR *ppUser) = 0;
166 virtual HRESULT WINAPI put_State(AGENT_STATE AgentState) = 0;
167 virtual HRESULT WINAPI get_State(AGENT_STATE *pAgentState) = 0;
168 virtual HRESULT WINAPI put_MeasurementPeriod(__LONG32 lPeriod) = 0;
169 virtual HRESULT WINAPI get_MeasurementPeriod(__LONG32 *plPeriod) = 0;
170 virtual HRESULT WINAPI get_OverallCallRate(CURRENCY *pcyCallrate) = 0;
171 virtual HRESULT WINAPI get_NumberOfACDCalls(__LONG32 *plCalls) = 0;
172 virtual HRESULT WINAPI get_NumberOfIncomingCalls(__LONG32 *plCalls) = 0;
173 virtual HRESULT WINAPI get_NumberOfOutgoingCalls(__LONG32 *plCalls) = 0;
174 virtual HRESULT WINAPI get_TotalACDTalkTime(__LONG32 *plTalkTime) = 0;
175 virtual HRESULT WINAPI get_TotalACDCallTime(__LONG32 *plCallTime) = 0;
176 virtual HRESULT WINAPI get_TotalWrapUpTime(__LONG32 *plWrapUpTime) = 0;
177 virtual HRESULT WINAPI get_AgentSessions(VARIANT *pVariant) = 0;
178 };
179#else
180 typedef struct ITAgentVtbl {
181 BEGIN_INTERFACE
182 HRESULT (WINAPI *QueryInterface)(ITAgent *This,REFIID riid,void **ppvObject);
183 ULONG (WINAPI *AddRef)(ITAgent *This);
184 ULONG (WINAPI *Release)(ITAgent *This);
185 HRESULT (WINAPI *GetTypeInfoCount)(ITAgent *This,UINT *pctinfo);
186 HRESULT (WINAPI *GetTypeInfo)(ITAgent *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
187 HRESULT (WINAPI *GetIDsOfNames)(ITAgent *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
188 HRESULT (WINAPI *Invoke)(ITAgent *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
189 HRESULT (WINAPI *EnumerateAgentSessions)(ITAgent *This,IEnumAgentSession **ppEnumAgentSession);
190 HRESULT (WINAPI *CreateSession)(ITAgent *This,ITACDGroup *pACDGroup,ITAddress *pAddress,ITAgentSession **ppAgentSession);
191 HRESULT (WINAPI *CreateSessionWithPIN)(ITAgent *This,ITACDGroup *pACDGroup,ITAddress *pAddress,BSTR pPIN,ITAgentSession **ppAgentSession);
192 HRESULT (WINAPI *get_ID)(ITAgent *This,BSTR *ppID);
193 HRESULT (WINAPI *get_User)(ITAgent *This,BSTR *ppUser);
194 HRESULT (WINAPI *put_State)(ITAgent *This,AGENT_STATE AgentState);
195 HRESULT (WINAPI *get_State)(ITAgent *This,AGENT_STATE *pAgentState);
196 HRESULT (WINAPI *put_MeasurementPeriod)(ITAgent *This,__LONG32 lPeriod);
197 HRESULT (WINAPI *get_MeasurementPeriod)(ITAgent *This,__LONG32 *plPeriod);
198 HRESULT (WINAPI *get_OverallCallRate)(ITAgent *This,CURRENCY *pcyCallrate);
199 HRESULT (WINAPI *get_NumberOfACDCalls)(ITAgent *This,__LONG32 *plCalls);
200 HRESULT (WINAPI *get_NumberOfIncomingCalls)(ITAgent *This,__LONG32 *plCalls);
201 HRESULT (WINAPI *get_NumberOfOutgoingCalls)(ITAgent *This,__LONG32 *plCalls);
202 HRESULT (WINAPI *get_TotalACDTalkTime)(ITAgent *This,__LONG32 *plTalkTime);
203 HRESULT (WINAPI *get_TotalACDCallTime)(ITAgent *This,__LONG32 *plCallTime);
204 HRESULT (WINAPI *get_TotalWrapUpTime)(ITAgent *This,__LONG32 *plWrapUpTime);
205 HRESULT (WINAPI *get_AgentSessions)(ITAgent *This,VARIANT *pVariant);
206 END_INTERFACE
207 } ITAgentVtbl;
208 struct ITAgent {
209 CONST_VTBL struct ITAgentVtbl *lpVtbl;
210 };
211#ifdef COBJMACROS
212#define ITAgent_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
213#define ITAgent_AddRef(This) (This)->lpVtbl->AddRef(This)
214#define ITAgent_Release(This) (This)->lpVtbl->Release(This)
215#define ITAgent_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
216#define ITAgent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
217#define ITAgent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
218#define ITAgent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
219#define ITAgent_EnumerateAgentSessions(This,ppEnumAgentSession) (This)->lpVtbl->EnumerateAgentSessions(This,ppEnumAgentSession)
220#define ITAgent_CreateSession(This,pACDGroup,pAddress,ppAgentSession) (This)->lpVtbl->CreateSession(This,pACDGroup,pAddress,ppAgentSession)
221#define ITAgent_CreateSessionWithPIN(This,pACDGroup,pAddress,pPIN,ppAgentSession) (This)->lpVtbl->CreateSessionWithPIN(This,pACDGroup,pAddress,pPIN,ppAgentSession)
222#define ITAgent_get_ID(This,ppID) (This)->lpVtbl->get_ID(This,ppID)
223#define ITAgent_get_User(This,ppUser) (This)->lpVtbl->get_User(This,ppUser)
224#define ITAgent_put_State(This,AgentState) (This)->lpVtbl->put_State(This,AgentState)
225#define ITAgent_get_State(This,pAgentState) (This)->lpVtbl->get_State(This,pAgentState)
226#define ITAgent_put_MeasurementPeriod(This,lPeriod) (This)->lpVtbl->put_MeasurementPeriod(This,lPeriod)
227#define ITAgent_get_MeasurementPeriod(This,plPeriod) (This)->lpVtbl->get_MeasurementPeriod(This,plPeriod)
228#define ITAgent_get_OverallCallRate(This,pcyCallrate) (This)->lpVtbl->get_OverallCallRate(This,pcyCallrate)
229#define ITAgent_get_NumberOfACDCalls(This,plCalls) (This)->lpVtbl->get_NumberOfACDCalls(This,plCalls)
230#define ITAgent_get_NumberOfIncomingCalls(This,plCalls) (This)->lpVtbl->get_NumberOfIncomingCalls(This,plCalls)
231#define ITAgent_get_NumberOfOutgoingCalls(This,plCalls) (This)->lpVtbl->get_NumberOfOutgoingCalls(This,plCalls)
232#define ITAgent_get_TotalACDTalkTime(This,plTalkTime) (This)->lpVtbl->get_TotalACDTalkTime(This,plTalkTime)
233#define ITAgent_get_TotalACDCallTime(This,plCallTime) (This)->lpVtbl->get_TotalACDCallTime(This,plCallTime)
234#define ITAgent_get_TotalWrapUpTime(This,plWrapUpTime) (This)->lpVtbl->get_TotalWrapUpTime(This,plWrapUpTime)
235#define ITAgent_get_AgentSessions(This,pVariant) (This)->lpVtbl->get_AgentSessions(This,pVariant)
236#endif
237#endif
238 HRESULT WINAPI ITAgent_EnumerateAgentSessions_Proxy(ITAgent *This,IEnumAgentSession **ppEnumAgentSession);
239 void __RPC_STUB ITAgent_EnumerateAgentSessions_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
240 HRESULT WINAPI ITAgent_CreateSession_Proxy(ITAgent *This,ITACDGroup *pACDGroup,ITAddress *pAddress,ITAgentSession **ppAgentSession);
241 void __RPC_STUB ITAgent_CreateSession_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
242 HRESULT WINAPI ITAgent_CreateSessionWithPIN_Proxy(ITAgent *This,ITACDGroup *pACDGroup,ITAddress *pAddress,BSTR pPIN,ITAgentSession **ppAgentSession);
243 void __RPC_STUB ITAgent_CreateSessionWithPIN_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
244 HRESULT WINAPI ITAgent_get_ID_Proxy(ITAgent *This,BSTR *ppID);
245 void __RPC_STUB ITAgent_get_ID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
246 HRESULT WINAPI ITAgent_get_User_Proxy(ITAgent *This,BSTR *ppUser);
247 void __RPC_STUB ITAgent_get_User_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
248 HRESULT WINAPI ITAgent_put_State_Proxy(ITAgent *This,AGENT_STATE AgentState);
249 void __RPC_STUB ITAgent_put_State_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
250 HRESULT WINAPI ITAgent_get_State_Proxy(ITAgent *This,AGENT_STATE *pAgentState);
251 void __RPC_STUB ITAgent_get_State_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
252 HRESULT WINAPI ITAgent_put_MeasurementPeriod_Proxy(ITAgent *This,__LONG32 lPeriod);
253 void __RPC_STUB ITAgent_put_MeasurementPeriod_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
254 HRESULT WINAPI ITAgent_get_MeasurementPeriod_Proxy(ITAgent *This,__LONG32 *plPeriod);
255 void __RPC_STUB ITAgent_get_MeasurementPeriod_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
256 HRESULT WINAPI ITAgent_get_OverallCallRate_Proxy(ITAgent *This,CURRENCY *pcyCallrate);
257 void __RPC_STUB ITAgent_get_OverallCallRate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
258 HRESULT WINAPI ITAgent_get_NumberOfACDCalls_Proxy(ITAgent *This,__LONG32 *plCalls);
259 void __RPC_STUB ITAgent_get_NumberOfACDCalls_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
260 HRESULT WINAPI ITAgent_get_NumberOfIncomingCalls_Proxy(ITAgent *This,__LONG32 *plCalls);
261 void __RPC_STUB ITAgent_get_NumberOfIncomingCalls_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
262 HRESULT WINAPI ITAgent_get_NumberOfOutgoingCalls_Proxy(ITAgent *This,__LONG32 *plCalls);
263 void __RPC_STUB ITAgent_get_NumberOfOutgoingCalls_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
264 HRESULT WINAPI ITAgent_get_TotalACDTalkTime_Proxy(ITAgent *This,__LONG32 *plTalkTime);
265 void __RPC_STUB ITAgent_get_TotalACDTalkTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
266 HRESULT WINAPI ITAgent_get_TotalACDCallTime_Proxy(ITAgent *This,__LONG32 *plCallTime);
267 void __RPC_STUB ITAgent_get_TotalACDCallTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
268 HRESULT WINAPI ITAgent_get_TotalWrapUpTime_Proxy(ITAgent *This,__LONG32 *plWrapUpTime);
269 void __RPC_STUB ITAgent_get_TotalWrapUpTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
270 HRESULT WINAPI ITAgent_get_AgentSessions_Proxy(ITAgent *This,VARIANT *pVariant);
271 void __RPC_STUB ITAgent_get_AgentSessions_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
272#endif
273
274#ifndef __ITAgentSession_INTERFACE_DEFINED__
275#define __ITAgentSession_INTERFACE_DEFINED__
276 EXTERN_C const IID IID_ITAgentSession;
277#if defined(__cplusplus) && !defined(CINTERFACE)
278 struct ITAgentSession : public IDispatch {
279 public:
280 virtual HRESULT WINAPI get_Agent(ITAgent **ppAgent) = 0;
281 virtual HRESULT WINAPI get_Address(ITAddress **ppAddress) = 0;
282 virtual HRESULT WINAPI get_ACDGroup(ITACDGroup **ppACDGroup) = 0;
283 virtual HRESULT WINAPI put_State(AGENT_SESSION_STATE SessionState) = 0;
284 virtual HRESULT WINAPI get_State(AGENT_SESSION_STATE *pSessionState) = 0;
285 virtual HRESULT WINAPI get_SessionStartTime(DATE *pdateSessionStart) = 0;
286 virtual HRESULT WINAPI get_SessionDuration(__LONG32 *plDuration) = 0;
287 virtual HRESULT WINAPI get_NumberOfCalls(__LONG32 *plCalls) = 0;
288 virtual HRESULT WINAPI get_TotalTalkTime(__LONG32 *plTalkTime) = 0;
289 virtual HRESULT WINAPI get_AverageTalkTime(__LONG32 *plTalkTime) = 0;
290 virtual HRESULT WINAPI get_TotalCallTime(__LONG32 *plCallTime) = 0;
291 virtual HRESULT WINAPI get_AverageCallTime(__LONG32 *plCallTime) = 0;
292 virtual HRESULT WINAPI get_TotalWrapUpTime(__LONG32 *plWrapUpTime) = 0;
293 virtual HRESULT WINAPI get_AverageWrapUpTime(__LONG32 *plWrapUpTime) = 0;
294 virtual HRESULT WINAPI get_ACDCallRate(CURRENCY *pcyCallrate) = 0;
295 virtual HRESULT WINAPI get_LongestTimeToAnswer(__LONG32 *plAnswerTime) = 0;
296 virtual HRESULT WINAPI get_AverageTimeToAnswer(__LONG32 *plAnswerTime) = 0;
297 };
298#else
299 typedef struct ITAgentSessionVtbl {
300 BEGIN_INTERFACE
301 HRESULT (WINAPI *QueryInterface)(ITAgentSession *This,REFIID riid,void **ppvObject);
302 ULONG (WINAPI *AddRef)(ITAgentSession *This);
303 ULONG (WINAPI *Release)(ITAgentSession *This);
304 HRESULT (WINAPI *GetTypeInfoCount)(ITAgentSession *This,UINT *pctinfo);
305 HRESULT (WINAPI *GetTypeInfo)(ITAgentSession *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
306 HRESULT (WINAPI *GetIDsOfNames)(ITAgentSession *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
307 HRESULT (WINAPI *Invoke)(ITAgentSession *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
308 HRESULT (WINAPI *get_Agent)(ITAgentSession *This,ITAgent **ppAgent);
309 HRESULT (WINAPI *get_Address)(ITAgentSession *This,ITAddress **ppAddress);
310 HRESULT (WINAPI *get_ACDGroup)(ITAgentSession *This,ITACDGroup **ppACDGroup);
311 HRESULT (WINAPI *put_State)(ITAgentSession *This,AGENT_SESSION_STATE SessionState);
312 HRESULT (WINAPI *get_State)(ITAgentSession *This,AGENT_SESSION_STATE *pSessionState);
313 HRESULT (WINAPI *get_SessionStartTime)(ITAgentSession *This,DATE *pdateSessionStart);
314 HRESULT (WINAPI *get_SessionDuration)(ITAgentSession *This,__LONG32 *plDuration);
315 HRESULT (WINAPI *get_NumberOfCalls)(ITAgentSession *This,__LONG32 *plCalls);
316 HRESULT (WINAPI *get_TotalTalkTime)(ITAgentSession *This,__LONG32 *plTalkTime);
317 HRESULT (WINAPI *get_AverageTalkTime)(ITAgentSession *This,__LONG32 *plTalkTime);
318 HRESULT (WINAPI *get_TotalCallTime)(ITAgentSession *This,__LONG32 *plCallTime);
319 HRESULT (WINAPI *get_AverageCallTime)(ITAgentSession *This,__LONG32 *plCallTime);
320 HRESULT (WINAPI *get_TotalWrapUpTime)(ITAgentSession *This,__LONG32 *plWrapUpTime);
321 HRESULT (WINAPI *get_AverageWrapUpTime)(ITAgentSession *This,__LONG32 *plWrapUpTime);
322 HRESULT (WINAPI *get_ACDCallRate)(ITAgentSession *This,CURRENCY *pcyCallrate);
323 HRESULT (WINAPI *get_LongestTimeToAnswer)(ITAgentSession *This,__LONG32 *plAnswerTime);
324 HRESULT (WINAPI *get_AverageTimeToAnswer)(ITAgentSession *This,__LONG32 *plAnswerTime);
325 END_INTERFACE
326 } ITAgentSessionVtbl;
327 struct ITAgentSession {
328 CONST_VTBL struct ITAgentSessionVtbl *lpVtbl;
329 };
330#ifdef COBJMACROS
331#define ITAgentSession_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
332#define ITAgentSession_AddRef(This) (This)->lpVtbl->AddRef(This)
333#define ITAgentSession_Release(This) (This)->lpVtbl->Release(This)
334#define ITAgentSession_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
335#define ITAgentSession_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
336#define ITAgentSession_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
337#define ITAgentSession_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
338#define ITAgentSession_get_Agent(This,ppAgent) (This)->lpVtbl->get_Agent(This,ppAgent)
339#define ITAgentSession_get_Address(This,ppAddress) (This)->lpVtbl->get_Address(This,ppAddress)
340#define ITAgentSession_get_ACDGroup(This,ppACDGroup) (This)->lpVtbl->get_ACDGroup(This,ppACDGroup)
341#define ITAgentSession_put_State(This,SessionState) (This)->lpVtbl->put_State(This,SessionState)
342#define ITAgentSession_get_State(This,pSessionState) (This)->lpVtbl->get_State(This,pSessionState)
343#define ITAgentSession_get_SessionStartTime(This,pdateSessionStart) (This)->lpVtbl->get_SessionStartTime(This,pdateSessionStart)
344#define ITAgentSession_get_SessionDuration(This,plDuration) (This)->lpVtbl->get_SessionDuration(This,plDuration)
345#define ITAgentSession_get_NumberOfCalls(This,plCalls) (This)->lpVtbl->get_NumberOfCalls(This,plCalls)
346#define ITAgentSession_get_TotalTalkTime(This,plTalkTime) (This)->lpVtbl->get_TotalTalkTime(This,plTalkTime)
347#define ITAgentSession_get_AverageTalkTime(This,plTalkTime) (This)->lpVtbl->get_AverageTalkTime(This,plTalkTime)
348#define ITAgentSession_get_TotalCallTime(This,plCallTime) (This)->lpVtbl->get_TotalCallTime(This,plCallTime)
349#define ITAgentSession_get_AverageCallTime(This,plCallTime) (This)->lpVtbl->get_AverageCallTime(This,plCallTime)
350#define ITAgentSession_get_TotalWrapUpTime(This,plWrapUpTime) (This)->lpVtbl->get_TotalWrapUpTime(This,plWrapUpTime)
351#define ITAgentSession_get_AverageWrapUpTime(This,plWrapUpTime) (This)->lpVtbl->get_AverageWrapUpTime(This,plWrapUpTime)
352#define ITAgentSession_get_ACDCallRate(This,pcyCallrate) (This)->lpVtbl->get_ACDCallRate(This,pcyCallrate)
353#define ITAgentSession_get_LongestTimeToAnswer(This,plAnswerTime) (This)->lpVtbl->get_LongestTimeToAnswer(This,plAnswerTime)
354#define ITAgentSession_get_AverageTimeToAnswer(This,plAnswerTime) (This)->lpVtbl->get_AverageTimeToAnswer(This,plAnswerTime)
355#endif
356#endif
357 HRESULT WINAPI ITAgentSession_get_Agent_Proxy(ITAgentSession *This,ITAgent **ppAgent);
358 void __RPC_STUB ITAgentSession_get_Agent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
359 HRESULT WINAPI ITAgentSession_get_Address_Proxy(ITAgentSession *This,ITAddress **ppAddress);
360 void __RPC_STUB ITAgentSession_get_Address_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
361 HRESULT WINAPI ITAgentSession_get_ACDGroup_Proxy(ITAgentSession *This,ITACDGroup **ppACDGroup);
362 void __RPC_STUB ITAgentSession_get_ACDGroup_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
363 HRESULT WINAPI ITAgentSession_put_State_Proxy(ITAgentSession *This,AGENT_SESSION_STATE SessionState);
364 void __RPC_STUB ITAgentSession_put_State_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
365 HRESULT WINAPI ITAgentSession_get_State_Proxy(ITAgentSession *This,AGENT_SESSION_STATE *pSessionState);
366 void __RPC_STUB ITAgentSession_get_State_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
367 HRESULT WINAPI ITAgentSession_get_SessionStartTime_Proxy(ITAgentSession *This,DATE *pdateSessionStart);
368 void __RPC_STUB ITAgentSession_get_SessionStartTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
369 HRESULT WINAPI ITAgentSession_get_SessionDuration_Proxy(ITAgentSession *This,__LONG32 *plDuration);
370 void __RPC_STUB ITAgentSession_get_SessionDuration_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
371 HRESULT WINAPI ITAgentSession_get_NumberOfCalls_Proxy(ITAgentSession *This,__LONG32 *plCalls);
372 void __RPC_STUB ITAgentSession_get_NumberOfCalls_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
373 HRESULT WINAPI ITAgentSession_get_TotalTalkTime_Proxy(ITAgentSession *This,__LONG32 *plTalkTime);
374 void __RPC_STUB ITAgentSession_get_TotalTalkTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
375 HRESULT WINAPI ITAgentSession_get_AverageTalkTime_Proxy(ITAgentSession *This,__LONG32 *plTalkTime);
376 void __RPC_STUB ITAgentSession_get_AverageTalkTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
377 HRESULT WINAPI ITAgentSession_get_TotalCallTime_Proxy(ITAgentSession *This,__LONG32 *plCallTime);
378 void __RPC_STUB ITAgentSession_get_TotalCallTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
379 HRESULT WINAPI ITAgentSession_get_AverageCallTime_Proxy(ITAgentSession *This,__LONG32 *plCallTime);
380 void __RPC_STUB ITAgentSession_get_AverageCallTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
381 HRESULT WINAPI ITAgentSession_get_TotalWrapUpTime_Proxy(ITAgentSession *This,__LONG32 *plWrapUpTime);
382 void __RPC_STUB ITAgentSession_get_TotalWrapUpTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
383 HRESULT WINAPI ITAgentSession_get_AverageWrapUpTime_Proxy(ITAgentSession *This,__LONG32 *plWrapUpTime);
384 void __RPC_STUB ITAgentSession_get_AverageWrapUpTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
385 HRESULT WINAPI ITAgentSession_get_ACDCallRate_Proxy(ITAgentSession *This,CURRENCY *pcyCallrate);
386 void __RPC_STUB ITAgentSession_get_ACDCallRate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
387 HRESULT WINAPI ITAgentSession_get_LongestTimeToAnswer_Proxy(ITAgentSession *This,__LONG32 *plAnswerTime);
388 void __RPC_STUB ITAgentSession_get_LongestTimeToAnswer_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
389 HRESULT WINAPI ITAgentSession_get_AverageTimeToAnswer_Proxy(ITAgentSession *This,__LONG32 *plAnswerTime);
390 void __RPC_STUB ITAgentSession_get_AverageTimeToAnswer_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
391#endif
392
393#ifndef __ITACDGroup_INTERFACE_DEFINED__
394#define __ITACDGroup_INTERFACE_DEFINED__
395 EXTERN_C const IID IID_ITACDGroup;
396#if defined(__cplusplus) && !defined(CINTERFACE)
397 struct ITACDGroup : public IDispatch {
398 public:
399 virtual HRESULT WINAPI get_Name(BSTR *ppName) = 0;
400 virtual HRESULT WINAPI EnumerateQueues(IEnumQueue **ppEnumQueue) = 0;
401 virtual HRESULT WINAPI get_Queues(VARIANT *pVariant) = 0;
402 };
403#else
404 typedef struct ITACDGroupVtbl {
405 BEGIN_INTERFACE
406 HRESULT (WINAPI *QueryInterface)(ITACDGroup *This,REFIID riid,void **ppvObject);
407 ULONG (WINAPI *AddRef)(ITACDGroup *This);
408 ULONG (WINAPI *Release)(ITACDGroup *This);
409 HRESULT (WINAPI *GetTypeInfoCount)(ITACDGroup *This,UINT *pctinfo);
410 HRESULT (WINAPI *GetTypeInfo)(ITACDGroup *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
411 HRESULT (WINAPI *GetIDsOfNames)(ITACDGroup *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
412 HRESULT (WINAPI *Invoke)(ITACDGroup *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
413 HRESULT (WINAPI *get_Name)(ITACDGroup *This,BSTR *ppName);
414 HRESULT (WINAPI *EnumerateQueues)(ITACDGroup *This,IEnumQueue **ppEnumQueue);
415 HRESULT (WINAPI *get_Queues)(ITACDGroup *This,VARIANT *pVariant);
416 END_INTERFACE
417 } ITACDGroupVtbl;
418 struct ITACDGroup {
419 CONST_VTBL struct ITACDGroupVtbl *lpVtbl;
420 };
421#ifdef COBJMACROS
422#define ITACDGroup_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
423#define ITACDGroup_AddRef(This) (This)->lpVtbl->AddRef(This)
424#define ITACDGroup_Release(This) (This)->lpVtbl->Release(This)
425#define ITACDGroup_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
426#define ITACDGroup_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
427#define ITACDGroup_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
428#define ITACDGroup_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
429#define ITACDGroup_get_Name(This,ppName) (This)->lpVtbl->get_Name(This,ppName)
430#define ITACDGroup_EnumerateQueues(This,ppEnumQueue) (This)->lpVtbl->EnumerateQueues(This,ppEnumQueue)
431#define ITACDGroup_get_Queues(This,pVariant) (This)->lpVtbl->get_Queues(This,pVariant)
432#endif
433#endif
434 HRESULT WINAPI ITACDGroup_get_Name_Proxy(ITACDGroup *This,BSTR *ppName);
435 void __RPC_STUB ITACDGroup_get_Name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
436 HRESULT WINAPI ITACDGroup_EnumerateQueues_Proxy(ITACDGroup *This,IEnumQueue **ppEnumQueue);
437 void __RPC_STUB ITACDGroup_EnumerateQueues_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
438 HRESULT WINAPI ITACDGroup_get_Queues_Proxy(ITACDGroup *This,VARIANT *pVariant);
439 void __RPC_STUB ITACDGroup_get_Queues_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
440#endif
441
442#ifndef __ITQueue_INTERFACE_DEFINED__
443#define __ITQueue_INTERFACE_DEFINED__
444 EXTERN_C const IID IID_ITQueue;
445#if defined(__cplusplus) && !defined(CINTERFACE)
446 struct ITQueue : public IDispatch {
447 public:
448 virtual HRESULT WINAPI put_MeasurementPeriod(__LONG32 lPeriod) = 0;
449 virtual HRESULT WINAPI get_MeasurementPeriod(__LONG32 *plPeriod) = 0;
450 virtual HRESULT WINAPI get_TotalCallsQueued(__LONG32 *plCalls) = 0;
451 virtual HRESULT WINAPI get_CurrentCallsQueued(__LONG32 *plCalls) = 0;
452 virtual HRESULT WINAPI get_TotalCallsAbandoned(__LONG32 *plCalls) = 0;
453 virtual HRESULT WINAPI get_TotalCallsFlowedIn(__LONG32 *plCalls) = 0;
454 virtual HRESULT WINAPI get_TotalCallsFlowedOut(__LONG32 *plCalls) = 0;
455 virtual HRESULT WINAPI get_LongestEverWaitTime(__LONG32 *plWaitTime) = 0;
456 virtual HRESULT WINAPI get_CurrentLongestWaitTime(__LONG32 *plWaitTime) = 0;
457 virtual HRESULT WINAPI get_AverageWaitTime(__LONG32 *plWaitTime) = 0;
458 virtual HRESULT WINAPI get_FinalDisposition(__LONG32 *plCalls) = 0;
459 virtual HRESULT WINAPI get_Name(BSTR *ppName) = 0;
460 };
461#else
462 typedef struct ITQueueVtbl {
463 BEGIN_INTERFACE
464 HRESULT (WINAPI *QueryInterface)(ITQueue *This,REFIID riid,void **ppvObject);
465 ULONG (WINAPI *AddRef)(ITQueue *This);
466 ULONG (WINAPI *Release)(ITQueue *This);
467 HRESULT (WINAPI *GetTypeInfoCount)(ITQueue *This,UINT *pctinfo);
468 HRESULT (WINAPI *GetTypeInfo)(ITQueue *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
469 HRESULT (WINAPI *GetIDsOfNames)(ITQueue *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
470 HRESULT (WINAPI *Invoke)(ITQueue *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
471 HRESULT (WINAPI *put_MeasurementPeriod)(ITQueue *This,__LONG32 lPeriod);
472 HRESULT (WINAPI *get_MeasurementPeriod)(ITQueue *This,__LONG32 *plPeriod);
473 HRESULT (WINAPI *get_TotalCallsQueued)(ITQueue *This,__LONG32 *plCalls);
474 HRESULT (WINAPI *get_CurrentCallsQueued)(ITQueue *This,__LONG32 *plCalls);
475 HRESULT (WINAPI *get_TotalCallsAbandoned)(ITQueue *This,__LONG32 *plCalls);
476 HRESULT (WINAPI *get_TotalCallsFlowedIn)(ITQueue *This,__LONG32 *plCalls);
477 HRESULT (WINAPI *get_TotalCallsFlowedOut)(ITQueue *This,__LONG32 *plCalls);
478 HRESULT (WINAPI *get_LongestEverWaitTime)(ITQueue *This,__LONG32 *plWaitTime);
479 HRESULT (WINAPI *get_CurrentLongestWaitTime)(ITQueue *This,__LONG32 *plWaitTime);
480 HRESULT (WINAPI *get_AverageWaitTime)(ITQueue *This,__LONG32 *plWaitTime);
481 HRESULT (WINAPI *get_FinalDisposition)(ITQueue *This,__LONG32 *plCalls);
482 HRESULT (WINAPI *get_Name)(ITQueue *This,BSTR *ppName);
483 END_INTERFACE
484 } ITQueueVtbl;
485 struct ITQueue {
486 CONST_VTBL struct ITQueueVtbl *lpVtbl;
487 };
488#ifdef COBJMACROS
489#define ITQueue_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
490#define ITQueue_AddRef(This) (This)->lpVtbl->AddRef(This)
491#define ITQueue_Release(This) (This)->lpVtbl->Release(This)
492#define ITQueue_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
493#define ITQueue_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
494#define ITQueue_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
495#define ITQueue_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
496#define ITQueue_put_MeasurementPeriod(This,lPeriod) (This)->lpVtbl->put_MeasurementPeriod(This,lPeriod)
497#define ITQueue_get_MeasurementPeriod(This,plPeriod) (This)->lpVtbl->get_MeasurementPeriod(This,plPeriod)
498#define ITQueue_get_TotalCallsQueued(This,plCalls) (This)->lpVtbl->get_TotalCallsQueued(This,plCalls)
499#define ITQueue_get_CurrentCallsQueued(This,plCalls) (This)->lpVtbl->get_CurrentCallsQueued(This,plCalls)
500#define ITQueue_get_TotalCallsAbandoned(This,plCalls) (This)->lpVtbl->get_TotalCallsAbandoned(This,plCalls)
501#define ITQueue_get_TotalCallsFlowedIn(This,plCalls) (This)->lpVtbl->get_TotalCallsFlowedIn(This,plCalls)
502#define ITQueue_get_TotalCallsFlowedOut(This,plCalls) (This)->lpVtbl->get_TotalCallsFlowedOut(This,plCalls)
503#define ITQueue_get_LongestEverWaitTime(This,plWaitTime) (This)->lpVtbl->get_LongestEverWaitTime(This,plWaitTime)
504#define ITQueue_get_CurrentLongestWaitTime(This,plWaitTime) (This)->lpVtbl->get_CurrentLongestWaitTime(This,plWaitTime)
505#define ITQueue_get_AverageWaitTime(This,plWaitTime) (This)->lpVtbl->get_AverageWaitTime(This,plWaitTime)
506#define ITQueue_get_FinalDisposition(This,plCalls) (This)->lpVtbl->get_FinalDisposition(This,plCalls)
507#define ITQueue_get_Name(This,ppName) (This)->lpVtbl->get_Name(This,ppName)
508#endif
509#endif
510 HRESULT WINAPI ITQueue_put_MeasurementPeriod_Proxy(ITQueue *This,__LONG32 lPeriod);
511 void __RPC_STUB ITQueue_put_MeasurementPeriod_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
512 HRESULT WINAPI ITQueue_get_MeasurementPeriod_Proxy(ITQueue *This,__LONG32 *plPeriod);
513 void __RPC_STUB ITQueue_get_MeasurementPeriod_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
514 HRESULT WINAPI ITQueue_get_TotalCallsQueued_Proxy(ITQueue *This,__LONG32 *plCalls);
515 void __RPC_STUB ITQueue_get_TotalCallsQueued_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
516 HRESULT WINAPI ITQueue_get_CurrentCallsQueued_Proxy(ITQueue *This,__LONG32 *plCalls);
517 void __RPC_STUB ITQueue_get_CurrentCallsQueued_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
518 HRESULT WINAPI ITQueue_get_TotalCallsAbandoned_Proxy(ITQueue *This,__LONG32 *plCalls);
519 void __RPC_STUB ITQueue_get_TotalCallsAbandoned_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
520 HRESULT WINAPI ITQueue_get_TotalCallsFlowedIn_Proxy(ITQueue *This,__LONG32 *plCalls);
521 void __RPC_STUB ITQueue_get_TotalCallsFlowedIn_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
522 HRESULT WINAPI ITQueue_get_TotalCallsFlowedOut_Proxy(ITQueue *This,__LONG32 *plCalls);
523 void __RPC_STUB ITQueue_get_TotalCallsFlowedOut_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
524 HRESULT WINAPI ITQueue_get_LongestEverWaitTime_Proxy(ITQueue *This,__LONG32 *plWaitTime);
525 void __RPC_STUB ITQueue_get_LongestEverWaitTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
526 HRESULT WINAPI ITQueue_get_CurrentLongestWaitTime_Proxy(ITQueue *This,__LONG32 *plWaitTime);
527 void __RPC_STUB ITQueue_get_CurrentLongestWaitTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
528 HRESULT WINAPI ITQueue_get_AverageWaitTime_Proxy(ITQueue *This,__LONG32 *plWaitTime);
529 void __RPC_STUB ITQueue_get_AverageWaitTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
530 HRESULT WINAPI ITQueue_get_FinalDisposition_Proxy(ITQueue *This,__LONG32 *plCalls);
531 void __RPC_STUB ITQueue_get_FinalDisposition_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
532 HRESULT WINAPI ITQueue_get_Name_Proxy(ITQueue *This,BSTR *ppName);
533 void __RPC_STUB ITQueue_get_Name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
534#endif
535
536#ifndef __ITAgentEvent_INTERFACE_DEFINED__
537#define __ITAgentEvent_INTERFACE_DEFINED__
538 EXTERN_C const IID IID_ITAgentEvent;
539#if defined(__cplusplus) && !defined(CINTERFACE)
540 struct ITAgentEvent : public IDispatch {
541 public:
542 virtual HRESULT WINAPI get_Agent(ITAgent **ppAgent) = 0;
543 virtual HRESULT WINAPI get_Event(AGENT_EVENT *pEvent) = 0;
544 };
545#else
546 typedef struct ITAgentEventVtbl {
547 BEGIN_INTERFACE
548 HRESULT (WINAPI *QueryInterface)(ITAgentEvent *This,REFIID riid,void **ppvObject);
549 ULONG (WINAPI *AddRef)(ITAgentEvent *This);
550 ULONG (WINAPI *Release)(ITAgentEvent *This);
551 HRESULT (WINAPI *GetTypeInfoCount)(ITAgentEvent *This,UINT *pctinfo);
552 HRESULT (WINAPI *GetTypeInfo)(ITAgentEvent *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
553 HRESULT (WINAPI *GetIDsOfNames)(ITAgentEvent *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
554 HRESULT (WINAPI *Invoke)(ITAgentEvent *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
555 HRESULT (WINAPI *get_Agent)(ITAgentEvent *This,ITAgent **ppAgent);
556 HRESULT (WINAPI *get_Event)(ITAgentEvent *This,AGENT_EVENT *pEvent);
557 END_INTERFACE
558 } ITAgentEventVtbl;
559 struct ITAgentEvent {
560 CONST_VTBL struct ITAgentEventVtbl *lpVtbl;
561 };
562#ifdef COBJMACROS
563#define ITAgentEvent_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
564#define ITAgentEvent_AddRef(This) (This)->lpVtbl->AddRef(This)
565#define ITAgentEvent_Release(This) (This)->lpVtbl->Release(This)
566#define ITAgentEvent_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
567#define ITAgentEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
568#define ITAgentEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
569#define ITAgentEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
570#define ITAgentEvent_get_Agent(This,ppAgent) (This)->lpVtbl->get_Agent(This,ppAgent)
571#define ITAgentEvent_get_Event(This,pEvent) (This)->lpVtbl->get_Event(This,pEvent)
572#endif
573#endif
574 HRESULT WINAPI ITAgentEvent_get_Agent_Proxy(ITAgentEvent *This,ITAgent **ppAgent);
575 void __RPC_STUB ITAgentEvent_get_Agent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
576 HRESULT WINAPI ITAgentEvent_get_Event_Proxy(ITAgentEvent *This,AGENT_EVENT *pEvent);
577 void __RPC_STUB ITAgentEvent_get_Event_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
578#endif
579
580#ifndef __ITAgentSessionEvent_INTERFACE_DEFINED__
581#define __ITAgentSessionEvent_INTERFACE_DEFINED__
582 EXTERN_C const IID IID_ITAgentSessionEvent;
583#if defined(__cplusplus) && !defined(CINTERFACE)
584 struct ITAgentSessionEvent : public IDispatch {
585 public:
586 virtual HRESULT WINAPI get_Session(ITAgentSession **ppSession) = 0;
587 virtual HRESULT WINAPI get_Event(AGENT_SESSION_EVENT *pEvent) = 0;
588 };
589#else
590 typedef struct ITAgentSessionEventVtbl {
591 BEGIN_INTERFACE
592 HRESULT (WINAPI *QueryInterface)(ITAgentSessionEvent *This,REFIID riid,void **ppvObject);
593 ULONG (WINAPI *AddRef)(ITAgentSessionEvent *This);
594 ULONG (WINAPI *Release)(ITAgentSessionEvent *This);
595 HRESULT (WINAPI *GetTypeInfoCount)(ITAgentSessionEvent *This,UINT *pctinfo);
596 HRESULT (WINAPI *GetTypeInfo)(ITAgentSessionEvent *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
597 HRESULT (WINAPI *GetIDsOfNames)(ITAgentSessionEvent *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
598 HRESULT (WINAPI *Invoke)(ITAgentSessionEvent *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
599 HRESULT (WINAPI *get_Session)(ITAgentSessionEvent *This,ITAgentSession **ppSession);
600 HRESULT (WINAPI *get_Event)(ITAgentSessionEvent *This,AGENT_SESSION_EVENT *pEvent);
601 END_INTERFACE
602 } ITAgentSessionEventVtbl;
603 struct ITAgentSessionEvent {
604 CONST_VTBL struct ITAgentSessionEventVtbl *lpVtbl;
605 };
606#ifdef COBJMACROS
607#define ITAgentSessionEvent_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
608#define ITAgentSessionEvent_AddRef(This) (This)->lpVtbl->AddRef(This)
609#define ITAgentSessionEvent_Release(This) (This)->lpVtbl->Release(This)
610#define ITAgentSessionEvent_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
611#define ITAgentSessionEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
612#define ITAgentSessionEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
613#define ITAgentSessionEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
614#define ITAgentSessionEvent_get_Session(This,ppSession) (This)->lpVtbl->get_Session(This,ppSession)
615#define ITAgentSessionEvent_get_Event(This,pEvent) (This)->lpVtbl->get_Event(This,pEvent)
616#endif
617#endif
618 HRESULT WINAPI ITAgentSessionEvent_get_Session_Proxy(ITAgentSessionEvent *This,ITAgentSession **ppSession);
619 void __RPC_STUB ITAgentSessionEvent_get_Session_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
620 HRESULT WINAPI ITAgentSessionEvent_get_Event_Proxy(ITAgentSessionEvent *This,AGENT_SESSION_EVENT *pEvent);
621 void __RPC_STUB ITAgentSessionEvent_get_Event_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
622#endif
623
624#ifndef __ITACDGroupEvent_INTERFACE_DEFINED__
625#define __ITACDGroupEvent_INTERFACE_DEFINED__
626 EXTERN_C const IID IID_ITACDGroupEvent;
627#if defined(__cplusplus) && !defined(CINTERFACE)
628 struct ITACDGroupEvent : public IDispatch {
629 public:
630 virtual HRESULT WINAPI get_Group(ITACDGroup **ppGroup) = 0;
631 virtual HRESULT WINAPI get_Event(ACDGROUP_EVENT *pEvent) = 0;
632 };
633#else
634 typedef struct ITACDGroupEventVtbl {
635 BEGIN_INTERFACE
636 HRESULT (WINAPI *QueryInterface)(ITACDGroupEvent *This,REFIID riid,void **ppvObject);
637 ULONG (WINAPI *AddRef)(ITACDGroupEvent *This);
638 ULONG (WINAPI *Release)(ITACDGroupEvent *This);
639 HRESULT (WINAPI *GetTypeInfoCount)(ITACDGroupEvent *This,UINT *pctinfo);
640 HRESULT (WINAPI *GetTypeInfo)(ITACDGroupEvent *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
641 HRESULT (WINAPI *GetIDsOfNames)(ITACDGroupEvent *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
642 HRESULT (WINAPI *Invoke)(ITACDGroupEvent *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
643 HRESULT (WINAPI *get_Group)(ITACDGroupEvent *This,ITACDGroup **ppGroup);
644 HRESULT (WINAPI *get_Event)(ITACDGroupEvent *This,ACDGROUP_EVENT *pEvent);
645 END_INTERFACE
646 } ITACDGroupEventVtbl;
647 struct ITACDGroupEvent {
648 CONST_VTBL struct ITACDGroupEventVtbl *lpVtbl;
649 };
650#ifdef COBJMACROS
651#define ITACDGroupEvent_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
652#define ITACDGroupEvent_AddRef(This) (This)->lpVtbl->AddRef(This)
653#define ITACDGroupEvent_Release(This) (This)->lpVtbl->Release(This)
654#define ITACDGroupEvent_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
655#define ITACDGroupEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
656#define ITACDGroupEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
657#define ITACDGroupEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
658#define ITACDGroupEvent_get_Group(This,ppGroup) (This)->lpVtbl->get_Group(This,ppGroup)
659#define ITACDGroupEvent_get_Event(This,pEvent) (This)->lpVtbl->get_Event(This,pEvent)
660#endif
661#endif
662 HRESULT WINAPI ITACDGroupEvent_get_Group_Proxy(ITACDGroupEvent *This,ITACDGroup **ppGroup);
663 void __RPC_STUB ITACDGroupEvent_get_Group_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
664 HRESULT WINAPI ITACDGroupEvent_get_Event_Proxy(ITACDGroupEvent *This,ACDGROUP_EVENT *pEvent);
665 void __RPC_STUB ITACDGroupEvent_get_Event_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
666#endif
667
668#ifndef __ITQueueEvent_INTERFACE_DEFINED__
669#define __ITQueueEvent_INTERFACE_DEFINED__
670 EXTERN_C const IID IID_ITQueueEvent;
671#if defined(__cplusplus) && !defined(CINTERFACE)
672 struct ITQueueEvent : public IDispatch {
673 public:
674 virtual HRESULT WINAPI get_Queue(ITQueue **ppQueue) = 0;
675 virtual HRESULT WINAPI get_Event(ACDQUEUE_EVENT *pEvent) = 0;
676 };
677#else
678 typedef struct ITQueueEventVtbl {
679 BEGIN_INTERFACE
680 HRESULT (WINAPI *QueryInterface)(ITQueueEvent *This,REFIID riid,void **ppvObject);
681 ULONG (WINAPI *AddRef)(ITQueueEvent *This);
682 ULONG (WINAPI *Release)(ITQueueEvent *This);
683 HRESULT (WINAPI *GetTypeInfoCount)(ITQueueEvent *This,UINT *pctinfo);
684 HRESULT (WINAPI *GetTypeInfo)(ITQueueEvent *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
685 HRESULT (WINAPI *GetIDsOfNames)(ITQueueEvent *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
686 HRESULT (WINAPI *Invoke)(ITQueueEvent *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
687 HRESULT (WINAPI *get_Queue)(ITQueueEvent *This,ITQueue **ppQueue);
688 HRESULT (WINAPI *get_Event)(ITQueueEvent *This,ACDQUEUE_EVENT *pEvent);
689 END_INTERFACE
690 } ITQueueEventVtbl;
691 struct ITQueueEvent {
692 CONST_VTBL struct ITQueueEventVtbl *lpVtbl;
693 };
694#ifdef COBJMACROS
695#define ITQueueEvent_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
696#define ITQueueEvent_AddRef(This) (This)->lpVtbl->AddRef(This)
697#define ITQueueEvent_Release(This) (This)->lpVtbl->Release(This)
698#define ITQueueEvent_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
699#define ITQueueEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
700#define ITQueueEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
701#define ITQueueEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
702#define ITQueueEvent_get_Queue(This,ppQueue) (This)->lpVtbl->get_Queue(This,ppQueue)
703#define ITQueueEvent_get_Event(This,pEvent) (This)->lpVtbl->get_Event(This,pEvent)
704#endif
705#endif
706 HRESULT WINAPI ITQueueEvent_get_Queue_Proxy(ITQueueEvent *This,ITQueue **ppQueue);
707 void __RPC_STUB ITQueueEvent_get_Queue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
708 HRESULT WINAPI ITQueueEvent_get_Event_Proxy(ITQueueEvent *This,ACDQUEUE_EVENT *pEvent);
709 void __RPC_STUB ITQueueEvent_get_Event_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
710#endif
711
712#ifndef __ITAgentHandlerEvent_INTERFACE_DEFINED__
713#define __ITAgentHandlerEvent_INTERFACE_DEFINED__
714 EXTERN_C const IID IID_ITAgentHandlerEvent;
715#if defined(__cplusplus) && !defined(CINTERFACE)
716 struct ITAgentHandlerEvent : public IDispatch {
717 public:
718 virtual HRESULT WINAPI get_AgentHandler(ITAgentHandler **ppAgentHandler) = 0;
719 virtual HRESULT WINAPI get_Event(AGENTHANDLER_EVENT *pEvent) = 0;
720 };
721#else
722 typedef struct ITAgentHandlerEventVtbl {
723 BEGIN_INTERFACE
724 HRESULT (WINAPI *QueryInterface)(ITAgentHandlerEvent *This,REFIID riid,void **ppvObject);
725 ULONG (WINAPI *AddRef)(ITAgentHandlerEvent *This);
726 ULONG (WINAPI *Release)(ITAgentHandlerEvent *This);
727 HRESULT (WINAPI *GetTypeInfoCount)(ITAgentHandlerEvent *This,UINT *pctinfo);
728 HRESULT (WINAPI *GetTypeInfo)(ITAgentHandlerEvent *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
729 HRESULT (WINAPI *GetIDsOfNames)(ITAgentHandlerEvent *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
730 HRESULT (WINAPI *Invoke)(ITAgentHandlerEvent *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
731 HRESULT (WINAPI *get_AgentHandler)(ITAgentHandlerEvent *This,ITAgentHandler **ppAgentHandler);
732 HRESULT (WINAPI *get_Event)(ITAgentHandlerEvent *This,AGENTHANDLER_EVENT *pEvent);
733 END_INTERFACE
734 } ITAgentHandlerEventVtbl;
735 struct ITAgentHandlerEvent {
736 CONST_VTBL struct ITAgentHandlerEventVtbl *lpVtbl;
737 };
738#ifdef COBJMACROS
739#define ITAgentHandlerEvent_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
740#define ITAgentHandlerEvent_AddRef(This) (This)->lpVtbl->AddRef(This)
741#define ITAgentHandlerEvent_Release(This) (This)->lpVtbl->Release(This)
742#define ITAgentHandlerEvent_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
743#define ITAgentHandlerEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
744#define ITAgentHandlerEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
745#define ITAgentHandlerEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
746#define ITAgentHandlerEvent_get_AgentHandler(This,ppAgentHandler) (This)->lpVtbl->get_AgentHandler(This,ppAgentHandler)
747#define ITAgentHandlerEvent_get_Event(This,pEvent) (This)->lpVtbl->get_Event(This,pEvent)
748#endif
749#endif
750 HRESULT WINAPI ITAgentHandlerEvent_get_AgentHandler_Proxy(ITAgentHandlerEvent *This,ITAgentHandler **ppAgentHandler);
751 void __RPC_STUB ITAgentHandlerEvent_get_AgentHandler_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
752 HRESULT WINAPI ITAgentHandlerEvent_get_Event_Proxy(ITAgentHandlerEvent *This,AGENTHANDLER_EVENT *pEvent);
753 void __RPC_STUB ITAgentHandlerEvent_get_Event_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
754#endif
755
756#ifndef __ITTAPICallCenter_INTERFACE_DEFINED__
757#define __ITTAPICallCenter_INTERFACE_DEFINED__
758 EXTERN_C const IID IID_ITTAPICallCenter;
759#if defined(__cplusplus) && !defined(CINTERFACE)
760 struct ITTAPICallCenter : public IDispatch {
761 public:
762 virtual HRESULT WINAPI EnumerateAgentHandlers(IEnumAgentHandler **ppEnumHandler) = 0;
763 virtual HRESULT WINAPI get_AgentHandlers(VARIANT *pVariant) = 0;
764 };
765#else
766 typedef struct ITTAPICallCenterVtbl {
767 BEGIN_INTERFACE
768 HRESULT (WINAPI *QueryInterface)(ITTAPICallCenter *This,REFIID riid,void **ppvObject);
769 ULONG (WINAPI *AddRef)(ITTAPICallCenter *This);
770 ULONG (WINAPI *Release)(ITTAPICallCenter *This);
771 HRESULT (WINAPI *GetTypeInfoCount)(ITTAPICallCenter *This,UINT *pctinfo);
772 HRESULT (WINAPI *GetTypeInfo)(ITTAPICallCenter *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
773 HRESULT (WINAPI *GetIDsOfNames)(ITTAPICallCenter *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
774 HRESULT (WINAPI *Invoke)(ITTAPICallCenter *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
775 HRESULT (WINAPI *EnumerateAgentHandlers)(ITTAPICallCenter *This,IEnumAgentHandler **ppEnumHandler);
776 HRESULT (WINAPI *get_AgentHandlers)(ITTAPICallCenter *This,VARIANT *pVariant);
777 END_INTERFACE
778 } ITTAPICallCenterVtbl;
779 struct ITTAPICallCenter {
780 CONST_VTBL struct ITTAPICallCenterVtbl *lpVtbl;
781 };
782#ifdef COBJMACROS
783#define ITTAPICallCenter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
784#define ITTAPICallCenter_AddRef(This) (This)->lpVtbl->AddRef(This)
785#define ITTAPICallCenter_Release(This) (This)->lpVtbl->Release(This)
786#define ITTAPICallCenter_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
787#define ITTAPICallCenter_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
788#define ITTAPICallCenter_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
789#define ITTAPICallCenter_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
790#define ITTAPICallCenter_EnumerateAgentHandlers(This,ppEnumHandler) (This)->lpVtbl->EnumerateAgentHandlers(This,ppEnumHandler)
791#define ITTAPICallCenter_get_AgentHandlers(This,pVariant) (This)->lpVtbl->get_AgentHandlers(This,pVariant)
792#endif
793#endif
794 HRESULT WINAPI ITTAPICallCenter_EnumerateAgentHandlers_Proxy(ITTAPICallCenter *This,IEnumAgentHandler **ppEnumHandler);
795 void __RPC_STUB ITTAPICallCenter_EnumerateAgentHandlers_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
796 HRESULT WINAPI ITTAPICallCenter_get_AgentHandlers_Proxy(ITTAPICallCenter *This,VARIANT *pVariant);
797 void __RPC_STUB ITTAPICallCenter_get_AgentHandlers_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
798#endif
799
800#ifndef __ITAgentHandler_INTERFACE_DEFINED__
801#define __ITAgentHandler_INTERFACE_DEFINED__
802 EXTERN_C const IID IID_ITAgentHandler;
803#if defined(__cplusplus) && !defined(CINTERFACE)
804 struct ITAgentHandler : public IDispatch {
805 public:
806 virtual HRESULT WINAPI get_Name(BSTR *ppName) = 0;
807 virtual HRESULT WINAPI CreateAgent(ITAgent **ppAgent) = 0;
808 virtual HRESULT WINAPI CreateAgentWithID(BSTR pID,BSTR pPIN,ITAgent **ppAgent) = 0;
809 virtual HRESULT WINAPI EnumerateACDGroups(IEnumACDGroup **ppEnumACDGroup) = 0;
810 virtual HRESULT WINAPI EnumerateUsableAddresses(IEnumAddress **ppEnumAddress) = 0;
811 virtual HRESULT WINAPI get_ACDGroups(VARIANT *pVariant) = 0;
812 virtual HRESULT WINAPI get_UsableAddresses(VARIANT *pVariant) = 0;
813 };
814#else
815 typedef struct ITAgentHandlerVtbl {
816 BEGIN_INTERFACE
817 HRESULT (WINAPI *QueryInterface)(ITAgentHandler *This,REFIID riid,void **ppvObject);
818 ULONG (WINAPI *AddRef)(ITAgentHandler *This);
819 ULONG (WINAPI *Release)(ITAgentHandler *This);
820 HRESULT (WINAPI *GetTypeInfoCount)(ITAgentHandler *This,UINT *pctinfo);
821 HRESULT (WINAPI *GetTypeInfo)(ITAgentHandler *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
822 HRESULT (WINAPI *GetIDsOfNames)(ITAgentHandler *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
823 HRESULT (WINAPI *Invoke)(ITAgentHandler *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
824 HRESULT (WINAPI *get_Name)(ITAgentHandler *This,BSTR *ppName);
825 HRESULT (WINAPI *CreateAgent)(ITAgentHandler *This,ITAgent **ppAgent);
826 HRESULT (WINAPI *CreateAgentWithID)(ITAgentHandler *This,BSTR pID,BSTR pPIN,ITAgent **ppAgent);
827 HRESULT (WINAPI *EnumerateACDGroups)(ITAgentHandler *This,IEnumACDGroup **ppEnumACDGroup);
828 HRESULT (WINAPI *EnumerateUsableAddresses)(ITAgentHandler *This,IEnumAddress **ppEnumAddress);
829 HRESULT (WINAPI *get_ACDGroups)(ITAgentHandler *This,VARIANT *pVariant);
830 HRESULT (WINAPI *get_UsableAddresses)(ITAgentHandler *This,VARIANT *pVariant);
831 END_INTERFACE
832 } ITAgentHandlerVtbl;
833 struct ITAgentHandler {
834 CONST_VTBL struct ITAgentHandlerVtbl *lpVtbl;
835 };
836#ifdef COBJMACROS
837#define ITAgentHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
838#define ITAgentHandler_AddRef(This) (This)->lpVtbl->AddRef(This)
839#define ITAgentHandler_Release(This) (This)->lpVtbl->Release(This)
840#define ITAgentHandler_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
841#define ITAgentHandler_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
842#define ITAgentHandler_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
843#define ITAgentHandler_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
844#define ITAgentHandler_get_Name(This,ppName) (This)->lpVtbl->get_Name(This,ppName)
845#define ITAgentHandler_CreateAgent(This,ppAgent) (This)->lpVtbl->CreateAgent(This,ppAgent)
846#define ITAgentHandler_CreateAgentWithID(This,pID,pPIN,ppAgent) (This)->lpVtbl->CreateAgentWithID(This,pID,pPIN,ppAgent)
847#define ITAgentHandler_EnumerateACDGroups(This,ppEnumACDGroup) (This)->lpVtbl->EnumerateACDGroups(This,ppEnumACDGroup)
848#define ITAgentHandler_EnumerateUsableAddresses(This,ppEnumAddress) (This)->lpVtbl->EnumerateUsableAddresses(This,ppEnumAddress)
849#define ITAgentHandler_get_ACDGroups(This,pVariant) (This)->lpVtbl->get_ACDGroups(This,pVariant)
850#define ITAgentHandler_get_UsableAddresses(This,pVariant) (This)->lpVtbl->get_UsableAddresses(This,pVariant)
851#endif
852#endif
853 HRESULT WINAPI ITAgentHandler_get_Name_Proxy(ITAgentHandler *This,BSTR *ppName);
854 void __RPC_STUB ITAgentHandler_get_Name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
855 HRESULT WINAPI ITAgentHandler_CreateAgent_Proxy(ITAgentHandler *This,ITAgent **ppAgent);
856 void __RPC_STUB ITAgentHandler_CreateAgent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
857 HRESULT WINAPI ITAgentHandler_CreateAgentWithID_Proxy(ITAgentHandler *This,BSTR pID,BSTR pPIN,ITAgent **ppAgent);
858 void __RPC_STUB ITAgentHandler_CreateAgentWithID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
859 HRESULT WINAPI ITAgentHandler_EnumerateACDGroups_Proxy(ITAgentHandler *This,IEnumACDGroup **ppEnumACDGroup);
860 void __RPC_STUB ITAgentHandler_EnumerateACDGroups_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
861 HRESULT WINAPI ITAgentHandler_EnumerateUsableAddresses_Proxy(ITAgentHandler *This,IEnumAddress **ppEnumAddress);
862 void __RPC_STUB ITAgentHandler_EnumerateUsableAddresses_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
863 HRESULT WINAPI ITAgentHandler_get_ACDGroups_Proxy(ITAgentHandler *This,VARIANT *pVariant);
864 void __RPC_STUB ITAgentHandler_get_ACDGroups_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
865 HRESULT WINAPI ITAgentHandler_get_UsableAddresses_Proxy(ITAgentHandler *This,VARIANT *pVariant);
866 void __RPC_STUB ITAgentHandler_get_UsableAddresses_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
867#endif
868
869#ifndef __IEnumAgent_INTERFACE_DEFINED__
870#define __IEnumAgent_INTERFACE_DEFINED__
871 EXTERN_C const IID IID_IEnumAgent;
872#if defined(__cplusplus) && !defined(CINTERFACE)
873 struct IEnumAgent : public IUnknown {
874 public:
875 virtual HRESULT WINAPI Next(ULONG celt,ITAgent **ppElements,ULONG *pceltFetched) = 0;
876 virtual HRESULT WINAPI Reset(void) = 0;
877 virtual HRESULT WINAPI Skip(ULONG celt) = 0;
878 virtual HRESULT WINAPI Clone(IEnumAgent **ppEnum) = 0;
879 };
880#else
881 typedef struct IEnumAgentVtbl {
882 BEGIN_INTERFACE
883 HRESULT (WINAPI *QueryInterface)(IEnumAgent *This,REFIID riid,void **ppvObject);
884 ULONG (WINAPI *AddRef)(IEnumAgent *This);
885 ULONG (WINAPI *Release)(IEnumAgent *This);
886 HRESULT (WINAPI *Next)(IEnumAgent *This,ULONG celt,ITAgent **ppElements,ULONG *pceltFetched);
887 HRESULT (WINAPI *Reset)(IEnumAgent *This);
888 HRESULT (WINAPI *Skip)(IEnumAgent *This,ULONG celt);
889 HRESULT (WINAPI *Clone)(IEnumAgent *This,IEnumAgent **ppEnum);
890 END_INTERFACE
891 } IEnumAgentVtbl;
892 struct IEnumAgent {
893 CONST_VTBL struct IEnumAgentVtbl *lpVtbl;
894 };
895#ifdef COBJMACROS
896#define IEnumAgent_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
897#define IEnumAgent_AddRef(This) (This)->lpVtbl->AddRef(This)
898#define IEnumAgent_Release(This) (This)->lpVtbl->Release(This)
899#define IEnumAgent_Next(This,celt,ppElements,pceltFetched) (This)->lpVtbl->Next(This,celt,ppElements,pceltFetched)
900#define IEnumAgent_Reset(This) (This)->lpVtbl->Reset(This)
901#define IEnumAgent_Skip(This,celt) (This)->lpVtbl->Skip(This,celt)
902#define IEnumAgent_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum)
903#endif
904#endif
905 HRESULT WINAPI IEnumAgent_Next_Proxy(IEnumAgent *This,ULONG celt,ITAgent **ppElements,ULONG *pceltFetched);
906 void __RPC_STUB IEnumAgent_Next_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
907 HRESULT WINAPI IEnumAgent_Reset_Proxy(IEnumAgent *This);
908 void __RPC_STUB IEnumAgent_Reset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
909 HRESULT WINAPI IEnumAgent_Skip_Proxy(IEnumAgent *This,ULONG celt);
910 void __RPC_STUB IEnumAgent_Skip_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
911 HRESULT WINAPI IEnumAgent_Clone_Proxy(IEnumAgent *This,IEnumAgent **ppEnum);
912 void __RPC_STUB IEnumAgent_Clone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
913#endif
914
915#ifndef __IEnumAgentSession_INTERFACE_DEFINED__
916#define __IEnumAgentSession_INTERFACE_DEFINED__
917 EXTERN_C const IID IID_IEnumAgentSession;
918#if defined(__cplusplus) && !defined(CINTERFACE)
919 struct IEnumAgentSession : public IUnknown {
920 public:
921 virtual HRESULT WINAPI Next(ULONG celt,ITAgentSession **ppElements,ULONG *pceltFetched) = 0;
922 virtual HRESULT WINAPI Reset(void) = 0;
923 virtual HRESULT WINAPI Skip(ULONG celt) = 0;
924 virtual HRESULT WINAPI Clone(IEnumAgentSession **ppEnum) = 0;
925 };
926#else
927 typedef struct IEnumAgentSessionVtbl {
928 BEGIN_INTERFACE
929 HRESULT (WINAPI *QueryInterface)(IEnumAgentSession *This,REFIID riid,void **ppvObject);
930 ULONG (WINAPI *AddRef)(IEnumAgentSession *This);
931 ULONG (WINAPI *Release)(IEnumAgentSession *This);
932 HRESULT (WINAPI *Next)(IEnumAgentSession *This,ULONG celt,ITAgentSession **ppElements,ULONG *pceltFetched);
933 HRESULT (WINAPI *Reset)(IEnumAgentSession *This);
934 HRESULT (WINAPI *Skip)(IEnumAgentSession *This,ULONG celt);
935 HRESULT (WINAPI *Clone)(IEnumAgentSession *This,IEnumAgentSession **ppEnum);
936 END_INTERFACE
937 } IEnumAgentSessionVtbl;
938 struct IEnumAgentSession {
939 CONST_VTBL struct IEnumAgentSessionVtbl *lpVtbl;
940 };
941#ifdef COBJMACROS
942#define IEnumAgentSession_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
943#define IEnumAgentSession_AddRef(This) (This)->lpVtbl->AddRef(This)
944#define IEnumAgentSession_Release(This) (This)->lpVtbl->Release(This)
945#define IEnumAgentSession_Next(This,celt,ppElements,pceltFetched) (This)->lpVtbl->Next(This,celt,ppElements,pceltFetched)
946#define IEnumAgentSession_Reset(This) (This)->lpVtbl->Reset(This)
947#define IEnumAgentSession_Skip(This,celt) (This)->lpVtbl->Skip(This,celt)
948#define IEnumAgentSession_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum)
949#endif
950#endif
951 HRESULT WINAPI IEnumAgentSession_Next_Proxy(IEnumAgentSession *This,ULONG celt,ITAgentSession **ppElements,ULONG *pceltFetched);
952 void __RPC_STUB IEnumAgentSession_Next_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
953 HRESULT WINAPI IEnumAgentSession_Reset_Proxy(IEnumAgentSession *This);
954 void __RPC_STUB IEnumAgentSession_Reset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
955 HRESULT WINAPI IEnumAgentSession_Skip_Proxy(IEnumAgentSession *This,ULONG celt);
956 void __RPC_STUB IEnumAgentSession_Skip_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
957 HRESULT WINAPI IEnumAgentSession_Clone_Proxy(IEnumAgentSession *This,IEnumAgentSession **ppEnum);
958 void __RPC_STUB IEnumAgentSession_Clone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
959#endif
960
961#ifndef __IEnumQueue_INTERFACE_DEFINED__
962#define __IEnumQueue_INTERFACE_DEFINED__
963 EXTERN_C const IID IID_IEnumQueue;
964#if defined(__cplusplus) && !defined(CINTERFACE)
965 struct IEnumQueue : public IUnknown {
966 public:
967 virtual HRESULT WINAPI Next(ULONG celt,ITQueue **ppElements,ULONG *pceltFetched) = 0;
968 virtual HRESULT WINAPI Reset(void) = 0;
969 virtual HRESULT WINAPI Skip(ULONG celt) = 0;
970 virtual HRESULT WINAPI Clone(IEnumQueue **ppEnum) = 0;
971 };
972#else
973 typedef struct IEnumQueueVtbl {
974 BEGIN_INTERFACE
975 HRESULT (WINAPI *QueryInterface)(IEnumQueue *This,REFIID riid,void **ppvObject);
976 ULONG (WINAPI *AddRef)(IEnumQueue *This);
977 ULONG (WINAPI *Release)(IEnumQueue *This);
978 HRESULT (WINAPI *Next)(IEnumQueue *This,ULONG celt,ITQueue **ppElements,ULONG *pceltFetched);
979 HRESULT (WINAPI *Reset)(IEnumQueue *This);
980 HRESULT (WINAPI *Skip)(IEnumQueue *This,ULONG celt);
981 HRESULT (WINAPI *Clone)(IEnumQueue *This,IEnumQueue **ppEnum);
982 END_INTERFACE
983 } IEnumQueueVtbl;
984 struct IEnumQueue {
985 CONST_VTBL struct IEnumQueueVtbl *lpVtbl;
986 };
987#ifdef COBJMACROS
988#define IEnumQueue_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
989#define IEnumQueue_AddRef(This) (This)->lpVtbl->AddRef(This)
990#define IEnumQueue_Release(This) (This)->lpVtbl->Release(This)
991#define IEnumQueue_Next(This,celt,ppElements,pceltFetched) (This)->lpVtbl->Next(This,celt,ppElements,pceltFetched)
992#define IEnumQueue_Reset(This) (This)->lpVtbl->Reset(This)
993#define IEnumQueue_Skip(This,celt) (This)->lpVtbl->Skip(This,celt)
994#define IEnumQueue_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum)
995#endif
996#endif
997 HRESULT WINAPI IEnumQueue_Next_Proxy(IEnumQueue *This,ULONG celt,ITQueue **ppElements,ULONG *pceltFetched);
998 void __RPC_STUB IEnumQueue_Next_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
999 HRESULT WINAPI IEnumQueue_Reset_Proxy(IEnumQueue *This);
1000 void __RPC_STUB IEnumQueue_Reset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1001 HRESULT WINAPI IEnumQueue_Skip_Proxy(IEnumQueue *This,ULONG celt);
1002 void __RPC_STUB IEnumQueue_Skip_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1003 HRESULT WINAPI IEnumQueue_Clone_Proxy(IEnumQueue *This,IEnumQueue **ppEnum);
1004 void __RPC_STUB IEnumQueue_Clone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1005#endif
1006
1007#ifndef __IEnumACDGroup_INTERFACE_DEFINED__
1008#define __IEnumACDGroup_INTERFACE_DEFINED__
1009 EXTERN_C const IID IID_IEnumACDGroup;
1010#if defined(__cplusplus) && !defined(CINTERFACE)
1011 struct IEnumACDGroup : public IUnknown {
1012 public:
1013 virtual HRESULT WINAPI Next(ULONG celt,ITACDGroup **ppElements,ULONG *pceltFetched) = 0;
1014 virtual HRESULT WINAPI Reset(void) = 0;
1015 virtual HRESULT WINAPI Skip(ULONG celt) = 0;
1016 virtual HRESULT WINAPI Clone(IEnumACDGroup **ppEnum) = 0;
1017 };
1018#else
1019 typedef struct IEnumACDGroupVtbl {
1020 BEGIN_INTERFACE
1021 HRESULT (WINAPI *QueryInterface)(IEnumACDGroup *This,REFIID riid,void **ppvObject);
1022 ULONG (WINAPI *AddRef)(IEnumACDGroup *This);
1023 ULONG (WINAPI *Release)(IEnumACDGroup *This);
1024 HRESULT (WINAPI *Next)(IEnumACDGroup *This,ULONG celt,ITACDGroup **ppElements,ULONG *pceltFetched);
1025 HRESULT (WINAPI *Reset)(IEnumACDGroup *This);
1026 HRESULT (WINAPI *Skip)(IEnumACDGroup *This,ULONG celt);
1027 HRESULT (WINAPI *Clone)(IEnumACDGroup *This,IEnumACDGroup **ppEnum);
1028 END_INTERFACE
1029 } IEnumACDGroupVtbl;
1030 struct IEnumACDGroup {
1031 CONST_VTBL struct IEnumACDGroupVtbl *lpVtbl;
1032 };
1033#ifdef COBJMACROS
1034#define IEnumACDGroup_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1035#define IEnumACDGroup_AddRef(This) (This)->lpVtbl->AddRef(This)
1036#define IEnumACDGroup_Release(This) (This)->lpVtbl->Release(This)
1037#define IEnumACDGroup_Next(This,celt,ppElements,pceltFetched) (This)->lpVtbl->Next(This,celt,ppElements,pceltFetched)
1038#define IEnumACDGroup_Reset(This) (This)->lpVtbl->Reset(This)
1039#define IEnumACDGroup_Skip(This,celt) (This)->lpVtbl->Skip(This,celt)
1040#define IEnumACDGroup_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum)
1041#endif
1042#endif
1043 HRESULT WINAPI IEnumACDGroup_Next_Proxy(IEnumACDGroup *This,ULONG celt,ITACDGroup **ppElements,ULONG *pceltFetched);
1044 void __RPC_STUB IEnumACDGroup_Next_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1045 HRESULT WINAPI IEnumACDGroup_Reset_Proxy(IEnumACDGroup *This);
1046 void __RPC_STUB IEnumACDGroup_Reset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1047 HRESULT WINAPI IEnumACDGroup_Skip_Proxy(IEnumACDGroup *This,ULONG celt);
1048 void __RPC_STUB IEnumACDGroup_Skip_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1049 HRESULT WINAPI IEnumACDGroup_Clone_Proxy(IEnumACDGroup *This,IEnumACDGroup **ppEnum);
1050 void __RPC_STUB IEnumACDGroup_Clone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1051#endif
1052
1053#ifndef __IEnumAgentHandler_INTERFACE_DEFINED__
1054#define __IEnumAgentHandler_INTERFACE_DEFINED__
1055 EXTERN_C const IID IID_IEnumAgentHandler;
1056#if defined(__cplusplus) && !defined(CINTERFACE)
1057 struct IEnumAgentHandler : public IUnknown {
1058 public:
1059 virtual HRESULT WINAPI Next(ULONG celt,ITAgentHandler **ppElements,ULONG *pceltFetched) = 0;
1060 virtual HRESULT WINAPI Reset(void) = 0;
1061 virtual HRESULT WINAPI Skip(ULONG celt) = 0;
1062 virtual HRESULT WINAPI Clone(IEnumAgentHandler **ppEnum) = 0;
1063 };
1064#else
1065 typedef struct IEnumAgentHandlerVtbl {
1066 BEGIN_INTERFACE
1067 HRESULT (WINAPI *QueryInterface)(IEnumAgentHandler *This,REFIID riid,void **ppvObject);
1068 ULONG (WINAPI *AddRef)(IEnumAgentHandler *This);
1069 ULONG (WINAPI *Release)(IEnumAgentHandler *This);
1070 HRESULT (WINAPI *Next)(IEnumAgentHandler *This,ULONG celt,ITAgentHandler **ppElements,ULONG *pceltFetched);
1071 HRESULT (WINAPI *Reset)(IEnumAgentHandler *This);
1072 HRESULT (WINAPI *Skip)(IEnumAgentHandler *This,ULONG celt);
1073 HRESULT (WINAPI *Clone)(IEnumAgentHandler *This,IEnumAgentHandler **ppEnum);
1074 END_INTERFACE
1075 } IEnumAgentHandlerVtbl;
1076 struct IEnumAgentHandler {
1077 CONST_VTBL struct IEnumAgentHandlerVtbl *lpVtbl;
1078 };
1079#ifdef COBJMACROS
1080#define IEnumAgentHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1081#define IEnumAgentHandler_AddRef(This) (This)->lpVtbl->AddRef(This)
1082#define IEnumAgentHandler_Release(This) (This)->lpVtbl->Release(This)
1083#define IEnumAgentHandler_Next(This,celt,ppElements,pceltFetched) (This)->lpVtbl->Next(This,celt,ppElements,pceltFetched)
1084#define IEnumAgentHandler_Reset(This) (This)->lpVtbl->Reset(This)
1085#define IEnumAgentHandler_Skip(This,celt) (This)->lpVtbl->Skip(This,celt)
1086#define IEnumAgentHandler_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum)
1087#endif
1088#endif
1089 HRESULT WINAPI IEnumAgentHandler_Next_Proxy(IEnumAgentHandler *This,ULONG celt,ITAgentHandler **ppElements,ULONG *pceltFetched);
1090 void __RPC_STUB IEnumAgentHandler_Next_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1091 HRESULT WINAPI IEnumAgentHandler_Reset_Proxy(IEnumAgentHandler *This);
1092 void __RPC_STUB IEnumAgentHandler_Reset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1093 HRESULT WINAPI IEnumAgentHandler_Skip_Proxy(IEnumAgentHandler *This,ULONG celt);
1094 void __RPC_STUB IEnumAgentHandler_Skip_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1095 HRESULT WINAPI IEnumAgentHandler_Clone_Proxy(IEnumAgentHandler *This,IEnumAgentHandler **ppEnum);
1096 void __RPC_STUB IEnumAgentHandler_Clone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1097#endif
1098
1099 ULONG __RPC_API BSTR_UserSize(ULONG *,ULONG,BSTR *);
1100 unsigned char *__RPC_API BSTR_UserMarshal(ULONG *,unsigned char *,BSTR *);
1101 unsigned char *__RPC_API BSTR_UserUnmarshal(ULONG *,unsigned char *,BSTR *);
1102 void __RPC_API BSTR_UserFree(ULONG *,BSTR *);
1103 ULONG __RPC_API VARIANT_UserSize(ULONG *,ULONG,VARIANT *);
1104 unsigned char *__RPC_API VARIANT_UserMarshal(ULONG *,unsigned char *,VARIANT *);
1105 unsigned char *__RPC_API VARIANT_UserUnmarshal(ULONG *,unsigned char *,VARIANT *);
1106 void __RPC_API VARIANT_UserFree(ULONG *,VARIANT *);
1107
1108#ifdef __cplusplus
1109}
1110#endif
1111#endif
Note: See TracBrowser for help on using the repository browser.