SwyxIt! Client SDK 14.20
Loading...
Searching...
No Matches
CLMgr.idl
Go to the documentation of this file.
1/*---------------------------------------------------------------------------
2
3 Swyx Solutions GmbH
4 Emil-Figge-Str. 86
5 44227 Dortmund
6
7 ---------------------------------------------------------------------------
8
9 THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
10 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
11 IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
12 PURPOSE.
13
14 Copyright (C) 2018 Swyx Solutions GmbH
15
16 All Rights Reserved.
17
18----------------------------------------------------------------------------*/
19
20// CLMgr.idl : IDL source for CLMgr.dll
21//
22
23// This file will be processed by the MIDL tool to
24// produce the type library (CLMgr.tlb) and marshalling code.
25
26import "oaidl.idl";
27import "ocidl.idl";
28import "CLCOMApi.idl";
29#include "CLMgrPub.idl"
30#include "CLMgrQA.idl"
31
32#include "CLMgrTypes.h"
33
34
42
43 typedef enum
44 {
50 } MSGTYPE;
51
59
60 typedef enum
61 {
62 // No session active
64
65 // Session is being created, no participant has connected yet
67
68 // Session is running, participant connected
70
71 // Session is suspended
73
74 // Session failed for some reason.
77
85
86
87 typedef struct
88 {
89 BSTR m_sAcknowledgedDialstring; //dialstring that has been acknowledged by server so far
90 BSTR m_sPeerNumber; //phone number of peer, incoming and outgoing
91 BSTR m_sPeerName; //name of peer, incoming and outgoing
92 BSTR m_sCalledExtension; //extension of called line (extension from us, or group extension)
93 BSTR m_sCalledName; //name of called PBX user (our name, group name)
94 BOOL m_bIsDirectCall; //this call ought to be a direct call
95 BOOL m_bCallWasRedirected; //this call was redirected (incoming and outgoing)
96 BOOL m_bIsGroupCall; //this call was a directed to the whole group
97 BSTR m_sRedirectedFromNumber; //number of PBX user that forwarded this call
98 BSTR m_sRedirectedFromName; //name of PBX user that forwarded this call
99 BSTR m_sChargingDetails; //string containing charging information
100 int m_iNuberOfConferenceParticipants; //number or participants in a conference; 0: no conference
101 int m_DiscReason; //disconnect reason
102 SClTime m_ConnectionStartTime; //start time of current connection
103 SClTime m_ConnectionFinishedTime; //end time of current connection
105
106
107
108 typedef struct
109 {
110 BSTR m_sAcknowledgedDialstring; //dialstring that has been acknowledged by server so far
111 BSTR m_sPeerNumber; //phone number of peer, incoming and outgoing
112 BSTR m_sPeerName; //name of peer, incoming and outgoing
113 DWORD m_dwPeerIpAddress; //IP address of peer
114 BSTR m_sCalledExtension; //extension of called line (extension from us, or group extension)
115 BSTR m_sCalledName; //name of called PBX user (our name, group name)
116 BOOL m_bIsDirectCall; //this call ought to be a direct call
117 BOOL m_bCallWasRedirected; //this call was redirected (incoming and outgoing)
118 BOOL m_bIsGroupCall; //this call was a directed to the whole group
119 BOOL m_bIsRecording; //true: this call is recorded (big brother)
120 BSTR m_sRedirectedFromNumber; //number of PBX user that forwarded this call
121 BSTR m_sRedirectedFromName; //name of PBX user that forwarded this call
122 BOOL m_bIsBlindCallTransferDestination; //this call will be transferred from caller after connect
123 BSTR m_sBlindCallTransferSourceNumber; //number of PBX user that will be transferred to us
124 BSTR m_sBlindCallTransferSourceName; //name of PBX user that will be transferred to us
125 BSTR m_sChargingDetails; //string containing charging information
126 int m_iNuberOfConferenceParticipants; //number or participants in a conference; 0: no conference
127 int m_DiscReason; //disconnect reason
128 SClTime m_ConnectionStartTime; //start time of current connection
129 SClTime m_ConnectionFinishedTime; //end time of current connection
131
132
133
134 typedef struct
135 {
136 BSTR m_sAcknowledgedDialstring; //dialstring that has been acknowledged by server so far
137 BSTR m_sPeerNumber; //phone number of peer, incoming and outgoing
138 BSTR m_sPeerName; //name of peer, incoming and outgoing
139 DWORD m_dwPeerIpAddress; //IP address of peer
140 BSTR m_sCalledExtension; //extension of called line (extension from us, or group extension)
141 BSTR m_sCalledName; //name of called PBX user (our name, group name)
142 BOOL m_bIsDirectCall; //this call ought to be a direct call
143 BOOL m_bCallWasRedirected; //this call was redirected (incoming and outgoing)
144 BOOL m_bIsGroupCall; //this call was a directed to the whole group
145 BOOL m_bIsRecording; //true: this call is recorded (big brother)
146 BOOL m_bIsOutgoing; //true: this is an outgoing connection
147 BOOL m_bIsInternalCall; //true: call is from other PBX user
148 BSTR m_sRedirectedFromNumber; //number of PBX user that forwarded this call
149 BSTR m_sRedirectedFromName; //name of PBX user that forwarded this call
150 BOOL m_bIsBlindCallTransferDestination; //this call will be transferred from caller after connect
151 BSTR m_sBlindCallTransferSourceNumber; //number of PBX user that will be transferred to us
152 BSTR m_sBlindCallTransferSourceName; //name of PBX user that will be transferred to us
153 BSTR m_sChargingDetails; //string containing charging information
154 int m_iNuberOfConferenceParticipants; //number or participants in a conference; 0: no conference
155 int m_DiscReason; //disconnect reason
156 SClTime m_ConnectionStartTime; //start time of current connection
157 SClTime m_ConnectionFinishedTime; //end time of current connection
159
160
161
175
176
177
178 typedef struct
179 {
180 CLMgrCallHistoryItemType m_HistoryItemType; //type of call history item
181 SClTime m_Timestamp; //timestamp when event occured
182 int m_DiscReason; //disconnect reason for "transfer failed" and disconnect events
183 BSTR m_PeersNumber; //peer number related to event
184 BSTR m_PeersName; //peer name related to event
186
187
188
189 typedef struct
190 {
191 BSTR m_sAcknowledgedDialstring; //dialstring that has been acknowledged by server so far
192 BSTR m_sPeerNumber; //phone number of peer, incoming and outgoing
193 BSTR m_sPeerName; //name of peer, incoming and outgoing
194 DWORD m_dwPeerIpAddress; //IP address of peer
195 BSTR m_sCalledExtension; //extension of called line (extension from us, or group extension)
196 BSTR m_sCalledName; //name of called PBX user (our name, group name)
197 BOOL m_bIsDirectCall; //this call ought to be a direct call
198 BOOL m_bCallWasRedirected; //this call was redirected (incoming and outgoing)
199 BOOL m_bIsGroupCall; //this call was a directed to the whole group
200 BOOL m_bIsRecording; //true: this call is recorded (big brother)
201 BOOL m_bIsOutgoing; //true: this is an outgoing connection
202 BOOL m_bIsInternalCall; //true: call is from other PBX user
203 BSTR m_sRedirectedFromNumber; //number of PBX user that forwarded this call
204 BSTR m_sRedirectedFromName; //name of PBX user that forwarded this call
205 BOOL m_bIsBlindCallTransferDestination; //this call will be transferred from caller after connect
206 BSTR m_sBlindCallTransferSourceNumber; //number of PBX user that will be transferred to us
207 BSTR m_sBlindCallTransferSourceName; //name of PBX user that will be transferred to us
208 BSTR m_sChargingDetails; //string containing charging information
209 int m_iNuberOfConferenceParticipants; //number or participants in a conference; 0: no conference
210 int m_DiscReason; //disconnect reason
211 SClTime m_ConnectionStartTime; //start time of current connection
212 SClTime m_ConnectionFinishedTime; //end time of current connection
213 unsigned long m_CallId; //unique call ID
214 int m_HistoryItemsArraySize; //size of history items array (must set by client)
215 int m_NumHistoryItems; //number of filled in history items (set by line manager)
216 int m_NumHistoryItemsAvailable; //number of available history items (if m_NumHistoryItemsAvailable>m_NumHistoryItems, buffer was too small)
217 [size_is(m_HistoryItemsArraySize)]
218 CLMgrCallHistoryItem m_CallHistoryItems[]; //array of history items; array size given in m_HistoryItemsArraySize
219 //array has to be allocated by client application
221
222
223
224 typedef struct
225 {
226 BSTR m_sAcknowledgedDialstring; //dialstring that has been acknowledged by server so far
227 BSTR m_sPeerNumber; //phone number of peer, incoming and outgoing
228 BSTR m_sPeerName; //name of peer, incoming and outgoing
229 DWORD m_dwPeerIpAddress; //IP address of peer
230 BSTR m_sCalledExtension; //extension of called line (extension from us, or group extension)
231 BSTR m_sCalledName; //name of called PBX user (our name, group name)
232 BOOL m_bIsDirectCall; //this call ought to be a direct call
233 BOOL m_bCallWasRedirected; //this call was redirected (incoming and outgoing)
234 BOOL m_bIsGroupCall; //this call was a directed to the whole group
235 BOOL m_bIsRecording; //true: this call is recorded (big brother)
236 BOOL m_bIsOutgoing; //true: this is an outgoing connection
237 BOOL m_bIsInternalCall; //true: call is from other PBX user
238 BOOL m_bCallbackRequested; //true: we requested callback for this connection
239 BOOL m_bCallbackOnBusyRequested; //true: we requested callback on busy for this connection
240 BSTR m_sRedirectedFromNumber; //number of PBX user that forwarded this call
241 BSTR m_sRedirectedFromName; //name of PBX user that forwarded this call
242 BOOL m_bIsBlindCallTransferDestination; //this call will be transferred from caller after connect
243 BSTR m_sBlindCallTransferSourceNumber; //number of PBX user that will be transferred to us
244 BSTR m_sBlindCallTransferSourceName; //name of PBX user that will be transferred to us
245 BSTR m_sChargingDetails; //string containing charging information
246 int m_iNuberOfConferenceParticipants; //number or participants in a conference; 0: no conference
247 int m_DiscReason; //disconnect reason
248 SClTime m_ConnectionStartTime; //start time of current connection
249 SClTime m_ConnectionFinishedTime; //end time of current connection
250 unsigned long m_CallId; //unique call ID
251 int m_HistoryItemsArraySize; //size of history items array (must set by client)
252 int m_NumHistoryItems; //number of filled in history items (set by line manager)
253 int m_NumHistoryItemsAvailable; //number of available history items (if m_NumHistoryItemsAvailable>m_NumHistoryItems, buffer was too small)
254 [size_is(m_HistoryItemsArraySize)]
255 CLMgrCallHistoryItem m_CallHistoryItems[]; //array of history items; array size given in m_HistoryItemsArraySize
256 //array has to be allocated by client application
258
259
260
261 typedef struct
262 {
263 BSTR m_sLastCallLcrPrefix; //LCR prefix of last call
264 BSTR m_sLastCallOriginatingExtension; //our extension that was used for that call
265 BSTR m_sLastCallChargingDetails; //charging of last call
266 BSTR m_sLastCallPeersPbxUserName; //peer name of last call
267 BSTR m_sLastCallPeersNumber; //peer number of last call
268 SClTime m_LastCallStartTime; //start time of last call
269 SClTime m_LastCallFinishedTime; //end time of last call
271
272
273
274 typedef struct
275 {
276 BSTR m_sLastCallLcrPrefix; //LCR prefix of last call
277 BSTR m_sLastCallOriginatingExtension; //our extension that was used for that call
278 BSTR m_sLastCallChargingDetails; //charging of last call
279 BSTR m_sLastCallPeersPbxUserName; //peer name of last call
280 BSTR m_sLastCallPeersNumber; //peer number of last call
281 SClTime m_LastCallStartTime; //start time of last call
282 SClTime m_LastCallFinishedTime; //end time of last call
283 BOOL m_LastCallIsOutgoing; //true: this is an outgoing connection
284 BOOL m_LastCallWasConnected; //true: there has been a voice connection
285 int m_LastCallDiscReason; //disconnect reason
287
288
289
290 typedef struct
291 {
292 BSTR m_sLastCallLcrPrefix; //LCR prefix of last call
293 BSTR m_sLastCallOriginatingExtension; //our extension that was used for that call
294 BSTR m_sLastCallChargingDetails; //charging of last call
295 BSTR m_sLastCallPeersPbxUserName; //peer name of last call
296 BSTR m_sLastCallPeersNumber; //peer number of last call
297 SClTime m_LastCallStartTime; //start time of last call
298 SClTime m_LastCallFinishedTime; //end time of last call
299 BOOL m_LastCallIsOutgoing; //true: this is an outgoing connection
300 BOOL m_LastCallWasConnected; //true: there has been a voice connection
301 int m_LastCallDiscReason; //disconnect reason
302 unsigned long m_LastCallId; //unique call ID
303 int m_LastCallHistoryItemsArraySize; //size of history items array (must set by client)
304 int m_LastCallNumHistoryItems; //number of filled in history items (set by line manager)
305 int m_LastCallNumHistoryItemsAvailable; //number of available history items (if m_NumHistoryItemsAvailable>m_NumHistoryItems, buffer was too small)
307 CLMgrCallHistoryItem m_LastCallCallHistoryItems[]; //array of history items; array size given in m_LastCallHistoryItemsArraySize
308 //array has to be allocated by client application
310
311
312
313 typedef struct
314 {
315 BSTR m_sPeerNumber; //or calling party number
316 BSTR m_sPeerName; //name of peer
317 BSTR m_sCalledExtension; //extension of called line
318 BSTR m_sCalledName; //name of called PBX user
319 BOOL m_bCallWasRedirected; //this call was redirected (incoming and outgoing)
320 BSTR m_sRedirectedFromNumber; //number of PBX user that forwarded this call
321 BSTR m_sRedirectedFromName; //name of PBX user that forwarded this call
323
324
325
326 typedef struct
327 {
328 BSTR m_sPeerNumber; //or calling party number
329 BSTR m_sPeerName; //name of peer
330 BSTR m_sCalledExtension; //extension of called line
331 BSTR m_sCalledName; //name of called PBX user
332 BOOL m_bCallWasRedirected; //this call was redirected (incoming and outgoing)
333 BSTR m_sRedirectedFromNumber; //number of PBX user that forwarded this call
334 BSTR m_sRedirectedFromName; //name of PBX user that forwarded this call
335 unsigned long m_CallRefNum; //unique call ID
337
338
339
345
346
347
359
360
361
369
370
371
372 typedef struct
373 {
374 DWORD dwMajorVersion; // Major version
375 DWORD dwMinorVersion; // Minor version
376 DWORD dwBuildNumber; // Build number
378
379
380
381 typedef struct
382 {
383 BSTR m_bstrVisibleDeviceName; //friendly name of sound device, as displayed in control panel
384 BOOL m_bHasPlayer; //sound device can playback sound, device id given in m_bstrDeviceIdPlayer
385 BOOL m_bHasRecorder; //sound device can record sound, device id given in m_bstrDeviceIdRecorder
386 BOOL m_bHasMixer ; //associated mixer could be found
387 BSTR m_bstrDeviceIdPlayer; //devive id for playback: client line manager will use this id for opening sound channel
388 BSTR m_bstrDeviceIdRecorder; //devive id for record: client line manager will use this id for opening sound channel
389 BSTR m_bstrMixerName; //name of associated mixer device
391
392
393
394 typedef struct
395 {
396 BSTR m_bstrVisibleDeviceName; //friendly name of sound device, as displayed in control panel
397 BOOL m_bIsDirectXSoundDevice; //device is DirectX sound device
398 BOOL m_bHasPlayer; //sound device can playback sound, device id given in m_bstrDeviceIdPlayer
399 BOOL m_bHasRecorder; //sound device can record sound, device id given in m_bstrDeviceIdRecorder
400 BOOL m_bHasMixer; //associated mixer could be found
401 BOOL m_bHasDxAudioRenderer; //sound device can be used for ringing
402 BSTR m_bstrDeviceIdPlayer; //devive id for playback: client line manager will use this id for opening sound channel
403 BSTR m_bstrDeviceIdRecorder; //devive id for record: client line manager will use this id for opening sound channel
404 BSTR m_bstrMixerName; //name of associated mixer device
405 BSTR m_bstrDxAudioRenderer; //name of associated DX Audio Renderer device (used for ringing only)
406 BSTR m_bstrManufacturerId; //HID Manufacturer ID
407 BSTR m_bstrsProductId; //HID Product ID
408 unsigned long m_dwManufacturerId; //HID Manufacturer ID
409 unsigned long m_dwProductId; //HID Product ID
410 BOOL m_bIsHandset; //device is a well known handset
411 BOOL m_bIsHeadset; //device is a well known headset
412 BOOL m_bIsSpeaker; //device is a well known device with speaker
413 BOOL m_bHookSupportUSB; //device supports USB hook switch
414 BOOL m_bHookSupportComPort; //device supports COM port hook switch
415 BOOL m_iComPort; //COM port to be used
416 BOOL m_bHookSupportGamePort; //device supports Game port hook switch
417 BOOL m_bHookSupportBluetooth; //device supports bluetooth hook switch
418 BOOL m_bIsWellKnownDevice; //device is well known and does not need calibration
420
421
422
423 typedef struct
424 {
425 unsigned long m_CallbackRequestId; //unique id
426 unsigned long m_CallbackOnBusyId; //unique id
427 SClTime m_Timestamp; //timestamp when event occured
428 BSTR m_sPeersNumber; //peer number
429 BSTR m_sPeersName; //peer name
430 BOOL m_bCallbackRequested; //callback requested from peer?
431 SPhoneCBState m_CallbackRequestState; //status of callback request
432 BOOL m_bCallbackOnBusy; //callback on busy signaling requested?
433 BOOL m_bCallbackOnBusySignaled; //callback on busy has been signaled in between, awaiting no more signaling
435
436
437
438 typedef struct
439 {
440 BSTR m_sPeerNumber; //number that is now free again
441 BSTR m_sPeerName; //name that is now free again
443
444
445
446 typedef struct
447 {
448 unsigned long m_ulMessageId;
452 } CLMgrChatMsg;
453
454
455
456 typedef struct
457 {
458 unsigned long m_ulMessageId;
462
463
472
479
480
481 [
482 object,
483 uuid(f8e552f5-4c00-11d3-80bc-00105a653379),
484
485 helpstring("IClientLine2 Interface"),
486 pointer_default(unique)
487 ]
488 interface IClientLine2 : IUnknown
489 {
490 /*
491 * hook up and start dialing or pick up incoming call
492 */
493 [helpstring("method HookOff")] HRESULT HookOff();
494
495 /*
496 * hook on, put down telephone receiver after connection has been
497 * disconnected
498 */
499 [helpstring("method HookOn")] HRESULT HookOn();
500
501 /*
502 * Press hook (hook on, and if handset is offhook, hook off again)
503 */
504 [helpstring("method PressHook")] HRESULT PressHook();
505
506 /*
507 * dial given dialstring, or send that string as DTMF signal
508 */
509 [helpstring("method Dial")] HRESULT Dial([in] BSTR dialstring);
510
511 /*
512 * Action from client: set an active line on hold, does not
513 * activate an other line
514 * calls state machine
515 */
516 [helpstring("method Hold")] HRESULT Hold([in] int HoldMusic);
517
518 /*
519 * Set a line on hold back to active, does not automatically set an
520 * other active line on hold
521 */
522 [helpstring("method Activate")] HRESULT Activate();
523
524 /*
525 * line is alerting: connect in direct call mode
526 */
527 [helpstring("method DirectCall")] HRESULT DirectCall();
528
529 /*
530 * Add this line to a conference / connection on given line
531 * (pConferenceLine). If connection on pConferenceLine was not yet
532 * a conference, it will be transferred into a conference. This
533 * line will be disconnected afterwards.
534 */
535 [helpstring("method JoinConference")] HRESULT JoinConference([in] IClientLine2* pIConferenceLine);
536
537 /*
538 * Transfer the connection from this line to line given in
539 * pTargetLine. Both lines will be disconnected, and both peers
540 * will be connected afterwards.
541 */
542 [helpstring("method TransferCall")] HRESULT TransferCall([in] IClientLine2* pITargetLine);
543
544 /*
545 * Forward an established or incoming call to a specified dialnumber
546 */
547 [helpstring("method ForwardCall")] HRESULT ForwardCall([in] BSTR dialstring);
548
549 /*
550 * get state of that line
551 */
552 [helpstring("method GetState")] HRESULT GetState([out] CLMgrLineStates *piState);
553
554 /*
555 * get details of that line
556 */
557 [helpstring("method GetDetails")] HRESULT GetDetails([out] CLMgrLineDetails *pDetails);
558
559 /*
560 * get details of last call on that line
561 */
562 [helpstring("method GetLastCallDetails")] HRESULT GetLastCallDetails([out] CLMgrCallDetails *pDetails);
563 };
564
565
566
567
568 [
569 object,
570 uuid(f8e552f6-4c00-11d3-80bc-00105a653379),
571
572 helpstring("IClientLineMgr2 Interface"),
573 pointer_default(unique)
574 ]
575 interface IClientLineMgr2 : IUnknown
576 {
577 /*
578 !!! depcreated function! Use IClientLineMgrDisp::RegisterUserEx !!!
579 */
580 [helpstring("method Init")] HRESULT Init([in] BSTR ServerName, [out] IClPBX** ppIClPbx);
581
582 /*
583 !!! depcreated function! Use IClientLineMgrDisp::RegisterUserEx !!!
584 */
585 [helpstring("method ReInit")] HRESULT ReInit([out] IClPBX** ppIClPbx, [out] IClUser** ppIClUser);
586
587 /*
588 * Check whether it is a PBX line manager or a TAPI line manager
589 */
590 [helpstring("method GetLineManagerType")] HRESULT GetLineManagerType([out] SClLineManagerType *pLineManagerType);
591
592 /*
593 * Get number of TAPI lines
594 */
595 [helpstring("method GetTapiLineCount")] HRESULT GetTapiLineCount([out] int* piTapiLineCount);
596
597 /*
598 * Get info about certain TAPI line
599 */
600 [helpstring("method GetTapiLineInfo")] HRESULT GetTapiLineInfo([in] int iTapiLine, [out] BSTR *psTapiLineName, [out] DWORD *pTapiLineId);
601
602 /*
603 * Register watchdog timeout
604 * If client does not report in time, the line manager will terminate automatically
605 */
606 [helpstring("method RegisterServiceWatchdog")] HRESULT RegisterServiceWatchdog([in] DWORD timeout);
607
608 /*
609 * Get number of configured MSNs from TAPI line manager
610 */
611 [helpstring("method GetTapiMSNCount")] HRESULT GetTapiMSNCount([out] int* piTapiMsnCount);
612
613 /*
614 * Get configured MSN from TAPI
615 */
616 [helpstring("method GetTapiMSN")] HRESULT GetTapiMSN([in] int iMsnNo, [out] BSTR *psTapiMsn);
617
618 /*
619
620 !!! depcreated function! Use IClientLineMgrDisp::RegisterUserEx !!!
621 */
622 [helpstring("method RegisterUser")] HRESULT RegisterUser([in] BSTR PbxUserName, [out] IClUser** ppIClUser, [out] unsigned long* pulUserId, [in, out] unsigned long* pMaxUsers, [out, size_is(*pMaxUsers), length_is(*pNumReturned)] BSTR* pszPBXUser, [out] unsigned long* pNumReturned);
623
624 /*
625 * Register a secondary user on the PBX, return an IClUser
626 * interface pointer to allow the client access to the user
627 * configuration data
628 * Authentication will be done based on given NT user account /
629 * password
630 */
631 [helpstring("method RegisterSecondaryUser")] HRESULT RegisterSecondaryUser([in] BSTR PbxUserName, [in] BSTR NtUserName, [in] BSTR NtPassword, [out] IClUser** ppIClUser, [out] unsigned long* pulUserId);
632
633 /*
634 !!! depcreated function! Use IClientLineMgrDisp::ReleaseUserEx !!!
635 */
636 [helpstring("method ReleaseUser")] HRESULT ReleaseUser([in] unsigned long ulUserId);
637
638 /*
639 * Get number of lines
640 */
641 [helpstring("method GetLineCount")] HRESULT GetLineCount([out] int* piLineCount);
642
643 /*
644 * Get pointer to specified line object
645 */
646 [helpstring("method GetLine")] HRESULT GetLine([in] int iLineNumber, [out] IClientLine2** ppIClientLine);
647
648 /*
649 * Fill in pointer array for all line objects
650 */
651 [helpstring("method GetAllLines")] HRESULT GetAllLines([in] int iSizeOfArray, [out, size_is(iSizeOfArray)] IClientLine2** ppIClientLines);
652
653 /*
654 * select a specified line
655 */
656 [helpstring("method SelectLine")] HRESULT SelectLine([in] IClientLine2* pIClientLine, BOOL bAutoHookOff);
657
658 /*
659 * select a specified line
660 */
661 [helpstring("method SelectLine")] HRESULT SelectLineByNumber([in] int LineNumber, BOOL bAutoHookOff);
662
663 /*
664 * get the selected line, return pointer to line object
665 */
666 [helpstring("method GetSelectedLine")] HRESULT GetSelectedLine([out] IClientLine2** ppIClientLine, [out] int* piLineNumber);
667
668 /*
669 * get state of all lines
670 */
671 [helpstring("method GetStates")] HRESULT GetStates([in] int iSizeOfArray, [out, size_is(iSizeOfArray)] CLMgrLineStates *piStates);
672
673 /*
674 * register thread / window for window messages
675 */
676 [helpstring("method RegisterMessageTarget")] HRESULT RegisterMessageTarget([in] DWORD hWnd, [in] DWORD dwThreadId);
677
678 /*
679 * unregister thread / window for window messages
680 */
681 [helpstring("method UnRegisterMessageTarget")] HRESULT UnRegisterMessageTarget([in] DWORD hWnd, [in] DWORD dwThreadId);
682
683 /*
684 * get capabilities from Line Manager
685 */
686 [helpstring("method GetCapabilites")] HRESULT GetCapabilites([out] CLMgrCapabilities *pCapabilities);
687
688 /*
689 * Play soundfile using our mediastreaming
690 */
691 [helpstring("method PlaySoundFile")] HRESULT PlaySoundFile([in] SClDataLocations Location, [in] BSTR sFileName, [in] BOOL bPlayLoop, [in] int iLoopInterval, [in] DWORD dwVolume);
692
693 /*
694 * set wave endpoint volume level (percent, amplification in relation to windows wave output)
695 * the value will be changed and stored in registry
696 * running wave output will not be stopped temporary
697 */
698 [helpstring("method SetWaveEndpointLevel")] HRESULT SetWaveEndpointLevel([in] DWORD dwVolume, [in] BOOL bSaveToConfiguration);
699
700 /*
701 * set wave endpoint ringing level (percent, amplification in relation to windows wave output)
702 * the value will be changed and stored in registry
703 * running wave output will not be stopped temporary
704 */
705 [helpstring("method SetWaveEndpointRingingLevel")] HRESULT SetWaveEndpointRingingLevel([in] DWORD dwVolume, [in] BOOL bSaveToConfiguration);
706
707 /*
708 * Stop Play soundfile
709 */
710 [helpstring("method StopPlaySoundFile")] HRESULT StopPlaySoundFile();
711
712 /*
713 * Record soundfile using our mediastreaming
714 */
715 [helpstring("method RecordSoundFile")] HRESULT RecordSoundFile([in] SClDataLocations Location, [in] BSTR sFileName);
716
717 /*
718 * Stop Record soundfile
719 */
720 [helpstring("method StopRecordSoundFile")] HRESULT StopRecordSoundFile();
721
722 /*
723 * get line managers version
724 */
725 [helpstring("method GetVersion")] HRESULT GetVersion([out] CLMGRVERSIONINFO *pdvi);
726
727 /*
728 * Trigger line manager for reloading local settings (SoundWizard, ...)
729 */
730 [helpstring("method ReloadLocalSettings")] HRESULT ReloadLocalSettings();
731
732 /*
733 * enable / disable wave devices
734 */
735 [helpstring("method SwitchWaveDevices")] HRESULT SwitchWaveDevices([in] BOOL EnableMicro, [in] BOOL EnableSpeaker);
736
737 /*
738 * get enable / disable state of wave devices
739 */
740 [helpstring("method GetWaveDevicesStates")] HRESULT GetWaveDevicesStates([out] BOOL *MicroEnabled, [out] BOOL *SpeakerEnabled);
741
742 /*
743 * check whether connection to server is up
744 * returns S_OK if connection is up
745 * retruns S_FALSE if connection is broken
746 */
747 [helpstring("method IsServerUp")] HRESULT IsServerUp();
748
749 /*
750 * enable / disable notification sounds
751 */
752 [helpstring("method EnableNotificationSounds")] HRESULT EnableNotificationSounds([in] BOOL bEnable);
753
754 /*
755 * enable / disable compatibility mode for soundwizard
756 * TRUE: release COM port, release all wave devices -> allow SoundWizard full access to all resources
757 * FALSE: reload local settings, start hookoff monitoring, reallocate all wave devices
758 */
759 [helpstring("method SetHandleHookEvents")] HRESULT SetHandleHookEvents([in] BOOL bEnable);
760
761 /*
762 * get details of current group notification
763 */
764 [helpstring("method GetGroupNotificationDetails")] HRESULT GetGroupNotificationDetails([out] CLMgrGroupNotificationDetails *pDetails);
765
766 /*
767 * pickup group call on specified line
768 * line = -1 if line does not matter -> select first inactive line
769 */
770 [helpstring("method PickupGroupNotificationCall")] HRESULT PickupGroupNotificationCall([in] int LineNumber);
771
772 /*
773 * get state of all namekeys
774 */
775 [helpstring("method GetNamekeyStates")] HRESULT GetNamekeyStates([in] int iSizeOfArray, [out, size_is(iSizeOfArray)] CLMgrNameKeyStates *piStates);
776
777 /*
778 * get state of specified namekey
779 */
780 [helpstring("method GetNamekeyState")] HRESULT GetNamekeyState([in] int iNameKey, [out] CLMgrNameKeyStates *piState);
781
782 /*
783 * trigger client line manager to send CLMgrClientShutDownRequest to all its clients
784 */
785 [helpstring("method SendClientShutDownRequest")] HRESULT SendClientShutDownRequest();
786
787 };
788
789
790
791 [
792 object,
793 uuid(f8e55321-4c00-11d3-80bc-00105a653379),
794
795 helpstring("IClientLineMgrEx Interface"),
796 pointer_default(unique)
797 ]
798 interface IClientLineMgrEx : IUnknown
799 {
800 /*
801 * get list of names of available wave devices
802 * client will write names to be used for handset and ringing to configuration section in registry
803 * list is array of structs:
804 * struct CLMgrSoundDeviceDescription
805 * {
806 * BSTR m_bstrVisibleDeviceName; //friendly name of sound device, as displayed in control panel
807 * BOOL m_bHasPlayer; //sound device can playback sound, device id given in m_bstrDeviceIdPlayer
808 * BOOL m_bHasRecorder; //sound device can record sound, device id given in m_bstrDeviceIdRecorder
809 * BSTR m_bstrDeviceIdPlayer; //devive id for playback: client line manager will use this id for opening sound channel
810 * BSTR m_bstrDeviceIdRecorder; //devive id for record: client line manager will use this id for opening sound channel
811 * };
812 *
813 * write selected devices to registry:
814 * HandsetWaveDevicePlayer = m_bstrDeviceIdPlayer of handset device
815 * HandsetWaveDeviceRecorder = m_bstrDeviceIdRecorder of handset device
816 * SpeakersWaveDevicePlayer = m_bstrDeviceIdPlayer of speakers device
817 * SpeakersWaveDeviceRecorder= m_bstrDeviceIdRecorder of speakers device (obsolete right now, but might be useful in future for handsfree speaking)
818 */
819 [helpstring("method GetAvailableWaveDevices")] HRESULT GetAvailableWaveDevices([in, out] unsigned long* pMaxDevices, [out, size_is(*pMaxDevices), length_is(*pNumReturned)] CLMgrSoundDeviceDescription* pSoundDevices, [out] unsigned long* pNumReturned);
820
821 /*
822 * get windows default wave devices for play and record
823 * this device will be used by client line manager if no wave device was configured by SwyxIt!
824 */
825 [helpstring("method GetDefaultWaveDevices")] HRESULT GetDefaultWaveDevices([out] CLMgrSoundDeviceDescription* pPlayerDevice, [out] CLMgrSoundDeviceDescription* pRecorderDevice);
826
827 /*
828 * enable / disable OpenListening (handset micro + desktop speaker) and handsfree speaking (desktop micro and speaker)
829 */
830 [helpstring("method SelectSpeakers")] HRESULT SelectSpeakers([in] BOOL OpenListening, [in] BOOL Handsfree);
831
832 /*
833 * get state of OpenListening (handset micro + desktop speaker) and handsfree speaking (desktop micro and speaker)
834 */
835 [helpstring("method GetSelectedSpeakers")] HRESULT GetSelectedSpeakers([out] BOOL *OpenListening, [out] BOOL *Handsfree);
836
837 /*
838 * Set number of lines
839 */
840 [helpstring("method SetLineCount")] HRESULT SetLineCount([in] int iLineCount);
841
842 /*
843 * Save Mixer Profile to registry
844 * set iReserved to "0"
845 */
846 [helpstring("method SaveMixerSettings")] HRESULT SaveMixerSettings([in] int iReserved);
847
848 /*
849 * Restore Mixer Profile from registry
850 * set iReserved to "0"
851 */
852 [helpstring("method RestoreMixerSettings")] HRESULT RestoreMixerSettings([in] int iReserved);
853
854 }
855
856
857
858 [
859 object,
860 uuid(f8e55342-4c00-11d3-80bc-00105a653379),
861
862 helpstring("IClientLineEx Interface"),
863 pointer_default(unique)
864 ]
865 interface IClientLineEx : IUnknown
866 {
867 /*
868 * hook off silent: same as HookOff, but without dial and busy sound (used for auto redial by client)
869 */
870 [helpstring("method HookOffSilent")] HRESULT HookOffSilent();
871
872 /*
873 * request callback: we will appear in peers caller list with state SPCSAskedForCallback
874 * and in our own callback request list
875 */
876 [helpstring("method RequestCallback")] HRESULT RequestCallback();
877
878 /*
879 * request callback on busy: peer is busy, server will notify us as soon as peer is no more busy
880 * peer will not get any info about RequestCallbackOnBusy
881 */
882 [helpstring("method RequestCallbackOnBusy")] HRESULT RequestCallbackOnBusy();
883
884 /*
885 * record current conversation
886 * file name will be build of own extension, peer extension / name and timestamp
887 * location depends on configuration
888 * depending on configuration, inquiry calls will be recorded into same file or different file
889 */
890 [helpstring("method StartRecording")] HRESULT StartRecording();
891
892 /*
893 * stop recording of current conversation
894 */
895 [helpstring("method StopRecording")] HRESULT StopRecording();
896
897 /*
898 * get details of that line
899 */
900 [helpstring("method GetDetailsEx")] HRESULT GetDetailsEx([out] CLMgrLineDetailsEx *pDetails);
901 }
902
903
904
905 [
906 object,
907 uuid(f8e55369-4c00-11d3-80bc-00105a653379),
908
909 helpstring("IClientLineEx2 Interface"),
910 pointer_default(unique)
911 ]
912 interface IClientLineEx2 : IUnknown
913 {
914 /*
915 * get details of that line
916 */
917 [helpstring("method GetDetailsEx2")] HRESULT GetDetailsEx2([out] CLMgrLineDetailsEx2 *pDetails);
918
919 /*
920 * get details of last call on that line
921 */
922 [helpstring("method GetLastCallDetailsEx")] HRESULT GetLastCallDetailsEx([out] CLMgrCallDetailsEx *pDetails);
923 }
924
925
926
927 [
928 object,
929 uuid(f8e55373-4c00-11d3-80bc-00105a653379),
930
931 helpstring("IClientLineMgrEx2 Interface"),
932 pointer_default(unique)
933 ]
934 interface IClientLineMgrEx2 : IUnknown
935 {
936 /*
937 * This method will resolve a phone number to a name
938 *
939 * Input: Number
940 * Output: Name.
941 * If the number can be resolved, *pName is the resolved name and the HRESULT is S_OK.
942 * If the number cannot be resolved, *pName is set to NULL and the HRESULT is S_FALSE.
943 * If Number is NULL or pName is NULL, HRESULT will be E_INVALIDARG
944 */
945 [helpstring("method ResolveNumber")] HRESULT ResolveNumber([in] BSTR Number, [out] BSTR *pName);
946
947 /*
948 * This method will convert a phone number to a different format
949 *
950 * requested style:
951 *
952 * typedef enum
953 * {
954 * PubCLMgrNumberStyleFull, //e.g. 0004923147770 or 0023147770
955 * PubCLMgrNumberStylePlain, //e.g. 4923147770 or 23147770
956 * PubCLMgrNumberStyleCanonical //e.g. +49 (231) 47770 or +49 (231) 4777-0
957 * PubCLMgrNumberStyleFullPublic //e.g. 004923147770 or 023147770
958 * } PubCLMgrNumberStyle;
959 *
960 * Full number: 0023147770
961 * Canonical number: +49 (231) 4777-0 or +49 (231) 47770 (the extension cannot be detected automatically)
962 */
963 [helpstring("method ConvertNumber")] HRESULT ConvertNumber([in] DWORD Style, [in] BSTR NumberFrom, [out] BSTR *pNumberTo);
964
965 /*
966 * This method will tell line manager to reload the personal phonebook.
967 * The personal phonebook will be used for name resolution too.
968 * This method is called by phonebook component
969 */
970 [helpstring("method ReloadPersonalPhonebook")] HRESULT ReloadPersonalPhonebook();
971 }
972
973
974
975 [
976 object,
977 uuid(f8e553a8-4c00-11d3-80bc-00105a653379),
978
979 helpstring("IClientLineMgrEx3 Interface"),
980 pointer_default(unique)
981 ]
982 interface IClientLineMgrEx3 : IUnknown
983 {
984 /*
985 !!! depcreated function! Use IClientLineMgrDisp::RegisterUserEx !!!
986 */
987 [helpstring("method InitEx")] HRESULT InitEx([in] BSTR ServerName, [in] BSTR BackupServerName, [out] IClPBX** ppIClPbx);
988
989 /*
990 * Get Details about server addresses retreived via AutoDetection
991 * BSTR *psServer: primary server to be used (resolved name, ip address if name could not be resolved)
992 * BSTR *psBackupServer: backup server to be used (resolved name, ip address if name could not be resolved)
993 * BOOL *pbAutoDetectionEnabled: TRUE if AutoDetection API available, FALSE if we could not use AutoDetection (Windows 9x, NT4)
994 * BOOL *pbServerAvailable: TRUE if we retreived server addresses via AutoDetection);
995 */
996 [helpstring("method GetServerFromAutoDetection")] HRESULT GetServerFromAutoDetection([out] BSTR *psServer, [out] BSTR *psBackupServer, [out] BOOL *pbAutoDetectionEnabled, [out] BOOL *pbServerAvailable);
997
998 /*
999 * Get Logon Details about current session
1000 * BSTR *psServer: server we are logged on to; if NULL, we are not initialized
1001 * BSTR *psUser: user name we used; if NULL, we are not logged on
1002 */
1003 [helpstring("method GetLogonInfo")] HRESULT GetLogonInfo([out] BSTR *psServer, [out] BSTR *psUser);
1004 }
1005
1006
1007
1008
1009 [
1010 object,
1011 uuid(f8e553dc-4c00-11d3-80bc-00105a653379),
1012
1013 helpstring("IClientLineMgrEx4 Interface"),
1014 pointer_default(unique)
1015 ]
1016 interface IClientLineMgrEx4 : IUnknown
1017 {
1018 /*
1019 * Create new conference
1020 * If iConferenceLine == -1, active line or first line on hold will become conference line.
1021 * Otherwise iConferenceLine indicicates the line that will become the conference line
1022 * The chosen line must be active or on hold.
1023 */
1024 [helpstring("method CreateConference")] HRESULT CreateConference([in] int iConferenceLine);
1025
1026 /*
1027 * Add all active and onhold line to a conference.
1028 * If bCreateConference==TRUE, a new conference will be created if there is currently no conference
1029 */
1030 [helpstring("method JoinAllToConference")] HRESULT JoinAllToConference([in] BOOL bCreateConference);
1031
1032 /*
1033 * Conference established or in creation?
1034 * If bCreateConference==TRUE, a new conference will be created if there is currently no conference
1035 */
1036 [helpstring("method ConferenceRunning")] HRESULT ConferenceRunning([out] BOOL *pbConferenceRunning);
1037
1038 /*
1039 * Get index and pointer of conference line; returns S_FALSE if no conference running
1040 */
1041 [helpstring("method GetConferenceLine")] HRESULT GetConferenceLine([out] IClientLine2** ppIClientLine, [out] int* piLineNumber);
1042
1043 /*
1044 * Add requested line to running conference
1045 */
1046 [helpstring("method JoinLineToConference")] HRESULT JoinLineToConference([in] int iLine);
1047
1048 }
1049
1050
1051
1052 [
1053 object,
1054 uuid(f8e553ee-4c00-11d3-80bc-00105a653379),
1055
1056 helpstring("IClientLineMgrEx5 Interface"),
1057 pointer_default(unique)
1058 ]
1059 interface IClientLineMgrEx5 : IUnknown
1060 {
1061 /*
1062 * This method will be called by SwyxIt!.exe when the state of an action area has changed.
1063 * The new action area state dwActionAreaState will be cached by the client line manager.
1064 * The client line manager will inform the PlugIns about the new action area state by calling
1065 * IClientHandsetAddIn::SkinActionAreaStateChanged().
1066 * All line manager clients will receive the event CLMgrSkinActionAreaStateChangedMessage, lParam will contain the id of the action area that has changed.
1067 * Some buttons (commands) (line, speed dial) are indexed (line 1..line n). If command is not indexed, set dwButtonId to 0. First button id is 1!
1068 * If command is received for indexed button but dwButtonId is 0, it is unknown if one ore more buttons of that command have changed.
1069 */
1070 [helpstring("method SkinSetActionAreaState")] HRESULT SkinSetActionAreaState([in] DWORD dwCommandId, [in] DWORD dwButtonId, [in] DWORD dwActionAreaState);
1071
1072 /*
1073 * This method will be called by SwyxIt!.exe when an information details has changed.
1074 * The new information area detail InfoDetail will be cached by the client line manager.
1075 * The client line manager will inform the PlugIns about the new information area detail by calling
1076 * IClientHandsetAddIn::SkinInfoDetailChanged().
1077 * All line manager clients will receive the event CLMgrSkinInfoDetailChangedMessage. lParam will contain the id of the information detail that has changed.
1078 */
1079 [helpstring("method SkinSetInfoDetail")] HRESULT SkinSetInfoDetail([in] DWORD dwDetailIndex, [in] BSTR InfoDetail);
1080 }
1081
1082
1083
1084 [
1085 object,
1086 uuid(f8e55407-4c00-11d3-80bc-00105a653379),
1087
1088 helpstring("IClientLineMgrEx6 Interface"),
1089 pointer_default(unique)
1090 ]
1091 interface IClientLineMgrEx6 : IUnknown
1092 {
1093 /*
1094 *
1095 * Retreive list of all open callback entries (both callback on busy / callback request)
1096 *
1097 * typedef struct
1098 * {
1099 * unsigned long m_CallbackRequestId; //unique id
1100 * unsigned long m_CallbackOnBusyId; //unique id
1101 * SClTime m_Timestamp; //timestamp when event occured
1102 * BSTR m_PeersNumber; //peer number
1103 * BSTR m_PeersName; //peer name
1104 * BOOL m_bCallbackRequested; //callback requested from peer?
1105 * SPhoneCBState m_CallbackRequestState; //status of callback request
1106 * BOOL m_bCallbackOnBusy; //callback on busy signaling requested?
1107 * BOOL m_bCallbackOnBusySignaled; //callback on busy has been signaled in between, awaiting no more signaling
1108 * } CLMgrCallbackListItem;
1109 *
1110 */
1111 [helpstring("method GetCallbackList")] HRESULT GetCallbackList([in, out] unsigned long* pMaxCallbackListItems, [out, size_is(*pMaxCallbackListItems), length_is(*pNumReturned)] CLMgrCallbackListItem* pCallbackList, [out] unsigned long* pNumReturned);
1112
1113 /*
1114 * Remove single entry from callback list
1115 *
1116 */
1117 [helpstring("method DeleteCallbackListItem")] HRESULT DeleteCallbackListItem([in] unsigned long CallbackRequestId, [in] unsigned long CallbackOnBusyId);
1118
1119 /*
1120 * Remove all entries from callback list
1121 *
1122 */
1123 [helpstring("method DeleteCallbackList")] HRESULT DeleteCallbackList();
1124
1125 /*
1126 * get details of current callback on busy notification
1127 * typedef struct
1128 * {
1129 * BSTR m_sPeerNumber; //number that is now free again
1130 * BSTR m_sPeerName; //name that is now free again
1131 * } CLMgrCallbackOnBusyNotifyDetails;
1132 */
1133 [helpstring("method GetCallbackOnBusyNotifyDetails")] HRESULT GetCallbackOnBusyNotifyDetails([out] CLMgrCallbackOnBusyNotifyDetails *pDetails);
1134
1135 /*
1136 * pickup callback on busy -> retry calling on specified line
1137 * line = -1 if line does not matter -> select first inactive line
1138 */
1139 [helpstring("method PickupCallbackOnBusyNotification")] HRESULT PickupCallbackOnBusyNotification([in] int LineNumber);
1140
1141 /*
1142 * reject callback on busy -> do not retry calling, stop notification
1143 */
1144 [helpstring("method RejectCallbackOnBusyNotification")] HRESULT RejectCallbackOnBusyNotification();
1145
1146 /*
1147 * LineNumber=0..n: dial given dialstring on this line if free line
1148 * LineNumber=-1: dial given dialstring on any free line
1149 * If chosen line or selected line is active, an inactive line will be selected automatically before dialing
1150 * function call will be handled asynchronous, return code S_OK does not guarantee success
1151 */
1152 [helpstring("method SimpleDial")] HRESULT SimpleDial([in] BSTR dialstring, [in] int LineNumber);
1153
1154 /*
1155 * request callback on busy: peer is busy, server will notify us as soon as peer is no more busy
1156 * peer will not get any info about RequestCallbackOnBusy
1157 * The peer number is important here; the name will be used for display during callback signaling
1158 */
1159 [helpstring("method RequestCallbackOnBusy")] HRESULT RequestCallbackOnBusy([in] BSTR PeerNumber, [in] BSTR PeerName);
1160
1161 /*
1162 * Dial own number for entering voicemail remote inquiry menu
1163 */
1164 [helpstring("method VoicemailRemoteInquiry")] HRESULT VoicemailRemoteInquiry();
1165
1166 /*
1167 * Start CTI pairing as master; if dwPeerIP!=0 this device is preferred
1168 *
1169 */
1170 [helpstring("method StartCtiPairing")] HRESULT StartCtiPairing([in] DWORD dwPeerIP);
1171
1172 /*
1173 * Cancel CTI pairing as master
1174 *
1175 */
1176 [helpstring("method CancelCtiPairing")] HRESULT CancelCtiPairing();
1177
1178 /*
1179 * Accept CTI pairing as slave
1180 *
1181 */
1182 [helpstring("method AcceptCtiPairing")] HRESULT AcceptCtiPairing();
1183
1184 /*
1185 * Reject CTI pairing as slave
1186 *
1187 */
1188 [helpstring("method RejectCtiPairing")] HRESULT RejectCtiPairing();
1189
1190 /*
1191 * Release CTI pairing as client or slave
1192 *
1193 */
1194 [helpstring("method ReleaseCtiPairing")] HRESULT ReleaseCtiPairing();
1195
1196 /*
1197 * Return current CTI pairing state
1198 *
1199 * typedef enum
1200 * {
1201 * CtiSessNone=-1,
1202 * CtiSessIdle=0, //no cti activity
1203 * CtiSessMasterPairingRequested, //CTI master has requested pairing
1204 * CtiSessSlavePairingRequested, //CTI slave has received pairing request
1205 * CtiSessMasterPaired, //CTI master has established pairing
1206 * CtiSessSlavePaired, //CTI slave has established pairing
1207 * CtiSessMaxStates
1208 * } CtiSessionStates;
1209 *
1210 */
1211 [helpstring("method GetCtiPairingState")] HRESULT GetCtiPairingState([out] unsigned long *pulState);
1212
1213 /*
1214 * Return current CTI pairing peer name and IP address
1215 *
1216 */
1217 [helpstring("method GetCtiPairing")] HRESULT GetCtiPairing([out] DWORD *pdwOwnIP, [out] DWORD *pdwPeerIP, [out] BSTR *pPeerName);
1218
1219 /*
1220
1221 !!! depcreated function! Use IClientLineMgrDisp::RegisterUserEx !!!
1222
1223 */
1224 [helpstring("method RegisterUserEx")] HRESULT RegisterUserEx([in] BSTR PbxUserName, [in] BOOL bCtiMaster, [out] IClUser** ppIClUser, [out] unsigned long* pulUserId, [in, out] unsigned long* pMaxUsers, [out, size_is(*pMaxUsers), length_is(*pNumReturned)] BSTR* pszPBXUser, [out] unsigned long* pNumReturned);
1225
1226 /*
1227 !!! depcreated function!
1228 */
1229 [helpstring("method UnInit")] HRESULT UnInit();
1230
1231 /*
1232 * Tells Client if line manager is interested in action area states (any plugin needs it or enabled via registry for SDK clients)
1233 */
1234 [helpstring("method WantSkinActionAreaStates")] HRESULT WantSkinActionAreaStates([out] BOOL *pbWantsActionAreaStates);
1235
1236 /*
1237 * Tells Client if line manager is interested in skin info details (any plugin needs it or enabled via registry for SDK clients)
1238 */
1239 [helpstring("method WantSkinInfoDetails")] HRESULT WantSkinInfoDetails([out] BOOL *pbWantsInfoDetails);
1240
1241 /*
1242 * Register as receiver for chat messages
1243 * The line manager will create a message queue for each interested client.
1244 * When a new message is available, the line manager will send the CLMgrChatMessage message,
1245 * the client then can retreive the message.
1246 * A client that has displayed the message should acknowledge the received message.
1247 * An acknlowledged message will be signaled to the sender as a CLMgrChatMessageAck message
1248 * When no longer interested in chat messages, the client should release the queue by calling UnRegisterChatMessageReader
1249 */
1250 [helpstring("method RegisterChatMessageReader")] HRESULT RegisterChatMessageReader([out] DWORD *dwReaderID);
1251
1252 /*
1253 * Send chat message. m_sPeerName is the username on the IPPBX server
1254 * If m_dwPeerIpAddress==0, the message will be sent to all logged on devices of this user,
1255 * otherwise to the device with the given IP address
1256 *
1257 * typedef struct
1258 * {
1259 * unsigned long m_ulMessageId;
1260 * BSTR m_sMessageText;
1261 * BSTR m_sPeerName;
1262 * DWORD m_dwPeerIpAddress;
1263 * } CLMgrChatMsg;
1264 */
1265 [helpstring("method SendChatMessage")] HRESULT SendChatMessage([in] CLMgrChatMsg ChatMessage);
1266
1267 /*
1268 * Read chat message. m_sPeerName is the originators username on the IPPBX server
1269 * m_dwPeerIpAddress the IP address of the originator
1270 *
1271 * typedef struct
1272 * {
1273 * unsigned long m_ulMessageId;
1274 * BSTR m_sMessageText;
1275 * BSTR m_sPeerName;
1276 * DWORD m_dwPeerIpAddress;
1277 * } CLMgrChatMsg;
1278 */
1279 [helpstring("method ReadChatMessage")] HRESULT ReadChatMessage([in] DWORD dwReaderID, [out] CLMgrChatMsg *pChatMessage);
1280
1281 /*
1282 * Acknowledge read chat message, use m_ulMessageId from the message to be confirmed
1283 */
1284 [helpstring("method AcknowledgeChatMessage")] HRESULT AcknowledgeChatMessage([in] CLMgrChatMsgAck ChatMessageAcknowledge);
1285
1286 /*
1287 * UnRegister as receiver for chat messages
1288 */
1289 [helpstring("method UnRegisterChatMessageReader")] HRESULT UnRegisterChatMessageReader([in] DWORD dwReaderID);
1290 }
1291
1292
1293
1294 [
1295 object,
1296 uuid(f8e553e0-4c00-11d3-80bc-00105a653379),
1297
1298 helpstring("IClientLineEx3 Interface"),
1299 pointer_default(unique)
1300 ]
1301 interface IClientLineEx3 : IUnknown
1302 {
1303 /*
1304 * enable / disable line for incoming calls
1305 */
1306 [helpstring("method Enable")] HRESULT Enable([in] BOOL bEnable);
1307
1308 /*
1309 * get details of that line
1310 */
1311 [helpstring("method GetDetailsEx3")] HRESULT GetDetailsEx3([in, out] CLMgrLineDetailsEx3 *pDetails);
1312
1313 /*
1314 * get details of last call on that line
1315 */
1316 [helpstring("method GetLastCallDetailsEx3")] HRESULT GetLastCallDetailsEx3([in, out] CLMgrCallDetailsEx3 *pDetails);
1317 }
1318
1319
1320
1321 [
1322 object,
1323 uuid(f8e55408-4c00-11d3-80bc-00105a653379),
1324
1325 helpstring("IClientLineEx4 Interface"),
1326 pointer_default(unique)
1327 ]
1328 interface IClientLineEx4 : IUnknown
1329 {
1330 /*
1331 * request callback depending on line state
1332 * if destination is busy or if it is a second call, we will do a callback on busy
1333 * in all other cases we will request a callback
1334 */
1335 [helpstring("method RequestCallbackAuto")] HRESULT RequestCallbackAuto();
1336
1337 /*
1338 * get details of that line
1339 */
1340 [helpstring("method GetDetailsEx4")] HRESULT GetDetailsEx4([in, out] CLMgrLineDetailsEx4 *pDetails);
1341 }
1342
1343
1344
1345 [
1346 object,
1347 uuid(f8e55474-4c00-11d3-80bc-00105a653379),
1348
1349 helpstring("IClientLineMgrEx7 Interface"),
1350 pointer_default(unique)
1351 ]
1352 interface IClientLineMgrEx7 : IUnknown
1353 {
1354 /*
1355 * get details of current group notification
1356 */
1357 [helpstring("method GetGroupNotificationDetailsEx")] HRESULT GetGroupNotificationDetailsEx([out] CLMgrGroupNotificationDetailsEx *pDetails);
1358
1359 /*
1360 * pickup group call on specified line
1361 * line = -1 if line does not matter -> select first inactive line
1362 * CallRefNum=0 -> primary notification call; CallRefNum!=0 additional notification call, signaled only on spee dial: unique call ID
1363 */
1364 [helpstring("method PickupGroupNotificationCallEx")] HRESULT PickupGroupNotificationCallEx([in] int LineNumber, [in] unsigned long CallRefNum);
1365
1366 /*
1367 * get details of notification call signaled on specified namekey
1368 */
1369 [helpstring("method GetNotificationCallOnNamekey")] HRESULT GetNotificationCallOnNamekey([in] int iNameKey, [out] CLMgrGroupNotificationDetailsEx *pDetails);
1370
1371 /*
1372 * pickup notification call that is signaled on certain speed dial
1373 * line = -1 if line does not matter -> select first inactive line
1374 */
1375 [helpstring("method PickupNotificationCallFromNamekey")] HRESULT PickupNotificationCallFromNamekey([in] int iNameKey, [in] int LineNumber);
1376 }
1377
1378
1379
1380 [
1381 object,
1382 uuid(f8e5549a-4c00-11d3-80bc-00105a653379),
1383
1384 helpstring("IClientLineMgrEx8 Interface"),
1385 pointer_default(unique)
1386 ]
1387 interface IClientLineMgrEx8 : IUnknown
1388 {
1389 /*
1390 * set "do what I mean" volume
1391 */
1392 [helpstring("method SetVolume")] HRESULT SetVolume([in] int iVolume);
1393
1394 /*
1395 * get "do what I mean" volume
1396 */
1397 [helpstring("method GetVolume")] HRESULT GetVolume([out] int *piVolume);
1398
1399 /*
1400 * increment "do what I mean" volume
1401 */
1402 [helpstring("method IncrementVolume")] HRESULT IncrementVolume();
1403
1404 /*
1405 * decrement "do what I mean" volume
1406 */
1407 [helpstring("method DecrementVolume")] HRESULT DecrementVolume();
1408
1409 /*
1410 * set microphone level
1411 */
1412 [helpstring("method SetMicLevel")] HRESULT SetMicLevel([in] int iVolume);
1413
1414 /*
1415 * get microphone level
1416 */
1417 [helpstring("method GetMicLevel")] HRESULT GetMicLevel([out] int *piVolume);
1418
1419 /*
1420 * get audio mode
1421 * AudioModeIdle = 0,
1422 * AudioModeHandset,
1423 * AudioModeHeadset,
1424 * AudioModeHandsfreeListening,
1425 * AudioModeIntercom,
1426 * AudioModeRinging
1427 */
1428 [helpstring("method GetAudioMode")] HRESULT GetAudioMode([out] int *piAudioMode);
1429
1430 /*
1431 * get list of names of available wave devices
1432 * client will write names to be used for handset and ringing to configuration section in registry
1433 * list is array of structs:
1434 typedef struct
1435 {
1436 BSTR m_bstrVisibleDeviceName; //friendly name of sound device, as displayed in control panel
1437 BOOL m_bIsDirectXSoundDevice; //device is DirectX sound device
1438 BOOL m_bHasPlayer; //sound device can playback sound, device id given in m_bstrDeviceIdPlayer
1439 BOOL m_bHasRecorder; //sound device can record sound, device id given in m_bstrDeviceIdRecorder
1440 BOOL m_bHasMixer; //associated mixer could be found
1441 BOOL m_bHasDxAudioRenderer; //sound device can be used for ringing
1442 BSTR m_bstrDeviceIdPlayer; //devive id for playback: client line manager will use this id for opening sound channel
1443 BSTR m_bstrDeviceIdRecorder; //devive id for record: client line manager will use this id for opening sound channel
1444 BSTR m_bstrMixerName; //name of associated mixer device
1445 BSTR m_bstrDxAudioRenderer; //name of associated DX Audio Renderer device (used for ringing only)
1446 BSTR m_bstrManufacturerId; //HID Manufacturer ID
1447 BSTR m_bstrsProductId; //HID Product ID
1448 unsigned long m_dwManufacturerId; //HID Manufacturer ID
1449 unsigned long m_dwProductId; //HID Product ID
1450 BOOL m_bIsHandset; //device is a well known handset
1451 BOOL m_bIsHeadset; //device is a well known headset
1452 BOOL m_bIsSpeaker; //device is a well known device with speaker
1453 BOOL m_bHookSupportUSB; //device supports USB hook switch
1454 BOOL m_bHookSupportComPort; //device supports COM port hook switch
1455 BOOL m_bHookSupportGamePort; //device supports Game port hook switch
1456 BOOL m_bHookSupportBluetooth; //device supports bluetooth hook switch
1457 BOOL m_bIsWellKnownDevice; //device is well known and does not need calibration
1458 } CLMgrSoundDeviceDescriptionEx;
1459 *
1460 * write selected devices to registry:
1461 * HandsetWaveDevicePlayer = m_bstrDeviceIdPlayer of handset device
1462 * HandsetWaveDeviceRecorder = m_bstrDeviceIdRecorder of handset device
1463 * SpeakersWaveDevicePlayer = m_bstrDeviceIdPlayer of speakers device
1464 * SpeakersWaveDeviceRecorder= m_bstrDeviceIdRecorder of speakers device (obsolete right now, but might be useful in future for handsfree speaking)
1465 */
1466 [helpstring("method GetAvailableWaveDevicesEx")] HRESULT GetAvailableWaveDevicesEx([in, out] unsigned long* pMaxDevices, [out, size_is(*pMaxDevices), length_is(*pNumReturned)] CLMgrSoundDeviceDescriptionEx* pSoundDevices, [out] unsigned long* pNumReturned);
1467
1468 /*
1469 * set voice devices to be used for sound during sound wizard run
1470 * calling this method is only allowed when we are in Soundwizard compatibility mode
1471 * list is array of structs:
1472 typedef struct
1473 {
1474 BSTR m_bstrVisibleDeviceName; //friendly name of sound device, as displayed in control panel
1475 BOOL m_bIsDirectXSoundDevice; //device is DirectX sound device
1476 BOOL m_bHasPlayer; //sound device can playback sound, device id given in m_bstrDeviceIdPlayer
1477 BOOL m_bHasRecorder; //sound device can record sound, device id given in m_bstrDeviceIdRecorder
1478 BOOL m_bHasMixer; //associated mixer could be found
1479 BOOL m_bHasDxAudioRenderer; //sound device can be used for ringing
1480 BSTR m_bstrDeviceIdPlayer; //devive id for playback: client line manager will use this id for opening sound channel
1481 BSTR m_bstrDeviceIdRecorder; //devive id for record: client line manager will use this id for opening sound channel
1482 BSTR m_bstrMixerName; //name of associated mixer device
1483 BSTR m_bstrDxAudioRenderer; //name of associated DX Audio Renderer device (used for ringing only)
1484 BSTR m_bstrManufacturerId; //HID Manufacturer ID
1485 BSTR m_bstrsProductId; //HID Product ID
1486 unsigned long m_dwManufacturerId; //HID Manufacturer ID
1487 unsigned long m_dwProductId; //HID Product ID
1488 BOOL m_bIsHandset; //device is a well known handset
1489 BOOL m_bIsHeadset; //device is a well known headset
1490 BOOL m_bIsSpeaker; //device is a well known device with speaker
1491 BOOL m_bHookSupportUSB; //device supports USB hook switch
1492 BOOL m_bHookSupportComPort; //device supports COM port hook switch
1493 BOOL m_bHookSupportGamePort; //device supports Game port hook switch
1494 BOOL m_bHookSupportBluetooth; //device supports bluetooth hook switch
1495 BOOL m_bIsWellKnownDevice; //device is well known and does not need calibration
1496 } CLMgrSoundDeviceDescriptionEx;
1497 */
1498 [helpstring("method UseWaveDevices")] HRESULT UseWaveDevices([in] CLMgrSoundDeviceDescriptionEx *pVoiceDevice, [in] CLMgrSoundDeviceDescriptionEx *pHandsFreeDevice, [in] CLMgrSoundDeviceDescriptionEx *pRingingDevice, [in] BOOL bConfigure, [in] BOOL bPnPEnable);
1499
1500 /*
1501 * set voice devices to be used for sound during sound wizard run
1502 * calling this method is only allowed when we are in Soundwizard compatibility mode
1503 * list is array of structs:
1504 typedef struct
1505 {
1506 BSTR m_bstrVisibleDeviceName; //friendly name of sound device, as displayed in control panel
1507 BOOL m_bIsDirectXSoundDevice; //device is DirectX sound device
1508 BOOL m_bHasPlayer; //sound device can playback sound, device id given in m_bstrDeviceIdPlayer
1509 BOOL m_bHasRecorder; //sound device can record sound, device id given in m_bstrDeviceIdRecorder
1510 BOOL m_bHasMixer; //associated mixer could be found
1511 BOOL m_bHasDxAudioRenderer; //sound device can be used for ringing
1512 BSTR m_bstrDeviceIdPlayer; //devive id for playback: client line manager will use this id for opening sound channel
1513 BSTR m_bstrDeviceIdRecorder; //devive id for record: client line manager will use this id for opening sound channel
1514 BSTR m_bstrMixerName; //name of associated mixer device
1515 BSTR m_bstrDxAudioRenderer; //name of associated DX Audio Renderer device (used for ringing only)
1516 BSTR m_bstrManufacturerId; //HID Manufacturer ID
1517 BSTR m_bstrsProductId; //HID Product ID
1518 unsigned long m_dwManufacturerId; //HID Manufacturer ID
1519 unsigned long m_dwProductId; //HID Product ID
1520 BOOL m_bIsHandset; //device is a well known handset
1521 BOOL m_bIsHeadset; //device is a well known headset
1522 BOOL m_bIsSpeaker; //device is a well known device with speaker
1523 BOOL m_bHookSupportUSB; //device supports USB hook switch
1524 BOOL m_bHookSupportComPort; //device supports COM port hook switch
1525 BOOL m_bHookSupportGamePort; //device supports Game port hook switch
1526 BOOL m_bHookSupportBluetooth; //device supports bluetooth hook switch
1527 BOOL m_bIsWellKnownDevice; //device is well known and does not need calibration
1528 } CLMgrSoundDeviceDescriptionEx;
1529 */
1530 [helpstring("method GetUsedWaveDevices")] HRESULT GetUsedWaveDevices([out] CLMgrSoundDeviceDescriptionEx *pVoiceDevice, [out] CLMgrSoundDeviceDescriptionEx *pHandsFreeDevice, [out] CLMgrSoundDeviceDescriptionEx *pRingingDevice);
1531
1532 /*
1533 * Check if we need sound wizard
1534 */
1535 [helpstring("method IsAudioConfigured")] HRESULT IsAudioConfigured([out] BOOL *pbConfigured, [out] BOOL *pbIsPnPDevice, [out] BOOL *pbPnPDevicePresent);
1536
1537 /*
1538 * Manually initiate audio Plug and Play
1539 */
1540 [helpstring("method StartAudioPnP")] HRESULT StartAudioPnP([in] BOOL bForcePnPDevice);
1541
1542 /*
1543 * set audio mode for sound wizard mode
1544 * calling this method is only allowed when we are in Soundwizard compatibility mode
1545 * AudioModeIdle = 0,
1546 * AudioModeHandset,
1547 * AudioModeHeadset,
1548 * AudioModeHandsfreeListening,
1549 * AudioModeIntercom,
1550 * AudioModeRinging
1551 */
1552 [helpstring("method SetAudioMode")] HRESULT SetAudioMode([in] int iAudioMode);
1553
1554 /*
1555 * enable / disable microphone adjustment mode
1556 * calling this method is only allowed when we are in Soundwizard compatibility mode
1557 */
1558 [helpstring("method SetMicAdjustMode")] HRESULT SetMicAdjustMode([in] BOOL bEnable);
1559
1560 /*
1561 * Play soundfile using DirectSound
1562 the playback is not handled with our voice media streaming and is not sent to the peer via RTP
1563 */
1564 [helpstring("method PlaySoundFileDx")] HRESULT PlaySoundFileDx([in] BSTR sFileName, [in] BOOL bPlayLoop, [in] int iLoopInterval);
1565
1566 /*
1567 * Stop Play soundfile using DirectSound
1568 */
1569 [helpstring("method StopPlaySoundFileDx")] HRESULT StopPlaySoundFileDx();
1570
1571 /*
1572 * Check if soundfile can be played using DirectSound
1573 returns S_OK if file can be played, returns S_FALSE if file cannot be played
1574 */
1575 [helpstring("method CheckSoundFileDx")] HRESULT CheckSoundFileDx([in] BSTR sFileName);
1576
1577 /*
1578 * add trace module
1579 */
1580 [helpstring("method AddTraceModule")] HRESULT AddTraceModule([in] BSTR sTraceModule, [out] int* piTraceModule);
1581
1582 /*
1583 * trace line
1584 */
1585 [helpstring("method TraceLine")] HRESULT TraceLine([in] int iTraceModule, [in] int iTraceLevel, [in] long ulThisPointer, [in] long ulConnectionId, [in] BSTR sTraceLine);
1586
1587 /*
1588 get config buffer
1589 returns a variable sized data buffer associated with the user. Clients
1590 may use this buffer to store client specific configuration data
1591
1592 MaxLen - maximum number of bytes which can be stored in given buffer
1593 pBuf - pointer to memory location where server returns the data. Maximunm
1594 available size is given in MaxLen
1595 pLenNeeded - If MaxLen is 0 or pBuf is NULL, function returns the necessary size here
1596 */
1597 [helpstring("method GetConfigBuffer")]
1598 HRESULT GetConfigBuffer([in] unsigned long Maxlen,
1599 [out, size_is(Maxlen)] unsigned char* pBuf,
1600 [out] unsigned long* pLenNeeded);
1601 }
1602
1603
1604
1605
1606 [
1607 object,
1608 uuid(f8e554ac-4c00-11d3-80bc-00105a653379),
1609
1610 helpstring("IClientLineMgrEx9 Interface"),
1611 pointer_default(unique)
1612 ]
1613 interface IClientLineMgrEx9 : IUnknown
1614 {
1615
1616 /*
1617 * JournalAddInSupported
1618 * Checks if the line manager has loaded one or more Journal Add Ins
1619 * and writes TRUE to bSupported if it is so
1620 */
1621 [helpstring("method JournalAddInSupported")] HRESULT JournalAddInSupported([out] BOOL *bSupported);
1622
1623 /*
1624 * CreateJournalEntry
1625 * Used by clients to create a new journal entry
1626 * Passes its Parameters to all loaded Journal Add Ins
1627 */
1628 [helpstring("method CreateJournalEntry")] HRESULT CreateJournalEntry([in] BSTR Subject, [in] BSTR Body, [in] long lDuration, [in] BSTR sCharging, [in] DATE StartDate, [in] BOOL bPopUp);
1629
1630 /*
1631 * ContactAddInSupported
1632 * Checks if the line manager has loaded one or more Contact Add Ins
1633 * and writes TRUE to bSupported if it is so
1634 */
1635 [helpstring("method ContactAddInSupported")] HRESULT ContactAddInSupported([out] BOOL *bSupported);
1636
1637 /*
1638 * ShowContact
1639 * Used by clients to create a new contact
1640 * Passes its Parameters to all loaded Contact Add Ins
1641 */
1642 [helpstring("method ShowContact")] HRESULT ShowContact([in] BSTR Number, [in] BSTR Name, [in] BOOL bCreateIfNotExists, [in] BOOL bPopUp);
1643
1644 }
1645
1646
1647 [
1648 object,
1649 uuid(f8e554bf-4c00-11d3-80bc-00105a653379),
1650
1651 helpstring("IClientLineMgrEx10 Interface"),
1652 pointer_default(unique)
1653 ]
1654 interface IClientLineMgrEx10 : IUnknown
1655 {
1656 /*
1657 * Play soundfile using DirectSound
1658 the playback is not handled with our voice media streaming and is not sent to the peer via RTP
1659 sFileName: full path
1660 bPlayLoop: play in loop?
1661 iLoopInterval: pause between loops in s
1662 iPosition: initial start position for playback in ms
1663 iDevice: 0 - Voice Device
1664 1 - Handsfree / Intercom Device
1665 2 - Ringing Device
1666 */
1667 [helpstring("method PlaySoundFileDxEx")] HRESULT PlaySoundFileDxEx([in] BSTR sFileName, [in] BOOL bPlayLoop, [in] int iLoopInterval, [in] int iPosition, [in] BOOL bPercent, [in] BOOL bPauseImmediately, [in] int iDevice);
1668
1669 /*
1670 * Pause play soundfile using DirectSound
1671 */
1672 [helpstring("method PausePlaySoundFileDxEx")] HRESULT PausePlaySoundFileDxEx();
1673
1674 /*
1675 * Continue paused play soundfile using DirectSound
1676 */
1677 [helpstring("method ContinuePlaySoundFileDxEx")] HRESULT ContinuePlaySoundFileDxEx();
1678
1679 /*
1680 * Stop Play soundfile using DirectSound
1681 */
1682 [helpstring("method StopPlaySoundFileDxEx")] HRESULT StopPlaySoundFileDxEx();
1683
1684 /*
1685 * Rewind and play soundfile using DirectSound
1686 */
1687 [helpstring("method RewindPlaySoundFileDxEx")] HRESULT RewindPlaySoundFileDxEx();
1688
1689 /*
1690 * Get position and length of currently played soundfile using DirectSound
1691 iPosition: current position for playback in ms
1692 iDuration: duration of currently played file in ms
1693 */
1694 [helpstring("method GetPositionPlaySoundFileDxEx")] HRESULT GetPositionPlaySoundFileDxEx([out] int *piDuration, [out] int *piPosition, [out] int *piPercent);
1695
1696 /*
1697 * Set position of currently played soundfile using DirectSound
1698 iPosition: new current position for playback in ms
1699 */
1700 [helpstring("method SetPositionPlaySoundFileDxEx")] HRESULT SetPositionPlaySoundFileDxEx([in] int iPosition, [in] BOOL bPercent);
1701
1702 /*
1703 * Move position of currently played soundfile using DirectSound
1704 iDelta: time difference (positive or negative) relative to the current position
1705 */
1706 [helpstring("method SkipPositionPlaySoundFileDxEx")] HRESULT SkipPositionPlaySoundFileDxEx([in] int iDelta);
1707 }
1708
1709
1710 [
1711 object,
1712 uuid(f8e554dc-4c00-11d3-80bc-00105a653379),
1713
1714 helpstring("IClientLineMgrEx11 Interface"),
1715 pointer_default(unique)
1716 ]
1717 interface IClientLineMgrEx11 : IUnknown
1718 {
1719 [propget, id(1), helpstring("property ClientConfig")] HRESULT ClientConfig([out, retval] IDispatch** ppVal);
1720 [helpstring("method GetTrialMode")] HRESULT GetTrialMode([out] int* pTrialMode, [out] int* pDaysLeft);
1721
1722 }
1723
1724
1725 [
1726 object,
1727 uuid(f8e55549-4c00-11d3-80bc-00105a653379),
1728
1729 helpstring("IClientLineMgrEx12 Interface"),
1730
1731 pointer_default(unique)
1732 ]
1733 interface IClientLineMgrEx12 : IUnknown
1734 {
1735 /*
1736 * FulltextSearchAddInSupported
1737 * Checks if the line manager has loaded one or more Fulltext search Add Ins
1738 * and writes TRUE to bSupported if it is so
1739 */
1740 [helpstring("method FulltextSearchAddInSupported")] HRESULT FulltextSearchAddInSupported([out] BOOL *bSupported);
1741
1742 /*
1743 * This method will start a full text search in name or numbers in contacts
1744 *
1745 * Input: BSTR bstrName: Text fragment to be searched
1746 * BOOL bEnableSearchInNumbers: if set to TRUE, the search string will be searched in numbers, too,
1747 * BUT ONLY if it contains of solely digits. If there is just one non-digit character
1748 * in the search string, the search is carried out only in the contact's names,
1749 * as it will be if the variable is set to FALSE.
1750 * Output: Pointer to IDispatch* to receive the Search Result Collection.
1751 *
1752 */
1753 [helpstring("method FulltextSearchInContacts")] HRESULT FulltextSearchInContacts([in] BSTR bstrSearchText, [in] BOOL bEnableSearchInNumbers, [out] IDispatch** ppSearchResultCollection);
1754 }
1755
1756
1757
1758 [
1759 object,
1760 uuid(f8e5554f-4c00-11d3-80bc-00105a653379),
1761
1762 helpstring("IClientLineMgrEx13 Interface"),
1763 pointer_default(unique)
1764 ]
1765 interface IClientLineMgrEx13 : IUnknown
1766 {
1767 [helpstring("method NeedsCoreAudioApiConfig")] HRESULT NeedsCoreAudioApiConfig([out] BOOL* bNeedsConfig);
1768 }
1769
1770 [
1771 object,
1772 uuid(f8e555f2-4c00-11d3-80bc-00105a653379),
1773
1774 helpstring("IClientLineMgrEx14 Interface"),
1775 pointer_default(unique)
1776 ]
1777 interface IClientLineMgrEx14 : IUnknown
1778 {
1779 /*
1780 * get state of all namekeys
1781 */
1782 [helpstring("method GetNamekeyStatesEx")] HRESULT GetNamekeyStatesEx([in] int iSizeOfArray, [out, size_is(iSizeOfArray)] CLMgrNameKeyStates *piStates, [in] int iSizeOfIdArray, [out, size_is(iSizeOfIdArray)] CLMgrQualifiedEntityID *pEntityIDs);
1783
1784 /*
1785 * get state of specified namekey
1786 */
1787 [helpstring("method GetNamekeyStateEx")] HRESULT GetNamekeyStateEx([in] int iNameKey, [out] CLMgrNameKeyStates *piState, [out] CLMgrQualifiedEntityID *pEntityID);
1788
1789
1790 [helpstring("method StopRingingSound")] HRESULT StopRingingSound();
1791
1792 };
1793
1794
1795
1796 [
1797 object,
1798 uuid(f8e55621-4c00-11d3-80bc-00105a653379),
1799 dual,
1800 helpstring("IClientPresenceInformation Interface"),
1801 oleautomation,
1802 pointer_default(unique)
1803 ]
1804 interface IClientPresenceInformation : IDispatch
1805 {
1806 [id(1), helpstring("Get the user presence information")]
1808 [in] BSTR bstrId,
1809 [out] INT32* iUserId,
1810 [out] INT32* iSiteId,
1811 [out] BSTR* bstrUsername,
1812 [out] INT32* iStatus,
1813 [out] BSTR* bstrStatusText);
1814
1815 [id(2), helpstring("Subscribe user to get user presence changes")]
1817 [in] DWORD uiCookie,
1818 [in] INT32 iUserId,
1819 [in] INT32 iSiteId);
1820
1821 [id(3), helpstring("Unsubscribe user to get no more user presence changes")]
1823 [in] DWORD uiCookie,
1824 [in] INT32 iUserId,
1825 [in] INT32 iSiteId);
1826
1827 [id(4), helpstring("Get own E-Mail address to get own user presence status information")]
1829 [out] BSTR* bstrEmailAddress);
1830
1831 [id(5), helpstring("Get status names to display")]
1833 [out] VARIANT* pvStatusNames,
1834 [out] INT32* piLocaleId);
1835
1836 [id(6), helpstring("Terminate all active subscriptions")]
1837 HRESULT UnsubscribeAll([in] DWORD dwCookie);
1838
1839 [id(7), helpstring("Lookup existance of user E-Mail address")]
1840 HRESULT LookupUserEmailAddress([in] BSTR bstrId);
1841 };
1842
1843
1844
1845 [
1846 object,
1847 uuid(f8e55622-4c00-11d3-80bc-00105a653379),
1848 helpstring("IClientPresenceInformationEvents Interface"),
1849 oleautomation,
1850 pointer_default(unique)
1851 ]
1853 {
1854 [id(1), helpstring("Notify about user presence changes of subscribed users")]
1856 [in] INT32 iUserId,
1857 [in] INT32 iSiteId,
1858 [in] BSTR bstrUsername,
1859 [in] INT32 iStatus,
1860 [in] BSTR bstrStatusText);
1861 };
1862
1863
1864
1865 /*[
1866 uuid(f8e55622-4c00-11d3-80bc-00105a653379),
1867 helpstring("IClientPresenceInformationEvents Interface"),
1868 hidden,
1869 nonextensible
1870 ]
1871 dispinterface IClientPresenceInformationEvents
1872 {
1873 properties:
1874 methods:
1875
1876 [id(1), helpstring("Notify about user presence changes of subscribed users")]
1877 void OnSubscribedUserPresenceStateChanged(
1878 [in] INT32 userId,
1879 [in] INT32 siteId,
1880 [in] BSTR username,
1881 [in] INT32 status,
1882 [in] BSTR statusText);
1883 };*/
1884
1889 [
1890 object,
1891 uuid(BB8E783D-FC52-4C2E-B741-63C8DB59A1E9),
1892 dual,
1893 helpstring("IClientLineMgrInstantMessaging Interface"),
1894 oleautomation,
1895 pointer_default(unique)
1896 ]
1898 {
1899 [id(1), helpstring("method CanChatTo")] HRESULT CanChatTo([in] INT32 iRemoteSiteId, [in] INT32 iRemoteUserId);
1900 [id(2), helpstring("method OpenChatTo")] HRESULT OpenChatTo([in] INT32 iRemoteSiteId, [in] INT32 iRemoteUserId);
1901 [id(3), helpstring("method ShowChatApplication")] HRESULT ShowChatApplication();
1902 };
1903
1904 [
1905 object,
1906 uuid(D0F3F07F-A51A-4344-B25D-BB47E724D8E8),
1907 dual,
1908 helpstring("IUserAppearance Interface"),
1909 oleautomation,
1910 pointer_default(unique)
1911 ]
1912 interface IUserAppearance : IDispatch
1913 {
1914 [propget, id(1), helpstring("property ChatUserId")] HRESULT ChatUserId([out, retval] BSTR *pVal);
1915 [propget, id(2), helpstring("property PresenceState")] HRESULT PresenceState([out, retval] ULONG *pbVal);
1916 [propget, id(3), helpstring("property PresenceText")] HRESULT PresenceText([out, retval] BSTR *pVal);
1917 [propget, id(4), helpstring("property UserName")] HRESULT UserName([out, retval] BSTR *pVal);
1918 [propget, id(5), helpstring("property AvatarBitmapPath")] HRESULT AvatarBitmapPath([out, retval] BSTR *pVal);
1919 };
1920
1921 [
1922 object,
1923 uuid(E88DCB6E-374C-416A-876F-AD2C56699983),
1924 dual,
1925 helpstring("IUserAppearanceCollection Interface"),
1926 oleautomation,
1927 pointer_default(unique)
1928 ]
1929 interface IUserAppearanceCollection : IDispatch
1930 {
1931 [propget, restricted, id(DISPID_NEWENUM)] HRESULT _NewEnum([out, retval] IUnknown** pVal);
1932 [id(DISPID_VALUE)] HRESULT Item([in] VARIANT index, [out, retval] VARIANT* pVariant);
1933 [propget, id(1)] HRESULT Count([out, retval] long *pVal);
1934 };
1935
1936
1941 [
1942 object,
1943 uuid(A2314C5B-38DD-4507-A3AD-F8E3F26A91B3),
1944 dual,
1945 helpstring("IClientLineMgrAnalytics Interface"),
1946 oleautomation,
1947 pointer_default(unique)
1948 ]
1949 interface IClientLineMgrAnalytics : IDispatch
1950 {
1951 [id(1), helpstring("method AnalyticsAddEvent")] HRESULT AnalyticsAddEvent([in] INT32 iEventCategory, [in] INT32 iEventName);
1952 [id(2), helpstring("method AnalyticsAddEventText")] HRESULT AnalyticsAddEventText([in] INT32 iEventCategory, [in] INT32 iEventName, [in] BSTR text);
1953 };
1954
1955 [
1956 object,
1957 uuid(f8e5552f-4c00-11d3-80bc-00105a653379),
1958 dual,
1959 helpstring("IFileEntryDisp Interface"),
1960 oleautomation,
1961 pointer_default(unique)
1962 ]
1963 interface IFileEntry : IDispatch
1964 {
1965 [propget, id(1), helpstring("property FileID")] HRESULT FileID([out, retval] BSTR *pVal);
1966 [propget, id(2), helpstring("property UserID")] HRESULT UserID([out, retval] LONG *pbVal);
1967 [propget, id(3), helpstring("property Name")] HRESULT Name([out, retval] BSTR *pVal);
1968 [propget, id(4), helpstring("property Description")] HRESULT Description([out, retval] BSTR *pVal);
1969 [propget, id(5), helpstring("property Scope")] HRESULT Scope([out, retval] LONG *pbVal);
1970 [propget, id(6), helpstring("property Category")] HRESULT Category([out, retval] LONG *pbVal);
1971 [propget, id(7), helpstring("property Private")] HRESULT Private([out, retval] BOOL *pbVal);
1972 [propget, id(8), helpstring("property Hidden")] HRESULT Hidden([out, retval] BOOL *pbVal);
1973 [propget, id(9), helpstring("property LastModificationUTC")] HRESULT LastModificationUTC([out, retval] DATE *pbVal);
1974 [propget, id(10), helpstring("property SystemFile")] HRESULT SystemFile([out, retval] BOOL *pbVal);
1975 [propget, id(11), helpstring("property Culture")] HRESULT Culture([out, retval] BSTR *pVal);
1976 };
1977
1978 [
1979 object,
1980 uuid(f8e55531-4c00-11d3-80bc-00105a653379),
1981 dual,
1982 helpstring("IFileEntryCollectionDisp Interface"),
1983 oleautomation,
1984 pointer_default(unique)
1985 ]
1986 interface IFileEntryCollection : IDispatch
1987 {
1988 [propget, restricted, id(DISPID_NEWENUM)] HRESULT _NewEnum([out, retval] IUnknown** pVal);
1989 [id(DISPID_VALUE)] HRESULT Item([in] VARIANT index, [out, retval] VARIANT* pVariant);
1990 [propget, id(1)] HRESULT Count([out, retval] long *pVal);
1991 };
1992
1993
1994 [
1995 object,
1996 uuid(f8e554cd-4c00-11d3-80bc-00105a653379),
1997 dual,
1998 helpstring("IClientConfig Interface"),
1999 oleautomation,
2000 pointer_default(unique)
2001 ]
2002 interface IClientConfig : IDispatch
2003 {
2004 [propget, id(1), helpstring("property UserId")] HRESULT UserId([out, retval] ULONG* pVal);
2005 [propget, id(2), helpstring("property Name")] HRESULT Name([out, retval] BSTR* pVal);
2006 [propget, id(3), helpstring("property UserDatadir")] HRESULT UserDatadir([out, retval] BSTR* pVal);
2007 [propget, id(4), helpstring("property EMailAddress")] HRESULT EMailAddress([out, retval] BSTR* pVal);
2008 [propput, id(4), helpstring("property EMailAddress")] HRESULT EMailAddress([in] BSTR newVal);
2009 [propget, id(5), helpstring("property ShortName")] HRESULT ShortName([out, retval] BSTR* pVal);
2010 [propget, id(6), helpstring("property SuppressOwnNumber")] HRESULT SuppressOwnNumber([out, retval] BOOL* pVal);
2011 [propput, id(6), helpstring("property SuppressOwnNumber")] HRESULT SuppressOwnNumber([in] BOOL newVal);
2012 [propget, id(7), helpstring("property MaxRedialListLength")] HRESULT MaxRedialListLength([out, retval] ULONG* pVal);
2013 [propput, id(7), helpstring("property MaxRedialListLength")] HRESULT MaxRedialListLength([in] ULONG newVal);
2014 [propget, id(8), helpstring("property RedialImmediately")] HRESULT RedialImmediately([out, retval] BOOL* pVal);
2015 [propput, id(8), helpstring("property RedialImmediately")] HRESULT RedialImmediately([in] BOOL newVal);
2016 [propget, id(9), helpstring("property EnablePhoneCallList")] HRESULT EnablePhoneCallList([out, retval] BOOL* pVal);
2017 [propput, id(9), helpstring("property EnablePhoneCallList")] HRESULT EnablePhoneCallList([in] BOOL newVal);
2018 [propget, id(10), helpstring("property MaxPhoneCallListLength")] HRESULT MaxPhoneCallListLength([out, retval] ULONG* pVal);
2019 [propput, id(10), helpstring("property MaxPhoneCallListLength")] HRESULT MaxPhoneCallListLength([in] ULONG newVal);
2020 [propget, id(11), helpstring("property DefaultFwd")] HRESULT DefaultFwd([out, retval] BOOL* pVal);
2021 [propput, id(11), helpstring("property DefaultFwd")] HRESULT DefaultFwd([in] BOOL newVal);
2022 [propget, id(12), helpstring("property DefaultFwdNumber")] HRESULT DefaultFwdNumber([out, retval] BSTR* pVal);
2023 [propput, id(12), helpstring("property DefaultFwdNumber")] HRESULT DefaultFwdNumber([in] BSTR newVal);
2024 [propget, id(13), helpstring("property FwdOnBusy")] HRESULT FwdOnBusy([out, retval] BOOL* pVal);
2025 [propput, id(13), helpstring("property FwdOnBusy")] HRESULT FwdOnBusy([in] BOOL newVal);
2026 [propget, id(14), helpstring("property FwdOnBusyNumber")] HRESULT FwdOnBusyNumber([out, retval] BSTR* pVal);
2027 [propput, id(14), helpstring("property FwdOnBusyNumber")] HRESULT FwdOnBusyNumber([in] BSTR newVal);
2028 [propget, id(15), helpstring("property FwdOnNoAnswer")] HRESULT FwdOnNoAnswer([out, retval] BOOL* pVal);
2029 [propput, id(15), helpstring("property FwdOnNoAnswer")] HRESULT FwdOnNoAnswer([in] BOOL newVal);
2030 [propget, id(16), helpstring("property FwdOnNoAnswerNumber")] HRESULT FwdOnNoAnswerNumber([out, retval] BSTR* pVal);
2031 [propput, id(16), helpstring("property FwdOnNoAnswerNumber")] HRESULT FwdOnNoAnswerNumber([in] BSTR newVal);
2032 [propget, id(17), helpstring("property FwdOnNoAnswerTimeout")] HRESULT FwdOnNoAnswerTimeout([out, retval] ULONG* pVal);
2033 [propput, id(17), helpstring("property FwdOnNoAnswerTimeout")] HRESULT FwdOnNoAnswerTimeout([in] ULONG newVal);
2034 [propget, id(18), helpstring("property VoiceMailFile")] HRESULT VoiceMailFile([out, retval] BSTR* pVal);
2035 [propput, id(18), helpstring("property VoiceMailFile")] HRESULT VoiceMailFile([in] BSTR newVal);
2036 [propget, id(19), helpstring("property MaxVoiceMailRecordingLen")] HRESULT MaxVoiceMailRecordingLen([out, retval] LONG* pVal);
2037 [propput, id(19), helpstring("property MaxVoiceMailRecordingLen")] HRESULT MaxVoiceMailRecordingLen([in] LONG newVal);
2038 [propget, id(20), helpstring("property VoiceMailSent")] HRESULT VoiceMailSent([out, retval] BOOL* pVal);
2039 [propput, id(20), helpstring("property VoiceMailSent")] HRESULT VoiceMailSent([in] BOOL newVal);
2040 [propget, id(21), helpstring("property SIPUserID")] HRESULT SIPUserID([out, retval] BSTR* pVal);
2041 [propget, id(22), helpstring("property SIPUsername")] HRESULT SIPUsername([out, retval] BSTR* pVal);
2042 [propget, id(23), helpstring("property SIPPassword")] HRESULT SIPPassword([out, retval] BSTR* pVal);
2043 [propput, id(23), helpstring("property SIPPassword")] HRESULT SIPPassword([in] BSTR newVal);
2044 [propget, id(24), helpstring("property LoginDeviceType")] HRESULT LoginDeviceType([out, retval] CHAR* pVal);
2045 [propput, id(24), helpstring("property LoginDeviceType")] HRESULT LoginDeviceType([in] CHAR newVal);
2046 [propget, id(25), helpstring("property CountryCode")] HRESULT CountryCode([out, retval] BSTR* pVal);
2047 [propput, id(25), helpstring("property CountryCode")] HRESULT CountryCode([in] BSTR newVal);
2048 [propget, id(26), helpstring("property AreaCode")] HRESULT AreaCode([out, retval] BSTR* pVal);
2049 [propput, id(26), helpstring("property AreaCode")] HRESULT AreaCode([in] BSTR newVal);
2050 [propget, id(27), helpstring("property PublicAccessPrefix")] HRESULT PublicAccessPrefix([out, retval] CHAR* pVal);
2051 [propput, id(27), helpstring("property PublicAccessPrefix")] HRESULT PublicAccessPrefix([in] CHAR newVal);
2052 [propget, id(28), helpstring("property ServerDataDirectory")] HRESULT ServerDataDirectory([out, retval] BSTR* pVal);
2053 [propget, id(29), helpstring("property DefaultVoicemailFile")] HRESULT DefaultVoicemailFile([out, retval] BSTR* pVal);
2054 [propget, id(30), helpstring("property UserRootDirectory")] HRESULT UserRootDirectory([out, retval] BSTR* pVal);
2055 [propget, id(31), helpstring("property InternationCallPrefix")] HRESULT InternationCallPrefix([out, retval] BSTR* pVal);
2056 [propput, id(31), helpstring("property InternationCallPrefix")] HRESULT InternationCallPrefix([in] BSTR newVal);
2057 [propget, id(32), helpstring("property LongDistanceCallPrefix")] HRESULT LongDistanceCallPrefix([out, retval] BSTR* pVal);
2058 [propput, id(32), helpstring("property LongDistanceCallPrefix")] HRESULT LongDistanceCallPrefix([in] BSTR newVal);
2059 [propget, id(33), helpstring("property VoiceMailServerName")] HRESULT VoiceMailServerName([out, retval] BSTR* pVal);
2060 [propget, id(34), helpstring("property VoiceMailSenderAddress")] HRESULT VoiceMailSenderAddress([out, retval] BSTR* pVal);
2061 [propget, id(35), helpstring("property DefaultSkinFileName")] HRESULT DefaultSkinFileName([out, retval] BSTR* pVal);
2062 [propget, id(36), helpstring("property ChargingUnitValue")] HRESULT ChargingUnitValue([out, retval] DOUBLE* pVal);
2063 [propget, id(37), helpstring("property ChargingUnitCurrency")] HRESULT ChargingUnitCurrency([out, retval] BSTR* pVal);
2064 [propget, id(38), helpstring("property RecordingCodec")] HRESULT RecordingCodec([out, retval] LONG* pVal);
2065 [propget, id(39), helpstring("property CompressionCodec")] HRESULT CompressionCodec([out, retval] BSTR* pVal);
2066 [propget, id(40), helpstring("property DefaultLoginDeviceType")] HRESULT DefaultLoginDeviceType([out, retval] CHAR* pVal);
2067 [propget, id(42), helpstring("property ClientNumberEnumerator")] HRESULT ClientNumberEnumerator([out, retval] IDispatch** ppVal);
2068 [propget, id(43), helpstring("property SecondaryCallEnabled")] HRESULT SecondaryCallEnabled([out, retval] BOOL* pVal);
2069 [propput, id(43), helpstring("property SecondaryCallEnabled")] HRESULT SecondaryCallEnabled([in] BOOL newVal);
2070 [propget, id(44), helpstring("property DoNotDisturb")] HRESULT DoNotDisturb([out, retval] BOOL* pVal);
2071 [propput, id(44), helpstring("property DoNotDisturb")] HRESULT DoNotDisturb([in] BOOL newVal);
2072 [propget, id(45), helpstring("property SIPAccountEnumerator")] HRESULT SIPAccountEnumerator([out, retval] IDispatch** ppVal);
2073 [propget, id(46), helpstring("property SIPProviderEnumerator")] HRESULT SIPProviderEnumerator([out, retval] IDispatch** ppVal);
2074 [id(47), helpstring("method BeginUpdate")] HRESULT BeginUpdate();
2075 [id(48), helpstring("method EndUpdate")] HRESULT EndUpdate();
2076 [propget, id(49), helpstring("property ConfigBuffer")] HRESULT ConfigBuffer([out, retval] VARIANT* pVal);
2077 [propput, id(49), helpstring("property ConfigBuffer")] HRESULT ConfigBuffer([in] VARIANT newVal);
2078
2079 [propget, id(50), helpstring("property CallerEnumerator")] HRESULT CallerEnumerator([out, retval] IDispatch** ppVal);
2080 [propget, id(51), helpstring("property RedialEnumerator")] HRESULT RedialEnumerator([out, retval] IDispatch** ppVal);
2081 [id(52), helpstring("method DeleteRedialEntry")] HRESULT DeleteRedialEntry([in] LONG Idx, [in] DATE Time);
2082 [id(53), helpstring("method DeleteCallerEntry")] HRESULT DeleteCallerEntry([in] LONG Idx, [in] DATE Time);
2083 [id(54), helpstring("method DeleteRedialList")] HRESULT DeleteRedialList();
2084 [id(55), helpstring("method DeleteCallerList")] HRESULT DeleteCallerList();
2085
2086 [propget, id(56), helpstring("property EnumEnabled")] HRESULT EnumEnabled([out, retval] BOOL* pVal);
2087 [propput, id(56), helpstring("property EnumEnabled")] HRESULT EnumEnabled([in] BOOL newVal);
2088 [id(57), helpstring("method IsFeatureInstalled")] HRESULT IsFeatureInstalled([in] BSTR Guid, [out, retval] BOOL* pVal);
2089
2090 [id(58), helpstring("method AddFile")] HRESULT AddFile([in] BSTR SrcFilePath, [in] BSTR FileName, [in] LONG Scope, [in] LONG Category, [in] BOOL IsPrivate, [in] BOOL IsHidden);
2091 [id(59), helpstring("method DeleteFile")] HRESULT DeleteFile([in] BSTR FileName, [in] LONG Scope, [in] LONG Category);
2092 [propget, id(60), helpstring("method FilePath")] HRESULT FilePath([in] BSTR FileName, [in] LONG Scope, [in] LONG Category, [out, retval] BSTR* pVal);
2093 [propget, id(61), helpstring("method FileList")] HRESULT FileList([in] BSTR FileExt, [in] LONG Scope, [in] LONG Category, [out, retval] IDispatch** ppVal);
2094 [propget, id(62), helpstring("method FileExists")] HRESULT FileExists([in] BSTR FileName, [in] LONG Scope, [in] LONG Category, [out, retval] BOOL* pVal);
2095 [propget, id(63), helpstring("method IsReadOnly")] HRESULT IsReadOnly([in] BSTR FileName, [in] LONG Scope, [in] LONG Category, [out, retval] BOOL* pVal);
2096 [propget, id(64), helpstring("method LastErrorMessage")] HRESULT LastErrorMessage([out, retval] BSTR* pVal);
2097 [id(65), helpstring("method SetPhoneCallBackState")] HRESULT SetPhoneCallBackState([in] LONG Idx, [in] DATE Time, [in] LONG CBState);
2098 [id(66), helpstring("method SetPhoneCallListViewed")] HRESULT SetPhoneCallListViewed([in] BOOL Viewed);
2099 [propget, id(67), helpstring("method LastError")] HRESULT LastError([out, retval] LONG* pVal);
2100 [propget, id(68), helpstring("method DefaultConversationRecordingPath")] HRESULT DefaultConversationRecordingPath([out, retval] BSTR* pVal);
2101 [id(69), helpstring("method HasRole")] HRESULT HasRole([in] long roleId, [out, retval] BOOL* pVal);
2102
2103 [propget, id(70), helpstring("property UserConfiguredEncryptionMode")] HRESULT UserConfiguredEncryptionMode([out, retval] ULONG* pVal);
2104 [propput, id(70), helpstring("property UserConfiguredEncryptionMode")] HRESULT UserConfiguredEncryptionMode([in] ULONG newVal);
2105 [propget, id(71), helpstring("property ServerDefaultEncryptionMode")] HRESULT ServerDefaultEncryptionMode([out, retval] ULONG* pVal);
2106
2107 [propget, id(72), helpstring("property NumberOfNewVoicemails")] HRESULT NumberOfNewVoicemails([out, retval] LONG* pVal);
2108 [propput, id(72), helpstring("property NumberOfNewVoicemails")] HRESULT NumberOfNewVoicemails([in] LONG newVal);
2109
2110 [propget, id(74), helpstring("property CollaborationLink")] HRESULT CollaborationLink([out, retval] IDispatch** ppVal);
2111 [propget, id(75), helpstring("property VideoLink")] HRESULT VideoLink([out, retval] IDispatch** ppVal);
2112
2113 [propget, id(76), helpstring("property Away")] HRESULT Away([out, retval] BOOL* pVal);
2114 [propput, id(76), helpstring("property Away")] HRESULT Away([in] BOOL newVal);
2115 [propget, id(77), helpstring("property AwayText")] HRESULT AwayText([out, retval, string] BSTR* pVal);
2116 [propput, id(77), helpstring("property AwayText")] HRESULT AwayText([in, string] BSTR newVal);
2117 [id(78), helpstring("Reloads the presence configuration")] HRESULT (ReloadPresenceData)();
2118 [id(79), helpstring("Publicate detected away state")] HRESULT (PublicateDetectedAwayState)([in] BOOL newVal);
2119 [id(80), helpstring("Gets the local site id")] HRESULT (GetLocalSiteID)([out, retval] long* plRetVal);
2120 [id(81), helpstring("Gets the local filepath for user bitmaps")] HRESULT (GetAvatarBitmap)([in] int iSiteID, [in] int iUserID, [in] BOOL bForceReload, [out] BOOL* pbModified, [out,string] BSTR* pbstrFileNameVal, [out, retval, string] BSTR* pbstrVal);
2121 [id(82), helpstring("Sets the own user bitmaps")] HRESULT (SetAvatarBitmap)([in, string] BSTR bstrFileName, [in, string] BSTR bstrFilePath);
2122 [id(83), helpstring("Deletes the own user bitmaps")] HRESULT (DeleteAvatarBitmap)();
2123 [id(84), helpstring("Set RichStatus Configuration")] HRESULT (SetRichPresenceStatus)([in] BOOL bAway, [in] BOOL bDoNotDisturb, [in] DATE dExpirationDate);
2124
2125 /*
2126 * encryption mode of current call
2127 * we will notified about changed data with message "PubCLMgrLineDetailsChangedMessage"
2128 */
2129 [propget, id(85), helpstring("property CurrentEncryptionMode")] HRESULT CurrentEncryptionMode([out, retval] LONG *plCurrentEncryptionMode);
2130
2131 [propget, id(86), helpstring("property IsUserVideoAllowed")] HRESULT IsUserVideoAllowed([out, retval] BOOL* pVal);
2132
2133 [id(87), helpstring("Set the appointment text")] HRESULT (SetAppointmentText)([in, string] BSTR bstrAppointmentText, [in] DATE dExpirationDate);
2134
2135 [propget, id(88), helpstring("property AppointmentText")] HRESULT AppointmentText([out, retval] BSTR* pVal);
2136 [propget, id(89), helpstring("property StateExpirationDate")] HRESULT StateExpirationDate([out, retval] DATE* pVal);
2137 [propget, id(90), helpstring("property AppointmentExpirationDate")] HRESULT AppointmentExpirationDate([out, retval] DATE* pVal);
2138
2139 [propget, id(91), helpstring("property RecWizardPopupState")] HRESULT RecWizardPopupState([out, retval] BOOL* pVal);
2140 [propput, id(91), helpstring("property RecWizardPopupState")] HRESULT RecWizardPopupState([in] BOOL newVal);
2141
2142 // AudioModes config
2143 [propget, id(92), helpstring("property HandsetDevice")] HRESULT HandsetDevice([out, retval] BSTR* pVal);
2144 [propget, id(93), helpstring("property HandsetCaptureDevice")] HRESULT HandsetCaptureDevice([out, retval] BSTR* pVal);
2145 [propget, id(94), helpstring("property HeadsetDevice")] HRESULT HeadsetDevice([out, retval] BSTR* pVal);
2146 [propget, id(95), helpstring("property HeadsetCaptureDevice")] HRESULT HeadsetCaptureDevice([out, retval] BSTR* pVal);
2147 [propget, id(96), helpstring("property HandsfreeDevice")] HRESULT HandsfreeDevice([out, retval] BSTR* pVal);
2148 [propget, id(97), helpstring("property HandsfreeCaptureDevice")] HRESULT HandsfreeCaptureDevice([out, retval] BSTR* pVal);
2149 [propget, id(98), helpstring("property OpenListeningDevice")] HRESULT OpenListeningDevice([out, retval] BSTR* pVal);
2150 [propget, id(99), helpstring("property RingingDevice")] HRESULT RingingDevice([out, retval] BSTR* pVal);
2151 [propget, id(100), helpstring("property PcSpeakerRinging")] HRESULT PcSpeakerRinging([out, retval] INT32* pVal);
2152 [propput, id(100), helpstring("property PcSpeakerRinging")] HRESULT PcSpeakerRinging([in] INT32 newVal);
2153 [propget, id(101), helpstring("property DefaultAudioMode")] HRESULT DefaultAudioMode([out, retval] INT32* pVal);
2154 [propget, id(102), helpstring("property HandsetVolume")] HRESULT HandsetVolume([in] BSTR pDev, [out, retval] INT32* pVal);
2155 [propget, id(103), helpstring("property HandsetCaptureVolume")] HRESULT HandsetCaptureVolume([in] BSTR pDev, [out, retval] INT32* pVal);
2156 [propput, id(103), helpstring("property HandsetCaptureVolume")] HRESULT HandsetCaptureVolume([in] BSTR pDev, [in] INT32 newVal);
2157 [propget, id(104), helpstring("property HeadsetVolume")] HRESULT HeadsetVolume([in] BSTR pDev, [out, retval] INT32* pVal);
2158 [propget, id(105), helpstring("property HeadsetCaptureVolume")] HRESULT HeadsetCaptureVolume([in] BSTR pDev, [out, retval] INT32* pVal);
2159 [propput, id(105), helpstring("property HeadsetCaptureVolume")] HRESULT HeadsetCaptureVolume([in] BSTR pDev, [in] INT32 newVal);
2160 [propget, id(106), helpstring("property HandsfreeVolume")] HRESULT HandsfreeVolume([in] BSTR pDev, [out, retval] INT32* pVal);
2161 [propget, id(107), helpstring("property HandsfreeCaptureVolume")] HRESULT HandsfreeCaptureVolume([in] BSTR pDev, [out, retval] INT32* pVal);
2162 [propput, id(107), helpstring("property HandsfreeCaptureVolume")] HRESULT HandsfreeCaptureVolume([in] BSTR pDev, [in] INT32 newVal);
2163 [propget, id(108), helpstring("property OpenListeningVolume")] HRESULT OpenListeningVolume([in] BSTR pDev, [out, retval] INT32* pVal);
2164 [propget, id(109), helpstring("property RingingVolume")] HRESULT RingingVolume([in] BSTR pDev, [out, retval] INT32* pVal);
2165
2166 // other CLMgr config used in client
2167 [propget, id(110), helpstring("property LineDetailsBrowserDelay")] HRESULT LineDetailsBrowserDelay([out, retval] INT32* pVal);
2168 [propget, id(111), helpstring("property TrimmingWorkingSet")] HRESULT TrimmingWorkingSet([out, retval] INT32* pVal);
2169 [propget, id(112), helpstring("property AllowOutboundIntercom")] HRESULT AllowOutboundIntercom([out, retval] BOOL* pVal);
2170 [propget, id(113), helpstring("property IPPBXClient")] HRESULT IPPBXClient([out, retval] BOOL* pVal);
2171 [propget, id(114), helpstring("property UnknownCallerString")] HRESULT UnknownCallerString([out, retval] BSTR* pVal);
2172 [propget, id(115), helpstring("property ServerRestartInterval")] HRESULT ServerRestartInterval([out, retval] INT32* pVal);
2173 [propget, id(116), helpstring("property ServerRestartIntervalMax")] HRESULT ServerRestartIntervalMax([out, retval] INT32* pVal);
2174 [propget, id(117), helpstring("property EnableVideo")] HRESULT EnableVideo([out, retval] BOOL* pVal);
2175 [propget, id(118), helpstring("property IsIncomingVideoAllowed")] HRESULT IsIncomingVideoAllowed([out, retval] BOOL* pVal);
2176 [propput, id(118), helpstring("property IsIncomingVideoAllowed")] HRESULT IsIncomingVideoAllowed([in] BOOL newVal);
2177 [propget, id(119), helpstring("property AlwaysStartOutgoingVideo")] HRESULT AlwaysStartOutgoingVideo([out, retval] BOOL* pVal);
2178 [propput, id(119), helpstring("property AlwaysStartOutgoingVideo")] HRESULT AlwaysStartOutgoingVideo([in] BOOL newVal);
2179 [propget, id(120), helpstring("property CodecPreference")] HRESULT CodecPreference([out, retval] INT32* pVal);
2180 [propput, id(120), helpstring("property CodecPreference")] HRESULT CodecPreference([in] INT32 newVal);
2181 [propget, id(121), helpstring("property EmailClient")] HRESULT EmailClient([out, retval] BSTR* pVal);
2182 [propput, id(121), helpstring("property EmailClient")] HRESULT EmailClient([in] BSTR newVal);
2183 [propget, id(122), helpstring("property VideoDeviceName")] HRESULT VideoDeviceName([out, retval] BSTR* pVal);
2184 [propput, id(122), helpstring("property VideoDeviceName")] HRESULT VideoDeviceName([in] BSTR newVal);
2185 [propget, id(123), helpstring("property VideoFrameWidth")] HRESULT VideoFrameWidth([out, retval] INT32* pVal);
2186 [propput, id(123), helpstring("property VideoFrameWidth")] HRESULT VideoFrameWidth([in] INT32 newVal);
2187 [propget, id(124), helpstring("property VideoFrameHeight")] HRESULT VideoFrameHeight([out, retval] INT32* pVal);
2188 [propput, id(124), helpstring("property VideoFrameHeight")] HRESULT VideoFrameHeight([in] INT32 newVal);
2189 [propget, id(125), helpstring("property VideoFrameRate")] HRESULT VideoFrameRate([out, retval] INT32* pVal);
2190 [propput, id(125), helpstring("property VideoFrameRate")] HRESULT VideoFrameRate([in] INT32 newVal);
2191 [propget, id(126), helpstring("property SerialNumber")] HRESULT SerialNumber([out, retval] BSTR* pVal);
2192 [id(127), helpstring("IsPluginLicensed")] HRESULT (IsPluginLicensed)([in, string] BSTR bstrProgID, [out, retval] BOOL* pVal);
2193 [propget, id(128), helpstring("property PasswordPolicyEnabled")] HRESULT PasswordPolicyEnabled([out, retval] BOOL* pVal);
2194 [propget, id(129), helpstring("property RemoteAudioEnabled")] HRESULT RemoteAudioEnabled([out, retval] BOOL* pVal);
2195 [id(130), helpstring("Gets the unique server id")] HRESULT (GetUniqueServerId)([out, retval] BSTR* pVal);
2196 [propget, id(131), helpstring("property DefaultCheckVoicemail")] HRESULT DefaultCheckVoicemail([out, retval] LONG* pVal);
2197 [propput, id(131), helpstring("property DefaultCheckVoicemail")] HRESULT DefaultCheckVoicemail([in] LONG newVal);
2198 [propget, id(132), helpstring("property ClientPopupMode")] HRESULT ClientPopupMode([out, retval] LONG* pVal);
2199 [propput, id(133), helpstring("property DisableNotificationForVersion")] HRESULT DisableNotificationForVersion([in] BSTR pVers);
2200 [propget, id(134), helpstring("property IMClientGeneration")] HRESULT IMClientGeneration([out, retval] INT32* pVal);
2201 [propget, id(135), helpstring("property IsOperatorTrustEstablished")] HRESULT IsOperatorTrustEstablished([out, retval] BOOL* pVal);
2202 [propget, id(136), helpstring("property DefaultSkinForMsTeams")] HRESULT DefaultSkinForMsTeams([out, retval] BSTR* pVal);
2203 [propget, id(137), helpstring("property PbxPhoneBookEnumerator")] HRESULT PbxPhoneBookEnumerator([out, retval] IDispatch** ppVal);
2204 [propget, id(138), helpstring("property UserPhoneBookEnumerator")] HRESULT UserPhoneBookEnumerator([out, retval] IDispatch** ppVal);
2205 [propget, id(139), helpstring("property FileCacheFolder")] HRESULT FileCacheFolder([out, retval] BSTR* pVal);
2206 [propget, id(140), helpstring("property ServerLicenceType")] HRESULT ServerLicenceType([out, retval] LONG* pVal);
2207 };
2208
2209
2210#ifdef MEMLINEMGR
2211
2212[
2213 uuid(f8e552f7-4c01-11d3-80bc-00105a653379),
2214 version(2.0),
2215 helpstring("MEM Line Manager 2.0 Type Library")
2216]
2217library MEMCLMGRLib
2218{
2219 importlib("stdole32.tlb");
2220 importlib("stdole2.tlb");
2221
2222
2223
2224 /*
2225 * dispatch interface for client line manager events
2226 * can be used from VB clients for receiving client line manager messages via connection point
2227 */
2228 [
2229 uuid(f8e55365-4c00-11d3-80bc-00105a653379),
2230 helpstring("IClientLineMgrEventsDisp Interface"),
2231 hidden,
2232 nonextensible
2233 ]
2234 dispinterface IClientLineMgrEventsDisp
2235 {
2236 properties:
2237 methods:
2238 /*
2239 * signal line manager message to client
2240 * msg: same as wParam send with WM_LineMgrNotification -> CLMgrMessages
2241 * param: same as lParam send with WM_LineMgrNotification -> CLMgrMessages
2242 */
2243 [id(1), helpstring("method DispOnLineMgrNotification")] void DispOnLineMgrNotification([in] long msg, [in] long param);
2244 };
2245
2246
2247
2248 [
2249 uuid(f8e553e5-4c01-11d3-80bc-00105a653379),
2250 helpstring("MEM ClCallHistItem Class")
2251 ]
2252 coclass MemClCallHistItem
2253 {
2254 [default] interface IClCallHistItemDisp;
2255 };
2256
2257
2258
2259 [
2260 uuid(f8e553e3-4c01-11d3-80bc-00105a653379),
2261 helpstring("MEM ClCallHistCollection Class")
2262 ]
2263 coclass MemClCallHistCollection
2264 {
2265 [default] interface IClCallHistCollectionDisp;
2266 };
2267
2268
2269
2270 [
2271 uuid(f8e554cf-4c01-11d3-80bc-00105a653379),
2272 helpstring("MEM CClClientNumberItem Class")
2273 ]
2274 coclass MemClientNumber
2275 {
2276 [default] interface IClientNumber;
2277 };
2278
2279
2280
2281 [
2282 uuid(f8e554d1-4c01-11d3-80bc-00105a653379),
2283 helpstring("MEM CClClientNumberCollection Class")
2284 ]
2285 coclass MemClientNumberCollection
2286 {
2287 [default] interface IClientNumberCollection;
2288 };
2289
2290
2291
2292 [
2293 uuid(f8e55424-4c01-11d3-80bc-00105a653379),
2294 helpstring("CClChatMessageItem Class")
2295 ]
2296 coclass MemCClChatMessageItem
2297 {
2298 [default] interface IClChatMessageItemDisp;
2299 };
2300
2301
2302 [
2303 uuid(f8e552f8-4c01-11d3-80bc-00105a653379),
2304 helpstring("MEM ClientLineMgr Class")
2305 ]
2306 coclass MemClientLineMgr
2307 {
2308 interface IClientLineMgr2;
2309 interface IClientLineMgrEx;
2310 interface IClientLineMgrEx2;
2311 interface IClientLineMgrEx3;
2312 interface IClientLineMgrEx4;
2313 interface IClientLineMgrEx5;
2314 interface IClientLineMgrEx6;
2315 interface IClientLineMgrEx7;
2316 interface IClientLineMgrEx8;
2317 interface IClientLineMgrEx9;
2318 interface IClientLineMgrEx10;
2319 interface IClientLineMgrEx11;
2320 interface IClientLineMgrEx12;
2321 interface IClientLineMgrEx13;
2322 interface IClientLineMgrPub;
2323 interface IClientLineMgrPub2;
2324 interface IClientLineMgrPub3;
2325 interface IClientLineMgrPub4;
2326 interface IClientLineMgrPub5;
2327 interface IClientLineMgrPub6;
2328 interface IClientLineMgrPub7;
2329 interface IClientLineMgrPub8;
2330 interface IClientLineMgrPub9;
2331 [default] interface IClientLineMgrDisp;
2334 interface IClientLineMgrAnalytics;
2335 [source] dispinterface IClientPresenceInformationEvents;
2336 [default, source] dispinterface IClientLineMgrEventsDisp;
2337 [source] dispinterface IClientLineMgrEventsPub;
2338 };
2339
2340
2341
2342 [
2343 uuid(f8e552b4-4c01-11d3-80bc-00105a653379),
2344 helpstring("TapiClientLineMgr Class")
2345 ]
2346 coclass MemTapiClientLineMgr
2347 {
2348 [default] interface IClientLineMgr2;
2349 };
2350
2351
2352
2353 [
2354 uuid(f8e552f9-4c01-11d3-80bc-00105a653379),
2355 helpstring("MEM ClientLine Class")
2356 ]
2357 coclass MemClientLine
2358 {
2359 interface IClientLine2;
2360 interface IClientLineEx;
2361 interface IClientLineEx2;
2362 interface IClientLineEx3;
2363 interface IClientLineEx4;
2364 interface IClientLinePub;
2365 interface IClientLinePub2;
2366 interface IClientLinePub3;
2367 interface IClientLinePub4;
2368 [default] interface IClientLineDisp;
2369 };
2370
2371
2372
2373 [
2374 uuid(f8e552b5-4c01-11d3-80bc-00105a653379),
2375 helpstring("MEM TapiClientLine Class")
2376 ]
2377 coclass MemTapiClientLine
2378 {
2379 [default] interface IClientLine2;
2380 };
2381
2382
2383 [
2384 uuid(736B92C8-1FB2-489C-9EF1-F740E1F6231C),
2385 helpstring("MEM CUserAppearance Class")
2386 ]
2387 coclass MemUserAppearance
2388 {
2389 [default] interface IUserAppearance;
2390 };
2391
2392
2393
2394 [
2395 uuid(07307CAB-7B16-423A-910C-4CFBFACB3FBE),
2396 helpstring("MEM CUserAppearanceCollection Class")
2397 ]
2398 coclass MemUserAppearanceCollection
2399 {
2400 [default] interface IUserAppearanceCollection;
2401 };
2402
2403
2404 [
2405 uuid(f8e5552e-4c01-11d3-80bc-00105a653379),
2406 helpstring("MEM CFileEntry Class")
2407 ]
2408 coclass MemFileEntry
2409 {
2410 [default] interface IFileEntry;
2411 };
2412
2413
2414
2415 [
2416 uuid(f8e55530-4c01-11d3-80bc-00105a653379),
2417 helpstring("MEM CFileEntryCollection Class")
2418 ]
2419 coclass MemFileEntryCollection
2420 {
2421 [default] interface IFileEntryCollection;
2422 };
2423
2424
2425
2426 [
2427 uuid(f8e554cc-4c01-11d3-80bc-00105a653379),
2428 helpstring("MEM ClientConfig Class")
2429 ]
2430 coclass MemClientConfig
2431 {
2432 [default] interface IClientConfig;
2433 };
2434
2435
2436
2437 [
2438 uuid(f8e554d5-4c01-11d3-80bc-00105a653379),
2439 helpstring("MEM SIPProviderItem Class")
2440 ]
2441 coclass MemSIPProviderItem
2442 {
2443 [default] interface ISIPProviderItem;
2444 };
2445
2446
2447
2448 [
2449 uuid(f8e554d7-4c01-11d3-80bc-00105a653379),
2450 helpstring("MEM SIPProviderCollection Class")
2451 ]
2452 coclass MemSIPProviderCollection
2453 {
2454 [default] interface ISIPProviderCollection;
2455 };
2456
2457
2458
2459 [
2460 uuid(f8e554d9-4c01-11d3-80bc-00105a653379),
2461 helpstring("MEM SIPAccountItem Class")
2462 ]
2463 coclass MemSIPAccountItem
2464 {
2465 [default] interface ISIPAccountItem;
2466 };
2467
2468
2469
2470 [
2471 uuid(f8e554db-4c01-11d3-80bc-00105a653379),
2472 helpstring("MEM SIPAccountCollection Class")
2473 ]
2474 coclass MemSIPAccountCollection
2475 {
2476 [default] interface ISIPAccountCollection;
2477 };
2478
2479
2480 [
2481 uuid(f8e55596-4c01-11d3-80bc-00105a653379),
2482 helpstring("MEM LoggedInDeviceItem Class")
2483 ]
2484 coclass MemLoggedInDeviceItem
2485 {
2486 [default] interface ILoggedInDeviceItem;
2487 };
2488
2489
2490
2491 [
2492 uuid(f8e55597-4c01-11d3-80bc-00105a653379),
2493 helpstring("MEM LoggedInDevicesCollection Class")
2494 ]
2495 coclass MemLoggedInDevicesCollection
2496 {
2497 [default] interface ILoggedInDevicesCollection;
2498 };
2499
2500
2501 [
2502 uuid(f8e554eb-4c01-11d3-80bc-00105a653379),
2503 helpstring("MEM CallerCollection Class")
2504 ]
2505 coclass MemCallerCollection
2506 {
2507 [default] interface ICallerCollection;
2508 };
2509
2510
2511 [
2512 uuid(f8e554e9-4c01-11d3-80bc-00105a653379),
2513 helpstring("MEM CallerItem Class")
2514 ]
2515 coclass MemCallerItem
2516 {
2517 [default] interface ICallerItem;
2518 };
2519
2520
2521 [
2522 uuid(9be973b1-39ff-4716-91a1-74ee28c23b07),
2523 helpstring("MEM UserPhoneCallbackCollection Class")
2524 ]
2525 coclass MemUserPhoneCallbackCollection
2526 {
2527 [default] interface IUserPhoneCallbackCollection;
2528 };
2529
2530
2531 [
2532 uuid(97606004-64c3-4200-9b51-fd3338bb3bf3),
2533 helpstring("MEM UserPhoneCallbackItem Class")
2534 ]
2535 coclass MemUserPhoneCallbackItem
2536 {
2537 [default] interface IUserPhoneCallbackItem;
2538 };
2539
2540
2541 [
2542 uuid(afa522bf-379d-41ee-a6d0-dc0404ddb418),
2543 helpstring("MEM DispCollection Class")
2544 ]
2545 coclass MemDispCollection
2546 {
2547 [default] interface IDispCollection;
2548 };
2549
2550
2551 [
2552 uuid(918361f2-ac98-495e-b2a2-598c8fcb6829),
2553 helpstring("MEM PbxPhoneBookEntryDisp Class")
2554 ]
2555 coclass MemPbxPhoneBookEntryDisp
2556 {
2557 [default] interface IPbxPhoneBookEntryDisp;
2558 };
2559
2560 [
2561 uuid(e38a3cd5-46a4-4f91-99a3-1c03f75dd67e),
2562 helpstring("MEM UserPhoneBookEntryDisp Class")
2563 ]
2564 coclass MemUserPhoneBookEntryDisp
2565 {
2566 [default] interface IUserPhoneBookEntryDisp;
2567 };
2568
2569
2570 [
2571 uuid(f8e554ef-4c01-11d3-80bc-00105a653379),
2572 helpstring("MEM RedialCollection Class")
2573 ]
2574 coclass MemRedialCollection
2575 {
2576 [default] interface IRedialCollection;
2577 };
2578
2579
2580 [
2581 uuid(f8e554ed-4c01-11d3-80bc-00105a653379),
2582 helpstring("MEM RedialItem Class")
2583 ]
2584 coclass MemRedialItem
2585 {
2586 [default] interface IRedialItem;
2587 };
2588
2589 [
2590 uuid(f8e55544-4c01-11d3-80bc-00105a653379),
2591 helpstring("MEM NameNumberSearchResult Class")
2592 ]
2593 coclass MemNameNumberSearchResult
2594 {
2595 [default] interface INameNumberSearchResult;
2596 };
2597
2598 [
2599 uuid(f8e55545-4c01-11d3-80bc-00105a653379),
2600 helpstring("MEM NameNumberSearchResultCollection Class")
2601 ]
2602 coclass MemNameNumberSearchResultCollection
2603 {
2604 [default] interface INameNumberSearchResultCollection;
2605 };
2606
2607};
2608
2609#else
2610
2611 [
2612 object,
2613 uuid(f8e5558a-4c00-11d3-80bc-00105a653379),
2614 dual,
2615 helpstring("IChatMsg Interface"),
2616 pointer_default(unique)
2617 ]
2618 interface IChatMsg : IDispatch
2619 {
2620 [propget, id(1), helpstring("property Type")] HRESULT Type([out, retval] MSGTYPE *pVal);
2621 [propget, id(2), helpstring("property Dir")] HRESULT Dir([out, retval] MSGDIR *pVal);
2622 [propget, id(3), helpstring("property ID")] HRESULT ID([out, retval] LONG *pVal);
2623 [propget, id(4), helpstring("property TimeStamp")] HRESULT TimeStamp([out, retval] DATE *pVal);
2624 [propget, id(5), helpstring("property Text")] HRESULT Text([out, retval] BSTR *pVal);
2625 [propput, id(5), helpstring("property Text")] HRESULT Text([in] BSTR newVal);
2626 [propget, id(6), helpstring("property Content")] HRESULT Content([out, retval] VARIANT* pVal);
2627 [propput, id(6), helpstring("property Content")] HRESULT Content([in] VARIANT newVal);
2628 };
2629
2630 [
2631 object,
2632 uuid(f8e55588-4c00-11d3-80bc-00105a653379),
2633 dual,
2634 helpstring("IChatClient Interface"),
2635 pointer_default(unique)
2636 ]
2637 interface IChatClient : IDispatch
2638 {
2639 [propget, id(1), helpstring("property PeerID")] HRESULT PeerID([out, retval] LONG *pVal);
2640 [propget, id(2), helpstring("property PeerName")] HRESULT PeerName([out, retval] BSTR *pVal);
2641 [id(3), helpstring("method CreateMsg")] HRESULT CreateMsg([in] MSGTYPE Val, [out, retval] IDispatch **ppDisp);
2642 [id(4), helpstring("method SendMsg")] HRESULT SendMsg([in] IDispatch *pDisp);
2643 [id(5), helpstring("method RecvMsg")] HRESULT RecvMsg([out, retval] IDispatch **ppDisp);
2644 [propget, id(6), helpstring("property PeerSiteID")] HRESULT PeerSiteID([out, retval] LONG *pVal);
2645 };
2646
2647 [
2648 object,
2649 uuid(f8e55586-4c00-11d3-80bc-00105a653379),
2650 dual,
2651 helpstring("IChatClientList Interface"),
2652 pointer_default(unique)
2653 ]
2654 interface IChatClientList : IDispatch
2655 {
2656 [id(1), helpstring("method Add")] HRESULT Add([in] LONG ID, [in] BSTR Name, [out, retval] IDispatch **ppDisp);
2657 [id(2), helpstring("method Remove")] HRESULT Remove([in] IDispatch *pDisp);
2658 [propget, id(3), helpstring("property OwnID")] HRESULT OwnID([out, retval] LONG *pVal);
2659 [propget, id(4), helpstring("property OwnName")] HRESULT OwnName([out, retval] BSTR *pVal);
2660 [id(5), helpstring("method AddEx")] HRESULT AddEx([in] LONG UserID, [in] LONG SiteID, [in] BSTR Name, [out, retval] IDispatch **ppDisp);
2661 };
2662
2663 [
2664 object,
2665 uuid(CF678C53-F874-4683-BE60-F9B8935B744D),
2666 dual,
2667 helpstring("ICollaborationLink Interface"),
2668 pointer_default(unique)
2669 ]
2670 interface ICollaborationLink : IDispatch
2671 {
2672 [id(1), helpstring("method SendInvitation")] HRESULT SendInvitation([in] BSTR bstrTool, [in] BSTR bstrVersion, [in] BSTR bstrInvitation);
2673 [id(2), helpstring("method SendACK")] HRESULT SendACK([in] COLLABORATIONMSGTYPE cmt, [in] BSTR bstrTool, [in] BSTR bstrVersion, [in] BSTR bstrInvitation);
2674 [propget, id(3), helpstring("property OwnID")] HRESULT OwnID([out, retval] LONG *pVal);
2675 [propget, id(4), helpstring("property OwnName")] HRESULT OwnName([out, retval] BSTR *pVal);
2676 [propget, id(5), helpstring("property PeerID")] HRESULT PeerID([out, retval] LONG *pVal);
2677 [propget, id(6), helpstring("property PeerName")] HRESULT PeerName([out, retval] BSTR *pVal);
2678 };
2679
2680 [
2681 object,
2682 uuid(f8e555ef-4c00-11d3-80bc-00105a653379),
2683 dual,
2684 helpstring("IVideoLink Interface"),
2685 pointer_default(unique)
2686 ]
2687 interface IVideoLink : IDispatch
2688 {
2689 [propget, id(1), helpstring("property OutgoingVideoSession")] HRESULT OutgoingVideoSession([out, retval] IDispatch** ppVal);
2690 [propget, id(2), helpstring("property IncomingVideoSession")] HRESULT IncomingVideoSession([out, retval] IDispatch** ppVal);
2691 [id(3), helpstring("property DestroyOutgoingVideoSession")] HRESULT DestroyOutgoingVideoSession([in] IDispatch* pVal);
2692 [id(4), helpstring("property DestroyIncomingVideoSession")] HRESULT DestroyIncomingVideoSession([in] IDispatch* pVal);
2693 };
2694
2695 [
2696 object,
2697 uuid(f8e555ec-4c00-11d3-80bc-00105a653379),
2698 dual,
2699 helpstring("IVideoSession Interface"),
2700 pointer_default(unique)
2701 ]
2702 interface IVideoSession : IDispatch
2703 {
2704 [propget, id(1), helpstring("Returns video session state")] HRESULT State([out, retval] VIDEOSESSIONSTATES *pVal);
2705 [id(2), helpstring("method StartVideo")] HRESULT StartVideo();
2706 [id(3), helpstring("method StopVideo")] HRESULT StopVideo();
2707 [id(4), helpstring("method SuspendVideo")] HRESULT SuspendVideo();
2708 [id(5), helpstring("method ResumeVideo")] HRESULT ResumeVideo();
2709 };
2710
2711[
2712 uuid(f8e552f7-4c00-11d3-80bc-00105a653379),
2713 version(2.0),
2714 helpstring("CLMgr 2.0 Type Library")
2715]
2717{
2718 importlib("stdole32.tlb");
2719 importlib("stdole2.tlb");
2720
2721
2722
2723 /*
2724 * dispatch interface for client line manager events
2725 * can be used from VB clients for receiving client line manager messages via connection point
2726 */
2727 [
2728 uuid(f8e55365-4c00-11d3-80bc-00105a653379),
2729 helpstring("IClientLineMgrEventsDisp Interface"),
2730 hidden,
2731 nonextensible
2732 ]
2734 {
2735 properties:
2736 methods:
2737 /*
2738 * signal line manager message to client
2739 * msg: same as wParam send with WM_LineMgrNotification -> CLMgrMessages
2740 * param: same as lParam send with WM_LineMgrNotification -> CLMgrMessages
2741 */
2742 [id(1), helpstring("method DispOnLineMgrNotification")] void DispOnLineMgrNotification([in] long msg, [in] long param);
2743 };
2744
2745
2746
2747 [
2748 uuid(f8e553e5-4c00-11d3-80bc-00105a653379),
2749 helpstring("ClCallHistItem Class")
2750 ]
2752 {
2753 [default] interface IClCallHistItemDisp;
2754 };
2755
2756
2757
2758 [
2759 uuid(f8e553e3-4c00-11d3-80bc-00105a653379),
2760 helpstring("ClCallHistCollection Class")
2761 ]
2763 {
2764 [default] interface IClCallHistCollectionDisp;
2765 };
2766
2767
2768
2769 [
2770 uuid(f8e554cf-4c00-11d3-80bc-00105a653379),
2771 helpstring("CClClientNumberItem Class")
2772 ]
2774 {
2775 [default] interface IClientNumber;
2776 };
2777
2778
2779
2780 [
2781 uuid(f8e554d1-4c00-11d3-80bc-00105a653379),
2782 helpstring("CClClientNumberCollection Class")
2783 ]
2785 {
2786 [default] interface IClientNumberCollection;
2787 };
2788
2789
2790
2791 [
2792 uuid(f8e55424-4c00-11d3-80bc-00105a653379),
2793 helpstring("CClChatMessageItem Class")
2794 ]
2796 {
2797 [default] interface IClChatMessageItemDisp;
2798 };
2799
2800
2801 [
2802 uuid(f8e552f8-4c00-11d3-80bc-00105a653379),
2803 helpstring("ClientLineMgr Class")
2804 ]
2806 {
2807 interface IClientLineMgr2;
2808 interface IClientLineMgrEx;
2809 interface IClientLineMgrEx2;
2810 interface IClientLineMgrEx3;
2811 interface IClientLineMgrEx4;
2812 interface IClientLineMgrEx5;
2813 interface IClientLineMgrEx6;
2814 interface IClientLineMgrEx7;
2815 interface IClientLineMgrEx8;
2816 interface IClientLineMgrEx9;
2817 interface IClientLineMgrEx10;
2818 interface IClientLineMgrEx11;
2819 interface IClientLineMgrEx12;
2820 interface IClientLineMgrEx13;
2821 interface IClientLineMgrEx14;
2822 interface IClientLineMgrPub;
2823 interface IClientLineMgrPub2;
2824 interface IClientLineMgrPub3;
2825 interface IClientLineMgrPub4;
2826 interface IClientLineMgrPub5;
2827 interface IClientLineMgrPub6;
2828 interface IClientLineMgrPub7;
2829 interface IClientLineMgrPub8;
2830 interface IClientLineMgrPub9;
2831 [default] interface IClientLineMgrDisp;
2834 interface IClientLineMgrAnalytics;
2835 [source] dispinterface IClientPresenceInformationEvents;
2836 [default, source] dispinterface IClientLineMgrEventsDisp;
2837 [source] dispinterface IClientLineMgrEventsPub;
2838 };
2839
2840
2841
2842 [
2843 uuid(f8e552b4-4c00-11d3-80bc-00105a653379),
2844 helpstring("TapiClientLineMgr Class")
2845 ]
2847 {
2848 [default] interface IClientLineMgr2;
2849 };
2850
2851
2852
2853 [
2854 uuid(f8e552f9-4c00-11d3-80bc-00105a653379),
2855 helpstring("ClientLine Class")
2856 ]
2858 {
2859 interface IClientLine2;
2860 interface IClientLineEx;
2861 interface IClientLineEx2;
2862 interface IClientLineEx3;
2863 interface IClientLineEx4;
2864 interface IClientLinePub;
2865 interface IClientLinePub2;
2866 interface IClientLinePub3;
2867 interface IClientLinePub4;
2868 [default] interface IClientLineDisp;
2869 };
2870
2871
2872
2873 [
2874 uuid(f8e552b5-4c00-11d3-80bc-00105a653379),
2875 helpstring("TapiClientLine Class")
2876 ]
2878 {
2879 [default] interface IClientLine2;
2880 };
2881
2882
2883 [
2884 uuid(2792879A-1262-499B-A743-898C6A09B98F),
2885 helpstring("CUserAppearance Class")
2886 ]
2888 {
2889 [default] interface IUserAppearance;
2890 };
2891
2892
2893
2894 [
2895 uuid(923DA6A3-563D-4DCA-AE90-35D8A76AEB8F),
2896 helpstring("CUserAppearanceCollection Class")
2897 ]
2899 {
2900 [default] interface IUserAppearanceCollection;
2901 };
2902
2903
2904 [
2905 uuid(f8e5552e-4c00-11d3-80bc-00105a653379),
2906 helpstring("CFileEntry Class")
2907 ]
2909 {
2910 [default] interface IFileEntry;
2911 };
2912
2913
2914
2915 [
2916 uuid(f8e55530-4c00-11d3-80bc-00105a653379),
2917 helpstring("CFileEntryCollection Class")
2918 ]
2920 {
2921 [default] interface IFileEntryCollection;
2922 };
2923
2924
2925
2926 [
2927 uuid(f8e554cc-4c00-11d3-80bc-00105a653379),
2928 helpstring("ClientConfig Class")
2929 ]
2931 {
2932 [default] interface IClientConfig;
2933 };
2934
2935
2936
2937 [
2938 uuid(f8e554d5-4c00-11d3-80bc-00105a653379),
2939 helpstring("SIPProviderItem Class")
2940 ]
2942 {
2943 [default] interface ISIPProviderItem;
2944 };
2945
2946
2947
2948 [
2949 uuid(f8e554d7-4c00-11d3-80bc-00105a653379),
2950 helpstring("SIPProviderCollection Class")
2951 ]
2953 {
2954 [default] interface ISIPProviderCollection;
2955 };
2956
2957
2958
2959 [
2960 uuid(f8e554d9-4c00-11d3-80bc-00105a653379),
2961 helpstring("SIPAccountItem Class")
2962 ]
2964 {
2965 [default] interface ISIPAccountItem;
2966 };
2967
2968
2969
2970 [
2971 uuid(f8e554db-4c00-11d3-80bc-00105a653379),
2972 helpstring("SIPAccountCollection Class")
2973 ]
2975 {
2976 [default] interface ISIPAccountCollection;
2977 };
2978
2979
2980 [
2981 uuid(f8e55596-4c00-11d3-80bc-00105a653379),
2982 helpstring("LoggedInDeviceItem Class")
2983 ]
2985 {
2986 [default] interface ILoggedInDeviceItem;
2987 };
2988
2989
2990
2991 [
2992 uuid(f8e55597-4c00-11d3-80bc-00105a653379),
2993 helpstring("LoggedInDevicesCollection Class")
2994 ]
2996 {
2997 [default] interface ILoggedInDevicesCollection;
2998 };
2999
3000
3001 [
3002 uuid(f8e554eb-4c00-11d3-80bc-00105a653379),
3003 helpstring("CallerCollection Class")
3004 ]
3006 {
3007 [default] interface ICallerCollection;
3008 };
3009
3010
3011 [
3012 uuid(f8e554e9-4c00-11d3-80bc-00105a653379),
3013 helpstring("CallerItem Class")
3014 ]
3016 {
3017 [default] interface ICallerItem;
3018 };
3019
3020
3021 [
3022 uuid(21d36440-5188-4fcc-a838-1dc3f6826db9),
3023 helpstring("UserPhoneCallbackCollection Class")
3024 ]
3026 {
3027 [default] interface IUserPhoneCallbackCollection;
3028 };
3029
3030
3031 [
3032 uuid(932e946c-d78d-476b-aa9b-690d74704d3b),
3033 helpstring("UserPhoneCallbackItem Class")
3034 ]
3036 {
3037 [default] interface IUserPhoneCallbackItem;
3038 };
3039
3040
3041 [
3042 uuid(d0e1ed00-be17-45e3-9250-83ba50fd1311),
3043 helpstring("DispCollection Class")
3044 ]
3046 {
3047 [default] interface IDispCollection;
3048 };
3049
3050
3051 [
3052 uuid(17d7d1cd-6577-4c95-812e-e0faa6a77620),
3053 helpstring("PbxPhoneBookEntryDisp Class")
3054 ]
3056 {
3057 [default] interface IPbxPhoneBookEntryDisp;
3058 };
3059
3060
3061 [
3062 uuid(fe916592-e5a8-46e5-9058-c44b830c65ec),
3063 helpstring("UserPhoneBookEntryDisp Class")
3064 ]
3066 {
3067 [default] interface IUserPhoneBookEntryDisp;
3068 };
3069
3070
3071 [
3072 uuid(f8e554ef-4c00-11d3-80bc-00105a653379),
3073 helpstring("RedialCollection Class")
3074 ]
3076 {
3077 [default] interface IRedialCollection;
3078 };
3079
3080
3081 [
3082 uuid(f8e554ed-4c00-11d3-80bc-00105a653379),
3083 helpstring("RedialItem Class")
3084 ]
3086 {
3087 [default] interface IRedialItem;
3088 };
3089
3090 [
3091 uuid(f8e55544-4c00-11d3-80bc-00105a653379),
3092 helpstring("NameNumberSearchResult Class")
3093 ]
3095 {
3096 [default] interface INameNumberSearchResult;
3097 };
3098
3099 [
3100 uuid(f8e55545-4c00-11d3-80bc-00105a653379),
3101 helpstring("NameNumberSearchResultCollection Class")
3102 ]
3104 {
3105 [default] interface INameNumberSearchResultCollection;
3106 };
3107 [
3108 uuid(f8e5558e-4c00-11d3-80bc-00105a653379),
3109 helpstring("IChatMsg Class"),
3110 noncreatable
3111 ]
3113 {
3114 [default] interface IChatMsg;
3115 };
3116 [
3117 uuid(f8e55589-4c00-11d3-80bc-00105a653379),
3118 helpstring("IChatClientEvents Interface"),
3119 hidden,
3120 nonextensible
3121 ]
3122 dispinterface IChatClientEvents
3123 {
3124 properties:
3125 methods:
3126 [id(1), helpstring("method MsgEvent")] HRESULT MsgEvent();
3127 };
3128 [
3129 uuid(f8e5558d-4c00-11d3-80bc-00105a653379),
3130 helpstring("IChatClient Class"),
3131 noncreatable
3132 ]
3134 {
3135 [default] interface IChatClient;
3136 [default, source] dispinterface IChatClientEvents;
3137 };
3138
3139 [
3140 uuid(f8e55587-4c00-11d3-80bc-00105a653379),
3141 helpstring("IChatClientListEvents Interface"),
3142 hidden,
3143 nonextensible
3144 ]
3146 {
3147 properties:
3148 methods:
3149 [id(1), helpstring("method MsgEvent")] HRESULT MsgEvent([in] MSGTYPE Type, [in] IDispatch *pDisp);
3150 };
3151 [
3152 uuid(f8e5558c-4c00-11d3-80bc-00105a653379),
3153 helpstring("IChatClientList Class")
3154 ]
3156 {
3157 [default] interface IChatClientList;
3158 [default, source] dispinterface IChatClientListEvents;
3159 };
3160
3161 [
3162 uuid(EF4208F0-BE8F-4d5a-8C73-30FF4385D1C5),
3163 helpstring("ICollaborationLinkEvents Interface"),
3164 hidden,
3165 nonextensible
3166 ]
3168 {
3169 properties:
3170 methods:
3171 [id(1), helpstring("method OnInvitation")] HRESULT OnInvitation([in] BSTR bstrTool, [in] BSTR bstrVersion, [in] BSTR bstrInvitation);
3172 [id(2), helpstring("method OnACK")] HRESULT OnACK([in] COLLABORATIONMSGTYPE cmt, [in] BSTR bstrTool, [in] BSTR bstrVersion, [in] BSTR bstrInvitation);
3173 };
3174 [
3175 uuid(4A816D68-59E3-424d-AD49-645057CD16DA),
3176 helpstring("ICollaborationLink Class"),
3177 noncreatable
3178 ]
3180 {
3181 [default] interface ICollaborationLink;
3182 [default, source] dispinterface ICollaborationLinkEvents;
3183 };
3184
3185 [
3186 uuid(f8e555f0-4c00-11d3-80bc-00105a653379),
3187 helpstring("IVideoLinkEvents Interface"),
3188 hidden,
3189 nonextensible
3190 ]
3191 dispinterface IVideoLinkEvents
3192 {
3193 properties:
3194 methods:
3195 [id(1), helpstring("method OnIncomingVideo")] HRESULT OnIncomingVideo();
3196 [id(2), helpstring("method OnReleaseIncomingVideoSession")] HRESULT OnReleaseIncomingVideoSession();
3197 [id(3), helpstring("method OnReleaseOutgoingVideoSession")] HRESULT OnReleaseOutgoingVideoSession();
3198 };
3199 [
3200 uuid(f8e555f1-4c00-11d3-80bc-00105a653379),
3201 helpstring("IVideoLink Class"),
3202 noncreatable
3203 ]
3205 {
3206 [default] interface IVideoLink;
3207 [default, source] dispinterface IVideoLinkEvents;
3208 };
3209
3210 [
3211 uuid(f8e555ed-4c00-11d3-80bc-00105a653379),
3212 helpstring("IVideoSessionEvents Interface"),
3213 hidden,
3214 nonextensible
3215 ]
3217 {
3218 properties:
3219 methods:
3220 [id(1), helpstring("method OnStartVideoAck")] HRESULT OnStartVideoAck([in] VIDEORESULT videores);
3221 [id(2), helpstring("method OnStopVideoAck")] HRESULT OnStopVideoAck([in] VIDEORESULT videores);
3222 [id(3), helpstring("method OnStoppedVideo")] HRESULT OnStoppedVideo([in] VIDEORESULT videores);
3223 };
3224 [
3225 uuid(f8e555ee-4c00-11d3-80bc-00105a653379),
3226 helpstring("IVideoSession Class"),
3227 noncreatable
3228 ]
3230 {
3231 [default] interface IVideoSession;
3232 [default, source] dispinterface IVideoSessionEvents;
3233 };
3234
3235
3236 [
3237 uuid(f8e555fb-4c00-11d3-80bc-00105a653379),
3238 helpstring("ClientLineMgrQA Class")
3239 ]
3241 {
3242 [default] interface IClientLineMgrQA;
3243 };
3244
3245 [
3246 uuid(f8e555fd-4c00-11d3-80bc-00105a653379),
3247 helpstring("ClientLineQA Class"),
3248 noncreatable
3249 ]
3251 {
3252 [default] interface IClientLineQA;
3253 };
3254
3255 [
3256 uuid(F8E55614-4C00-11D3-80BC-00105A653379),
3257 helpstring("NameKeyDataEntryWrapper Class")
3258 ]
3260 {
3261 [default] interface INameKeyDataEntry;
3262 };
3263};
3264#endif
VIDEOSESSIONSTATES
Definition CLMgr.idl:61
@ VideoSessionNone
Definition CLMgr.idl:63
@ VideoSessionPending
Definition CLMgr.idl:66
@ VideoSessionRunning
Definition CLMgr.idl:69
@ VideoSessionFailure
Definition CLMgr.idl:75
@ VideoSessionSuspended
Definition CLMgr.idl:72
SClDataLocations
Definition CLMgr.idl:363
@ SClLocationServerUserDataDir
Definition CLMgr.idl:365
@ SClLocationLocalUserDataDir
Definition CLMgr.idl:366
@ SClLocationServerGlobalDataDir
Definition CLMgr.idl:364
@ SClLocationFullPath
Definition CLMgr.idl:367
CLMgrCallHistoryItemType
Definition CLMgr.idl:163
@ HITIncomingCall
Definition CLMgr.idl:164
@ HITConnect
Definition CLMgr.idl:166
@ HITTransferFailed
Definition CLMgr.idl:170
@ HITTransferCall
Definition CLMgr.idl:169
@ HITConference
Definition CLMgr.idl:168
@ HITOutgoingCall
Definition CLMgr.idl:165
@ HITHold
Definition CLMgr.idl:167
@ HITBlindTransferCall
Definition CLMgr.idl:171
@ HITDisconnect
Definition CLMgr.idl:173
@ HITBlindTransferFailed
Definition CLMgr.idl:172
ClMgrEntityType
Definition CLMgr.idl:465
@ ClMgr_EntityType_Site
Definition CLMgr.idl:470
@ ClMgr_EntityType_Group
Definition CLMgr.idl:467
@ ClMgr_EntityType_PersonalPhoneBookentry
Definition CLMgr.idl:469
@ ClMgr_EntityType_User
Definition CLMgr.idl:466
@ ClMgr_EntityType_GlobalPhoneBookEntry
Definition CLMgr.idl:468
MSGTYPE
Definition CLMgr.idl:44
@ Hallo
Definition CLMgr.idl:46
@ Bye
Definition CLMgr.idl:47
@ TypeNone
Definition CLMgr.idl:45
@ State
Definition CLMgr.idl:49
@ Msg
Definition CLMgr.idl:48
SClLineManagerType
Definition CLMgr.idl:341
@ SClPbxLineManager
Definition CLMgr.idl:342
@ SClTapiLineManager
Definition CLMgr.idl:343
COLLABORATIONMSGTYPE
Definition CLMgr.idl:53
@ CollaborationFailed
Definition CLMgr.idl:57
@ CollaborationNone
Definition CLMgr.idl:54
@ CollaborationOK
Definition CLMgr.idl:56
@ CollaborationInvitation
Definition CLMgr.idl:55
VIDEORESULT
Definition CLMgr.idl:79
@ VideoResultDeny
Definition CLMgr.idl:83
@ VideoResultFailed
Definition CLMgr.idl:82
@ VideoResultNone
Definition CLMgr.idl:80
@ VideoResultOK
Definition CLMgr.idl:81
MSGDIR
Definition CLMgr.idl:36
@ DirNone
Definition CLMgr.idl:37
@ ResponseOK
Definition CLMgr.idl:39
@ ResponseTimeout
Definition CLMgr.idl:40
@ Request
Definition CLMgr.idl:38
Definition CLMgr.idl:2796
Definition CLMgr.idl:3006
Definition CLMgr.idl:3016
Definition CLMgr.idl:3134
Definition CLMgr.idl:3156
Definition CLMgr.idl:3113
Definition CLMgr.idl:2763
Definition CLMgr.idl:2752
Definition CLMgr.idl:2931
Definition CLMgr.idl:2858
Definition CLMgr.idl:2806
Definition CLMgr.idl:3241
Definition CLMgr.idl:3251
Definition CLMgr.idl:2785
Definition CLMgr.idl:2774
Definition CLMgr.idl:3046
Definition CLMgr.idl:2920
Definition CLMgr.idl:2909
Definition CLMgr.idl:2985
Definition CLMgr.idl:2996
Definition CLMgr.idl:3260
Definition CLMgr.idl:3095
Definition CLMgr.idl:3056
Definition CLMgr.idl:3076
Definition CLMgr.idl:3086
Definition CLMgr.idl:2975
Definition CLMgr.idl:2964
Definition CLMgr.idl:2953
Definition CLMgr.idl:2942
Definition CLMgr.idl:2878
Definition CLMgr.idl:2847
Definition CLMgr.idl:2899
Definition CLMgr.idl:2888
Definition CLMgr.idl:3066
Definition CLMgr.idl:3026
Definition CLMgr.idl:3036
Definition CLMgr.idl:3230
Definition CLMgr.idl:3123
Definition CLMgr.idl:3146
HRESULT MsgEvent([in] MSGTYPE Type, [in] IDispatch *pDisp)
Definition CLMgr.idl:2734
void DispOnLineMgrNotification([in] long msg, [in] long param)
Definition CLMgr.idl:3217
HRESULT OnStopVideoAck([in] VIDEORESULT videores)
HRESULT OnStoppedVideo([in] VIDEORESULT videores)
HRESULT OnStartVideoAck([in] VIDEORESULT videores)
Definition CLMgrPub.idl:4453
Definition CLMgrPub.idl:4471
Definition CLMgr.idl:2638
HRESULT SendMsg([in] IDispatch *pDisp)
HRESULT RecvMsg([out, retval] IDispatch **ppDisp)
HRESULT CreateMsg([in] MSGTYPE Val, [out, retval] IDispatch **ppDisp)
Definition CLMgr.idl:2655
HRESULT Add([in] LONG ID, [in] BSTR Name, [out, retval] IDispatch **ppDisp)
HRESULT Remove([in] IDispatch *pDisp)
HRESULT AddEx([in] LONG UserID, [in] LONG SiteID, [in] BSTR Name, [out, retval] IDispatch **ppDisp)
Definition CLMgr.idl:2619
VARIANT Content
MSGDIR Dir
DATE TimeStamp
MSGTYPE Type
Definition CLMgrPub.idl:2437
Definition CLMgrPub.idl:2351
Definition CLMgrPub.idl:2506
Definition CLMgr.idl:2003
BOOL AlwaysStartOutgoingVideo
BOOL IsOperatorTrustEstablished
DATE AppointmentExpirationDate
INT32 HandsfreeVolume([in] BSTR pDev)
LONG NumberOfNewVoicemails
BSTR DefaultConversationRecordingPath
BSTR ChargingUnitCurrency
HRESULT DeleteAvatarBitmap()
IDispatch ClientNumberEnumerator
BSTR OpenListeningDevice
HRESULT ReloadPresenceData()
INT32 HeadsetCaptureVolume([in] BSTR pDev)
BSTR FilePath([in] BSTR FileName,[in] LONG Scope,[in] LONG Category)
HRESULT PublicateDetectedAwayState([in] BOOL newVal)
BOOL RedialImmediately
HRESULT DeleteRedialEntry([in] LONG Idx, [in] DATE Time)
INT32 VideoFrameRate
INT32 ServerRestartIntervalMax
INT32 VideoFrameHeight
LONG ServerLicenceType
BSTR CompressionCodec
HRESULT SetPhoneCallBackState([in] LONG Idx, [in] DATE Time, [in] LONG CBState)
INT32 PcSpeakerRinging
INT32 VideoFrameWidth
VARIANT ConfigBuffer
INT32 OpenListeningVolume([in] BSTR pDev)
BSTR ServerDataDirectory
HRESULT IsPluginLicensed([in, string] BSTR bstrProgID, [out, retval] BOOL *pVal)
ULONG ServerDefaultEncryptionMode
INT32 ServerRestartInterval
BSTR HeadsetCaptureDevice
HRESULT SetAppointmentText([in, string] BSTR bstrAppointmentText, [in] DATE dExpirationDate)
DOUBLE ChargingUnitValue
BSTR FileCacheFolder
BOOL EnablePhoneCallList
LONG DefaultCheckVoicemail
BOOL PasswordPolicyEnabled
IDispatch SIPAccountEnumerator
BSTR VoiceMailSenderAddress
BOOL SuppressOwnNumber
HRESULT EndUpdate()
IDispatch RedialEnumerator
BSTR HandsetCaptureDevice
LONG CurrentEncryptionMode
IDispatch FileList([in] BSTR FileExt,[in] LONG Scope,[in] LONG Category)
BSTR DefaultSkinForMsTeams
BOOL RemoteAudioEnabled
INT32 LineDetailsBrowserDelay
IDispatch CallerEnumerator
LONG MaxVoiceMailRecordingLen
BSTR AppointmentText
HRESULT DeleteFile([in] BSTR FileName, [in] LONG Scope, [in] LONG Category)
BOOL IsReadOnly([in] BSTR FileName,[in] LONG Scope,[in] LONG Category)
IDispatch VideoLink
HRESULT GetLocalSiteID([out, retval] long *plRetVal)
INT32 HandsetVolume([in] BSTR pDev)
IDispatch UserPhoneBookEnumerator
BOOL SecondaryCallEnabled
CHAR DefaultLoginDeviceType
INT32 HeadsetVolume([in] BSTR pDev)
LONG ClientPopupMode
BSTR UnknownCallerString
INT32 RingingVolume([in] BSTR pDev)
HRESULT DeleteCallerEntry([in] LONG Idx, [in] DATE Time)
INT32 HandsetCaptureVolume([in] BSTR pDev)
BSTR VideoDeviceName
BSTR LastErrorMessage
HRESULT IsFeatureInstalled([in] BSTR Guid, [out, retval] BOOL *pVal)
CHAR LoginDeviceType
CHAR PublicAccessPrefix
BSTR DefaultSkinFileName
HRESULT SetAvatarBitmap([in, string] BSTR bstrFileName, [in, string] BSTR bstrFilePath)
HRESULT DeleteRedialList()
INT32 IMClientGeneration
BSTR LongDistanceCallPrefix
BSTR DisableNotificationForVersion
ULONG FwdOnNoAnswerTimeout
ULONG MaxPhoneCallListLength
BSTR HandsfreeCaptureDevice
INT32 DefaultAudioMode
HRESULT SetRichPresenceStatus([in] BOOL bAway, [in] BOOL bDoNotDisturb, [in] DATE dExpirationDate)
BSTR VoiceMailServerName
HRESULT SetPhoneCallListViewed([in] BOOL Viewed)
BSTR HandsfreeDevice
BSTR UserRootDirectory
DATE StateExpirationDate
INT32 TrimmingWorkingSet
IDispatch SIPProviderEnumerator
HRESULT GetAvatarBitmap([in] int iSiteID, [in] int iUserID, [in] BOOL bForceReload, [out] BOOL *pbModified, [out, string] BSTR *pbstrFileNameVal, [out, retval, string] BSTR *pbstrVal)
HRESULT DeleteCallerList()
BSTR InternationCallPrefix
BOOL FileExists([in] BSTR FileName,[in] LONG Scope,[in] LONG Category)
HRESULT BeginUpdate()
BOOL RecWizardPopupState
BOOL IsIncomingVideoAllowed
ULONG MaxRedialListLength
BSTR FwdOnNoAnswerNumber
HRESULT AddFile([in] BSTR SrcFilePath, [in] BSTR FileName, [in] LONG Scope, [in] LONG Category, [in] BOOL IsPrivate, [in] BOOL IsHidden)
HRESULT GetUniqueServerId([out, retval] BSTR *pVal)
INT32 CodecPreference
IDispatch CollaborationLink
BOOL AllowOutboundIntercom
BSTR DefaultVoicemailFile
BSTR DefaultFwdNumber
BSTR FwdOnBusyNumber
INT32 HandsfreeCaptureVolume([in] BSTR pDev)
ULONG UserConfiguredEncryptionMode
BOOL IsUserVideoAllowed
HRESULT HasRole([in] long roleId, [out, retval] BOOL *pVal)
IDispatch PbxPhoneBookEnumerator
Definition CLMgr.idl:489
HRESULT GetDetails([out] CLMgrLineDetails *pDetails)
HRESULT JoinConference([in] IClientLine2 *pIConferenceLine)
HRESULT HookOff()
HRESULT PressHook()
HRESULT GetState([out] CLMgrLineStates *piState)
HRESULT DirectCall()
HRESULT HookOn()
HRESULT Activate()
HRESULT Dial([in] BSTR dialstring)
HRESULT GetLastCallDetails([out] CLMgrCallDetails *pDetails)
HRESULT ForwardCall([in] BSTR dialstring)
HRESULT Hold([in] int HoldMusic)
HRESULT TransferCall([in] IClientLine2 *pITargetLine)
Definition CLMgrPub.idl:1799
Definition CLMgr.idl:913
HRESULT GetLastCallDetailsEx([out] CLMgrCallDetailsEx *pDetails)
HRESULT GetDetailsEx2([out] CLMgrLineDetailsEx2 *pDetails)
Definition CLMgr.idl:1302
HRESULT GetLastCallDetailsEx3([in, out] CLMgrCallDetailsEx3 *pDetails)
HRESULT Enable([in] BOOL bEnable)
HRESULT GetDetailsEx3([in, out] CLMgrLineDetailsEx3 *pDetails)
Definition CLMgr.idl:1329
HRESULT RequestCallbackAuto()
HRESULT GetDetailsEx4([in, out] CLMgrLineDetailsEx4 *pDetails)
Definition CLMgr.idl:866
HRESULT RequestCallbackOnBusy()
HRESULT RequestCallback()
HRESULT StartRecording()
HRESULT StopRecording()
HRESULT HookOffSilent()
HRESULT GetDetailsEx([out] CLMgrLineDetailsEx *pDetails)
Definition CLMgr.idl:576
HRESULT SetWaveEndpointLevel([in] DWORD dwVolume, [in] BOOL bSaveToConfiguration)
HRESULT ReloadLocalSettings()
HRESULT RegisterUser([in] BSTR PbxUserName, [out] IClUser **ppIClUser, [out] unsigned long *pulUserId, [in, out] unsigned long *pMaxUsers, [out, size_is(*pMaxUsers), length_is(*pNumReturned)] BSTR *pszPBXUser, [out] unsigned long *pNumReturned)
HRESULT GetTapiMSNCount([out] int *piTapiMsnCount)
HRESULT RegisterServiceWatchdog([in] DWORD timeout)
HRESULT GetTapiMSN([in] int iMsnNo, [out] BSTR *psTapiMsn)
HRESULT PlaySoundFile([in] SClDataLocations Location, [in] BSTR sFileName, [in] BOOL bPlayLoop, [in] int iLoopInterval, [in] DWORD dwVolume)
HRESULT SwitchWaveDevices([in] BOOL EnableMicro, [in] BOOL EnableSpeaker)
HRESULT SetHandleHookEvents([in] BOOL bEnable)
HRESULT GetCapabilites([out] CLMgrCapabilities *pCapabilities)
HRESULT ReInit([out] IClPBX **ppIClPbx, [out] IClUser **ppIClUser)
HRESULT SelectLineByNumber([in] int LineNumber, BOOL bAutoHookOff)
HRESULT StopPlaySoundFile()
HRESULT GetWaveDevicesStates([out] BOOL *MicroEnabled, [out] BOOL *SpeakerEnabled)
HRESULT GetAllLines([in] int iSizeOfArray, [out, size_is(iSizeOfArray)] IClientLine2 **ppIClientLines)
HRESULT SetWaveEndpointRingingLevel([in] DWORD dwVolume, [in] BOOL bSaveToConfiguration)
HRESULT GetStates([in] int iSizeOfArray, [out, size_is(iSizeOfArray)] CLMgrLineStates *piStates)
HRESULT PickupGroupNotificationCall([in] int LineNumber)
HRESULT GetLineCount([out] int *piLineCount)
HRESULT GetLineManagerType([out] SClLineManagerType *pLineManagerType)
HRESULT GetLine([in] int iLineNumber, [out] IClientLine2 **ppIClientLine)
HRESULT SendClientShutDownRequest()
HRESULT GetSelectedLine([out] IClientLine2 **ppIClientLine, [out] int *piLineNumber)
HRESULT SelectLine([in] IClientLine2 *pIClientLine, BOOL bAutoHookOff)
HRESULT IsServerUp()
HRESULT RegisterMessageTarget([in] DWORD hWnd, [in] DWORD dwThreadId)
HRESULT EnableNotificationSounds([in] BOOL bEnable)
HRESULT GetVersion([out] CLMGRVERSIONINFO *pdvi)
HRESULT RecordSoundFile([in] SClDataLocations Location, [in] BSTR sFileName)
HRESULT GetGroupNotificationDetails([out] CLMgrGroupNotificationDetails *pDetails)
HRESULT UnRegisterMessageTarget([in] DWORD hWnd, [in] DWORD dwThreadId)
HRESULT RegisterSecondaryUser([in] BSTR PbxUserName, [in] BSTR NtUserName, [in] BSTR NtPassword, [out] IClUser **ppIClUser, [out] unsigned long *pulUserId)
HRESULT StopRecordSoundFile()
HRESULT GetNamekeyState([in] int iNameKey, [out] CLMgrNameKeyStates *piState)
HRESULT GetTapiLineInfo([in] int iTapiLine, [out] BSTR *psTapiLineName, [out] DWORD *pTapiLineId)
HRESULT GetTapiLineCount([out] int *piTapiLineCount)
HRESULT Init([in] BSTR ServerName, [out] IClPBX **ppIClPbx)
HRESULT ReleaseUser([in] unsigned long ulUserId)
HRESULT GetNamekeyStates([in] int iSizeOfArray, [out, size_is(iSizeOfArray)] CLMgrNameKeyStates *piStates)
Definition CLMgr.idl:1950
HRESULT AnalyticsAddEventText([in] INT32 iEventCategory, [in] INT32 iEventName, [in] BSTR text)
HRESULT AnalyticsAddEvent([in] INT32 iEventCategory, [in] INT32 iEventName)
Definition CLMgrPub.idl:2546
Definition CLMgrPub.idl:1744
Definition CLMgr.idl:1655
HRESULT ContinuePlaySoundFileDxEx()
HRESULT PlaySoundFileDxEx([in] BSTR sFileName, [in] BOOL bPlayLoop, [in] int iLoopInterval, [in] int iPosition, [in] BOOL bPercent, [in] BOOL bPauseImmediately, [in] int iDevice)
HRESULT RewindPlaySoundFileDxEx()
HRESULT SkipPositionPlaySoundFileDxEx([in] int iDelta)
HRESULT SetPositionPlaySoundFileDxEx([in] int iPosition, [in] BOOL bPercent)
HRESULT StopPlaySoundFileDxEx()
HRESULT PausePlaySoundFileDxEx()
HRESULT GetPositionPlaySoundFileDxEx([out] int *piDuration, [out] int *piPosition, [out] int *piPercent)
Definition CLMgr.idl:1718
HRESULT GetTrialMode([out] int *pTrialMode, [out] int *pDaysLeft)
IDispatch ClientConfig
Definition CLMgr.idl:1734
HRESULT FulltextSearchAddInSupported([out] BOOL *bSupported)
HRESULT FulltextSearchInContacts([in] BSTR bstrSearchText, [in] BOOL bEnableSearchInNumbers, [out] IDispatch **ppSearchResultCollection)
Definition CLMgr.idl:1766
HRESULT NeedsCoreAudioApiConfig([out] BOOL *bNeedsConfig)
Definition CLMgr.idl:1778
HRESULT GetNamekeyStateEx([in] int iNameKey, [out] CLMgrNameKeyStates *piState, [out] CLMgrQualifiedEntityID *pEntityID)
HRESULT StopRingingSound()
HRESULT GetNamekeyStatesEx([in] int iSizeOfArray, [out, size_is(iSizeOfArray)] CLMgrNameKeyStates *piStates, [in] int iSizeOfIdArray, [out, size_is(iSizeOfIdArray)] CLMgrQualifiedEntityID *pEntityIDs)
Definition CLMgr.idl:935
HRESULT ReloadPersonalPhonebook()
HRESULT ConvertNumber([in] DWORD Style, [in] BSTR NumberFrom, [out] BSTR *pNumberTo)
HRESULT ResolveNumber([in] BSTR Number, [out] BSTR *pName)
Definition CLMgr.idl:983
HRESULT GetServerFromAutoDetection([out] BSTR *psServer, [out] BSTR *psBackupServer, [out] BOOL *pbAutoDetectionEnabled, [out] BOOL *pbServerAvailable)
HRESULT InitEx([in] BSTR ServerName, [in] BSTR BackupServerName, [out] IClPBX **ppIClPbx)
HRESULT GetLogonInfo([out] BSTR *psServer, [out] BSTR *psUser)
Definition CLMgr.idl:1017
HRESULT GetConferenceLine([out] IClientLine2 **ppIClientLine, [out] int *piLineNumber)
HRESULT ConferenceRunning([out] BOOL *pbConferenceRunning)
HRESULT JoinLineToConference([in] int iLine)
HRESULT CreateConference([in] int iConferenceLine)
HRESULT JoinAllToConference([in] BOOL bCreateConference)
Definition CLMgr.idl:1060
HRESULT SkinSetActionAreaState([in] DWORD dwCommandId, [in] DWORD dwButtonId, [in] DWORD dwActionAreaState)
HRESULT SkinSetInfoDetail([in] DWORD dwDetailIndex, [in] BSTR InfoDetail)
Definition CLMgr.idl:1092
HRESULT CancelCtiPairing()
HRESULT GetCtiPairingState([out] unsigned long *pulState)
HRESULT StartCtiPairing([in] DWORD dwPeerIP)
HRESULT UnRegisterChatMessageReader([in] DWORD dwReaderID)
HRESULT RejectCtiPairing()
HRESULT GetCallbackList([in, out] unsigned long *pMaxCallbackListItems, [out, size_is(*pMaxCallbackListItems), length_is(*pNumReturned)] CLMgrCallbackListItem *pCallbackList, [out] unsigned long *pNumReturned)
HRESULT WantSkinActionAreaStates([out] BOOL *pbWantsActionAreaStates)
HRESULT RegisterUserEx([in] BSTR PbxUserName, [in] BOOL bCtiMaster, [out] IClUser **ppIClUser, [out] unsigned long *pulUserId, [in, out] unsigned long *pMaxUsers, [out, size_is(*pMaxUsers), length_is(*pNumReturned)] BSTR *pszPBXUser, [out] unsigned long *pNumReturned)
HRESULT ReleaseCtiPairing()
HRESULT DeleteCallbackList()
HRESULT RequestCallbackOnBusy([in] BSTR PeerNumber, [in] BSTR PeerName)
HRESULT SendChatMessage([in] CLMgrChatMsg ChatMessage)
HRESULT GetCtiPairing([out] DWORD *pdwOwnIP, [out] DWORD *pdwPeerIP, [out] BSTR *pPeerName)
HRESULT DeleteCallbackListItem([in] unsigned long CallbackRequestId, [in] unsigned long CallbackOnBusyId)
HRESULT AcknowledgeChatMessage([in] CLMgrChatMsgAck ChatMessageAcknowledge)
HRESULT ReadChatMessage([in] DWORD dwReaderID, [out] CLMgrChatMsg *pChatMessage)
HRESULT WantSkinInfoDetails([out] BOOL *pbWantsInfoDetails)
HRESULT SimpleDial([in] BSTR dialstring, [in] int LineNumber)
HRESULT RejectCallbackOnBusyNotification()
HRESULT RegisterChatMessageReader([out] DWORD *dwReaderID)
HRESULT AcceptCtiPairing()
HRESULT PickupCallbackOnBusyNotification([in] int LineNumber)
HRESULT GetCallbackOnBusyNotifyDetails([out] CLMgrCallbackOnBusyNotifyDetails *pDetails)
HRESULT VoicemailRemoteInquiry()
Definition CLMgr.idl:1353
HRESULT GetNotificationCallOnNamekey([in] int iNameKey, [out] CLMgrGroupNotificationDetailsEx *pDetails)
HRESULT PickupGroupNotificationCallEx([in] int LineNumber, [in] unsigned long CallRefNum)
HRESULT GetGroupNotificationDetailsEx([out] CLMgrGroupNotificationDetailsEx *pDetails)
HRESULT PickupNotificationCallFromNamekey([in] int iNameKey, [in] int LineNumber)
Definition CLMgr.idl:1388
HRESULT DecrementVolume()
HRESULT PlaySoundFileDx([in] BSTR sFileName, [in] BOOL bPlayLoop, [in] int iLoopInterval)
HRESULT SetMicAdjustMode([in] BOOL bEnable)
HRESULT SetAudioMode([in] int iAudioMode)
HRESULT SetMicLevel([in] int iVolume)
HRESULT AddTraceModule([in] BSTR sTraceModule, [out] int *piTraceModule)
HRESULT GetAudioMode([out] int *piAudioMode)
HRESULT CheckSoundFileDx([in] BSTR sFileName)
HRESULT UseWaveDevices([in] CLMgrSoundDeviceDescriptionEx *pVoiceDevice, [in] CLMgrSoundDeviceDescriptionEx *pHandsFreeDevice, [in] CLMgrSoundDeviceDescriptionEx *pRingingDevice, [in] BOOL bConfigure, [in] BOOL bPnPEnable)
HRESULT GetVolume([out] int *piVolume)
HRESULT StopPlaySoundFileDx()
HRESULT StartAudioPnP([in] BOOL bForcePnPDevice)
HRESULT IsAudioConfigured([out] BOOL *pbConfigured, [out] BOOL *pbIsPnPDevice, [out] BOOL *pbPnPDevicePresent)
HRESULT GetAvailableWaveDevicesEx([in, out] unsigned long *pMaxDevices, [out, size_is(*pMaxDevices), length_is(*pNumReturned)] CLMgrSoundDeviceDescriptionEx *pSoundDevices, [out] unsigned long *pNumReturned)
HRESULT SetVolume([in] int iVolume)
HRESULT IncrementVolume()
HRESULT GetUsedWaveDevices([out] CLMgrSoundDeviceDescriptionEx *pVoiceDevice, [out] CLMgrSoundDeviceDescriptionEx *pHandsFreeDevice, [out] CLMgrSoundDeviceDescriptionEx *pRingingDevice)
HRESULT TraceLine([in] int iTraceModule, [in] int iTraceLevel, [in] long ulThisPointer, [in] long ulConnectionId, [in] BSTR sTraceLine)
HRESULT GetMicLevel([out] int *piVolume)
HRESULT GetConfigBuffer([in] unsigned long Maxlen, [out, size_is(Maxlen)] unsigned char *pBuf, [out] unsigned long *pLenNeeded)
Definition CLMgr.idl:1614
HRESULT JournalAddInSupported([out] BOOL *bSupported)
HRESULT ShowContact([in] BSTR Number, [in] BSTR Name, [in] BOOL bCreateIfNotExists, [in] BOOL bPopUp)
HRESULT CreateJournalEntry([in] BSTR Subject, [in] BSTR Body, [in] long lDuration, [in] BSTR sCharging, [in] DATE StartDate, [in] BOOL bPopUp)
HRESULT ContactAddInSupported([out] BOOL *bSupported)
Definition CLMgr.idl:799
HRESULT SaveMixerSettings([in] int iReserved)
HRESULT SelectSpeakers([in] BOOL OpenListening, [in] BOOL Handsfree)
HRESULT RestoreMixerSettings([in] int iReserved)
HRESULT GetDefaultWaveDevices([out] CLMgrSoundDeviceDescription *pPlayerDevice, [out] CLMgrSoundDeviceDescription *pRecorderDevice)
HRESULT GetSelectedSpeakers([out] BOOL *OpenListening, [out] BOOL *Handsfree)
HRESULT SetLineCount([in] int iLineCount)
HRESULT GetAvailableWaveDevices([in, out] unsigned long *pMaxDevices, [out, size_is(*pMaxDevices), length_is(*pNumReturned)] CLMgrSoundDeviceDescription *pSoundDevices, [out] unsigned long *pNumReturned)
Definition CLMgr.idl:1898
HRESULT OpenChatTo([in] INT32 iRemoteSiteId, [in] INT32 iRemoteUserId)
HRESULT CanChatTo([in] INT32 iRemoteSiteId, [in] INT32 iRemoteUserId)
Definition CLMgrPub.idl:1234
Definition CLMgrPub.idl:1275
Definition CLMgrPub.idl:1372
Definition CLMgrPub.idl:1423
Definition CLMgrPub.idl:1538
Definition CLMgrPub.idl:1566
Definition CLMgrPub.idl:1681
Definition CLMgrPub.idl:1714
Definition CLMgrPub.idl:958
Definition CLMgrPub.idl:826
Definition CLMgrPub.idl:858
Definition CLMgrPub.idl:901
Definition CLMgrPub.idl:669
Definition CLMgrPub.idl:2482
Definition CLMgrPub.idl:2454
Definition CLMgr.idl:1853
HRESULT OnSubscribedUserPresenceStateChanged([in] INT32 iUserId, [in] INT32 iSiteId, [in] BSTR bstrUsername, [in] INT32 iStatus, [in] BSTR bstrStatusText)
Definition CLMgr.idl:1805
HRESULT GetStatusNames([out] VARIANT *pvStatusNames, [out] INT32 *piLocaleId)
HRESULT LookupUserEmailAddress([in] BSTR bstrId)
HRESULT GetUserPresenceInfo([in] BSTR bstrId, [out] INT32 *iUserId, [out] INT32 *iSiteId, [out] BSTR *bstrUsername, [out] INT32 *iStatus, [out] BSTR *bstrStatusText)
HRESULT UnsubscribeUserPresence([in] DWORD uiCookie, [in] INT32 iUserId, [in] INT32 iSiteId)
HRESULT UnsubscribeAll([in] DWORD dwCookie)
HRESULT GetOwnEmailAddress([out] BSTR *bstrEmailAddress)
HRESULT SubscribeUserPresence([in] DWORD uiCookie, [in] INT32 iUserId, [in] INT32 iSiteId)
Definition CLMgrPub.idl:4534
Definition CLMgr.idl:1987
HRESULT Item([in] VARIANT index, [out, retval] VARIANT *pVariant)
long Count
IUnknown _NewEnum
Definition CLMgr.idl:1964
BSTR Description
LONG Scope
BSTR FileID
LONG UserID
BSTR Name
BOOL Private
BSTR Culture
DATE LastModificationUTC
LONG Category
BOOL Hidden
BOOL SystemFile
Definition CLMgrPub.idl:4410
Definition CLMgrPub.idl:4436
Definition CLMgrPub.idl:561
Definition CLMgrPub.idl:4668
Definition CLMgrPub.idl:4636
Definition CLMgrPub.idl:4550
Definition CLMgrPub.idl:4594
Definition CLMgrPub.idl:4611
Definition CLMgrPub.idl:4387
Definition CLMgrPub.idl:4322
Definition CLMgrPub.idl:4305
Definition CLMgrPub.idl:4275
Definition CLMgr.idl:1930
HRESULT Item([in] VARIANT index, [out, retval] VARIANT *pVariant)
Definition CLMgr.idl:1913
Definition CLMgrPub.idl:4575
Definition CLMgrPub.idl:4495
Definition CLMgrPub.idl:4511
Definition CLMgr.idl:2703
HRESULT ResumeVideo()
HRESULT SuspendVideo()
HRESULT StopVideo()
HRESULT StartVideo()
VIDEOSESSIONSTATES State
Definition CLMgr.idl:2717
importlib("stdole32.tlb")
Definition CLMgr.idl:373
DWORD dwBuildNumber
Definition CLMgr.idl:376
DWORD dwMinorVersion
Definition CLMgr.idl:375
DWORD dwMajorVersion
Definition CLMgr.idl:374
Definition CLMgr.idl:291
int m_LastCallNumHistoryItems
Definition CLMgr.idl:304
CLMgrCallHistoryItem m_LastCallCallHistoryItems[]
Definition CLMgr.idl:307
int m_LastCallNumHistoryItemsAvailable
Definition CLMgr.idl:305
unsigned long m_LastCallId
Definition CLMgr.idl:302
BOOL m_LastCallIsOutgoing
Definition CLMgr.idl:299
int m_LastCallDiscReason
Definition CLMgr.idl:301
BOOL m_LastCallWasConnected
Definition CLMgr.idl:300
int m_LastCallHistoryItemsArraySize
Definition CLMgr.idl:303
SClTime m_LastCallFinishedTime
Definition CLMgr.idl:298
BSTR m_sLastCallChargingDetails
Definition CLMgr.idl:294
SClTime m_LastCallStartTime
Definition CLMgr.idl:297
BSTR m_sLastCallPeersPbxUserName
Definition CLMgr.idl:295
BSTR m_sLastCallOriginatingExtension
Definition CLMgr.idl:293
BSTR m_sLastCallPeersNumber
Definition CLMgr.idl:296
BSTR m_sLastCallLcrPrefix
Definition CLMgr.idl:292
Definition CLMgr.idl:275
SClTime m_LastCallStartTime
Definition CLMgr.idl:281
BSTR m_sLastCallOriginatingExtension
Definition CLMgr.idl:277
BSTR m_sLastCallLcrPrefix
Definition CLMgr.idl:276
SClTime m_LastCallFinishedTime
Definition CLMgr.idl:282
BSTR m_sLastCallChargingDetails
Definition CLMgr.idl:278
BSTR m_sLastCallPeersPbxUserName
Definition CLMgr.idl:279
BOOL m_LastCallWasConnected
Definition CLMgr.idl:284
int m_LastCallDiscReason
Definition CLMgr.idl:285
BOOL m_LastCallIsOutgoing
Definition CLMgr.idl:283
BSTR m_sLastCallPeersNumber
Definition CLMgr.idl:280
Definition CLMgr.idl:262
SClTime m_LastCallStartTime
Definition CLMgr.idl:268
BSTR m_sLastCallPeersPbxUserName
Definition CLMgr.idl:266
BSTR m_sLastCallPeersNumber
Definition CLMgr.idl:267
BSTR m_sLastCallOriginatingExtension
Definition CLMgr.idl:264
SClTime m_LastCallFinishedTime
Definition CLMgr.idl:269
BSTR m_sLastCallChargingDetails
Definition CLMgr.idl:265
BSTR m_sLastCallLcrPrefix
Definition CLMgr.idl:263
Definition CLMgr.idl:179
BSTR m_PeersName
Definition CLMgr.idl:184
CLMgrCallHistoryItemType m_HistoryItemType
Definition CLMgr.idl:180
SClTime m_Timestamp
Definition CLMgr.idl:181
BSTR m_PeersNumber
Definition CLMgr.idl:183
int m_DiscReason
Definition CLMgr.idl:182
Definition CLMgr.idl:424
SClTime m_Timestamp
Definition CLMgr.idl:427
BOOL m_bCallbackRequested
Definition CLMgr.idl:430
BOOL m_bCallbackOnBusySignaled
Definition CLMgr.idl:433
SPhoneCBState m_CallbackRequestState
Definition CLMgr.idl:431
BOOL m_bCallbackOnBusy
Definition CLMgr.idl:432
BSTR m_sPeersNumber
Definition CLMgr.idl:428
unsigned long m_CallbackRequestId
Definition CLMgr.idl:425
unsigned long m_CallbackOnBusyId
Definition CLMgr.idl:426
BSTR m_sPeersName
Definition CLMgr.idl:429
Definition CLMgr.idl:439
BSTR m_sPeerName
Definition CLMgr.idl:441
BSTR m_sPeerNumber
Definition CLMgr.idl:440
Definition CLMgr.idl:349
BOOL m_bConferencePossible
Definition CLMgr.idl:354
BOOL m_bTransferPossible
Definition CLMgr.idl:352
BOOL m_bOnHoldPossible
Definition CLMgr.idl:357
BOOL m_bDirectCallPossible
Definition CLMgr.idl:355
BOOL m_bSelectLinePossible
Definition CLMgr.idl:351
BOOL m_bHidePhoneNumberPossible
Definition CLMgr.idl:356
BOOL m_bHandSetSupport
Definition CLMgr.idl:350
BOOL m_bForwardCallPossible
Definition CLMgr.idl:353
Definition CLMgr.idl:457
BSTR m_sPeerName
Definition CLMgr.idl:459
DWORD m_dwPeerIpAddress
Definition CLMgr.idl:460
unsigned long m_ulMessageId
Definition CLMgr.idl:458
Definition CLMgr.idl:447
unsigned long m_ulMessageId
Definition CLMgr.idl:448
BSTR m_sPeerName
Definition CLMgr.idl:450
BSTR m_sMessageText
Definition CLMgr.idl:449
DWORD m_dwPeerIpAddress
Definition CLMgr.idl:451
Definition CLMgr.idl:327
unsigned long m_CallRefNum
Definition CLMgr.idl:335
BSTR m_sPeerName
Definition CLMgr.idl:329
BSTR m_sCalledName
Definition CLMgr.idl:331
BSTR m_sRedirectedFromNumber
Definition CLMgr.idl:333
BSTR m_sPeerNumber
Definition CLMgr.idl:328
BSTR m_sRedirectedFromName
Definition CLMgr.idl:334
BOOL m_bCallWasRedirected
Definition CLMgr.idl:332
BSTR m_sCalledExtension
Definition CLMgr.idl:330
Definition CLMgr.idl:314
BSTR m_sCalledExtension
Definition CLMgr.idl:317
BSTR m_sRedirectedFromName
Definition CLMgr.idl:321
BSTR m_sRedirectedFromNumber
Definition CLMgr.idl:320
BSTR m_sCalledName
Definition CLMgr.idl:318
BSTR m_sPeerName
Definition CLMgr.idl:316
BSTR m_sPeerNumber
Definition CLMgr.idl:315
BOOL m_bCallWasRedirected
Definition CLMgr.idl:319
Definition CLMgr.idl:135
BSTR m_sAcknowledgedDialstring
Definition CLMgr.idl:136
int m_iNuberOfConferenceParticipants
Definition CLMgr.idl:154
SClTime m_ConnectionStartTime
Definition CLMgr.idl:156
BSTR m_sBlindCallTransferSourceNumber
Definition CLMgr.idl:151
SClTime m_ConnectionFinishedTime
Definition CLMgr.idl:157
BSTR m_sCalledExtension
Definition CLMgr.idl:140
BSTR m_sBlindCallTransferSourceName
Definition CLMgr.idl:152
BOOL m_bIsGroupCall
Definition CLMgr.idl:144
BSTR m_sRedirectedFromName
Definition CLMgr.idl:149
BSTR m_sChargingDetails
Definition CLMgr.idl:153
DWORD m_dwPeerIpAddress
Definition CLMgr.idl:139
BOOL m_bCallWasRedirected
Definition CLMgr.idl:143
BSTR m_sRedirectedFromNumber
Definition CLMgr.idl:148
BOOL m_bIsBlindCallTransferDestination
Definition CLMgr.idl:150
BOOL m_bIsOutgoing
Definition CLMgr.idl:146
BOOL m_bIsDirectCall
Definition CLMgr.idl:142
BSTR m_sCalledName
Definition CLMgr.idl:141
BSTR m_sPeerNumber
Definition CLMgr.idl:137
int m_DiscReason
Definition CLMgr.idl:155
BSTR m_sPeerName
Definition CLMgr.idl:138
BOOL m_bIsRecording
Definition CLMgr.idl:145
BOOL m_bIsInternalCall
Definition CLMgr.idl:147
Definition CLMgr.idl:190
BSTR m_sBlindCallTransferSourceNumber
Definition CLMgr.idl:206
SClTime m_ConnectionStartTime
Definition CLMgr.idl:211
BSTR m_sBlindCallTransferSourceName
Definition CLMgr.idl:207
BOOL m_bIsInternalCall
Definition CLMgr.idl:202
int m_NumHistoryItemsAvailable
Definition CLMgr.idl:216
BOOL m_bIsOutgoing
Definition CLMgr.idl:201
BOOL m_bIsDirectCall
Definition CLMgr.idl:197
CLMgrCallHistoryItem m_CallHistoryItems[]
Definition CLMgr.idl:218
BSTR m_sAcknowledgedDialstring
Definition CLMgr.idl:191
BSTR m_sRedirectedFromName
Definition CLMgr.idl:204
unsigned long m_CallId
Definition CLMgr.idl:213
int m_iNuberOfConferenceParticipants
Definition CLMgr.idl:209
BSTR m_sPeerNumber
Definition CLMgr.idl:192
BOOL m_bCallWasRedirected
Definition CLMgr.idl:198
BSTR m_sRedirectedFromNumber
Definition CLMgr.idl:203
int m_DiscReason
Definition CLMgr.idl:210
SClTime m_ConnectionFinishedTime
Definition CLMgr.idl:212
BOOL m_bIsRecording
Definition CLMgr.idl:200
BSTR m_sCalledExtension
Definition CLMgr.idl:195
DWORD m_dwPeerIpAddress
Definition CLMgr.idl:194
BSTR m_sCalledName
Definition CLMgr.idl:196
BSTR m_sChargingDetails
Definition CLMgr.idl:208
BOOL m_bIsBlindCallTransferDestination
Definition CLMgr.idl:205
int m_HistoryItemsArraySize
Definition CLMgr.idl:214
BSTR m_sPeerName
Definition CLMgr.idl:193
BOOL m_bIsGroupCall
Definition CLMgr.idl:199
int m_NumHistoryItems
Definition CLMgr.idl:215
Definition CLMgr.idl:225
BOOL m_bIsOutgoing
Definition CLMgr.idl:236
BSTR m_sBlindCallTransferSourceNumber
Definition CLMgr.idl:243
BSTR m_sRedirectedFromNumber
Definition CLMgr.idl:240
int m_NumHistoryItemsAvailable
Definition CLMgr.idl:253
BOOL m_bIsGroupCall
Definition CLMgr.idl:234
BSTR m_sBlindCallTransferSourceName
Definition CLMgr.idl:244
BSTR m_sChargingDetails
Definition CLMgr.idl:245
BOOL m_bIsBlindCallTransferDestination
Definition CLMgr.idl:242
SClTime m_ConnectionStartTime
Definition CLMgr.idl:248
BSTR m_sRedirectedFromName
Definition CLMgr.idl:241
BSTR m_sPeerNumber
Definition CLMgr.idl:227
BOOL m_bIsRecording
Definition CLMgr.idl:235
SClTime m_ConnectionFinishedTime
Definition CLMgr.idl:249
BOOL m_bIsInternalCall
Definition CLMgr.idl:237
int m_NumHistoryItems
Definition CLMgr.idl:252
BSTR m_sPeerName
Definition CLMgr.idl:228
unsigned long m_CallId
Definition CLMgr.idl:250
BSTR m_sCalledExtension
Definition CLMgr.idl:230
BOOL m_bCallWasRedirected
Definition CLMgr.idl:233
int m_DiscReason
Definition CLMgr.idl:247
BOOL m_bCallbackOnBusyRequested
Definition CLMgr.idl:239
BSTR m_sCalledName
Definition CLMgr.idl:231
int m_iNuberOfConferenceParticipants
Definition CLMgr.idl:246
CLMgrCallHistoryItem m_CallHistoryItems[]
Definition CLMgr.idl:255
int m_HistoryItemsArraySize
Definition CLMgr.idl:251
BOOL m_bCallbackRequested
Definition CLMgr.idl:238
BSTR m_sAcknowledgedDialstring
Definition CLMgr.idl:226
DWORD m_dwPeerIpAddress
Definition CLMgr.idl:229
BOOL m_bIsDirectCall
Definition CLMgr.idl:232
Definition CLMgr.idl:109
int m_iNuberOfConferenceParticipants
Definition CLMgr.idl:126
int m_DiscReason
Definition CLMgr.idl:127
BSTR m_sBlindCallTransferSourceNumber
Definition CLMgr.idl:123
BSTR m_sRedirectedFromNumber
Definition CLMgr.idl:120
SClTime m_ConnectionStartTime
Definition CLMgr.idl:128
BOOL m_bCallWasRedirected
Definition CLMgr.idl:117
BSTR m_sCalledName
Definition CLMgr.idl:115
BOOL m_bIsBlindCallTransferDestination
Definition CLMgr.idl:122
BOOL m_bIsRecording
Definition CLMgr.idl:119
SClTime m_ConnectionFinishedTime
Definition CLMgr.idl:129
BSTR m_sBlindCallTransferSourceName
Definition CLMgr.idl:124
BSTR m_sPeerName
Definition CLMgr.idl:112
BSTR m_sPeerNumber
Definition CLMgr.idl:111
BSTR m_sChargingDetails
Definition CLMgr.idl:125
BSTR m_sCalledExtension
Definition CLMgr.idl:114
BSTR m_sRedirectedFromName
Definition CLMgr.idl:121
BSTR m_sAcknowledgedDialstring
Definition CLMgr.idl:110
DWORD m_dwPeerIpAddress
Definition CLMgr.idl:113
BOOL m_bIsDirectCall
Definition CLMgr.idl:116
BOOL m_bIsGroupCall
Definition CLMgr.idl:118
Definition CLMgr.idl:88
SClTime m_ConnectionFinishedTime
Definition CLMgr.idl:103
BSTR m_sAcknowledgedDialstring
Definition CLMgr.idl:89
BSTR m_sRedirectedFromName
Definition CLMgr.idl:98
BOOL m_bIsDirectCall
Definition CLMgr.idl:94
BSTR m_sChargingDetails
Definition CLMgr.idl:99
BSTR m_sCalledName
Definition CLMgr.idl:93
BSTR m_sPeerNumber
Definition CLMgr.idl:90
BSTR m_sRedirectedFromNumber
Definition CLMgr.idl:97
BSTR m_sPeerName
Definition CLMgr.idl:91
BOOL m_bIsGroupCall
Definition CLMgr.idl:96
BSTR m_sCalledExtension
Definition CLMgr.idl:92
int m_DiscReason
Definition CLMgr.idl:101
int m_iNuberOfConferenceParticipants
Definition CLMgr.idl:100
SClTime m_ConnectionStartTime
Definition CLMgr.idl:102
BOOL m_bCallWasRedirected
Definition CLMgr.idl:95
Definition CLMgr.idl:474
int m_iSiteID
Definition CLMgr.idl:476
int m_iEntityID
Definition CLMgr.idl:477
ClMgrEntityType m_eType
Definition CLMgr.idl:475
Definition CLMgr.idl:395
BOOL m_bIsHandset
Definition CLMgr.idl:410
BSTR m_bstrDxAudioRenderer
Definition CLMgr.idl:405
BOOL m_bHookSupportGamePort
Definition CLMgr.idl:416
BSTR m_bstrDeviceIdPlayer
Definition CLMgr.idl:402
BOOL m_bHasRecorder
Definition CLMgr.idl:399
unsigned long m_dwProductId
Definition CLMgr.idl:409
BOOL m_bIsSpeaker
Definition CLMgr.idl:412
BOOL m_bHasMixer
Definition CLMgr.idl:400
BOOL m_bHookSupportComPort
Definition CLMgr.idl:414
BOOL m_bIsWellKnownDevice
Definition CLMgr.idl:418
BOOL m_bIsHeadset
Definition CLMgr.idl:411
BSTR m_bstrsProductId
Definition CLMgr.idl:407
BOOL m_bHasDxAudioRenderer
Definition CLMgr.idl:401
BOOL m_bHookSupportUSB
Definition CLMgr.idl:413
BSTR m_bstrDeviceIdRecorder
Definition CLMgr.idl:403
unsigned long m_dwManufacturerId
Definition CLMgr.idl:408
BOOL m_bHookSupportBluetooth
Definition CLMgr.idl:417
BOOL m_bIsDirectXSoundDevice
Definition CLMgr.idl:397
BOOL m_bHasPlayer
Definition CLMgr.idl:398
BOOL m_iComPort
Definition CLMgr.idl:415
BSTR m_bstrManufacturerId
Definition CLMgr.idl:406
BSTR m_bstrMixerName
Definition CLMgr.idl:404
BSTR m_bstrVisibleDeviceName
Definition CLMgr.idl:396
Definition CLMgr.idl:382
BOOL m_bHasPlayer
Definition CLMgr.idl:384
BSTR m_bstrMixerName
Definition CLMgr.idl:389
BSTR m_bstrDeviceIdPlayer
Definition CLMgr.idl:387
BSTR m_bstrDeviceIdRecorder
Definition CLMgr.idl:388
BSTR m_bstrVisibleDeviceName
Definition CLMgr.idl:383
BOOL m_bHasMixer
Definition CLMgr.idl:386
BOOL m_bHasRecorder
Definition CLMgr.idl:385