Cisco Cisco Computer Telephony Integration OS 8.5 Developer's Guide

Page of 546
 
12-31
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
 
Chapter 12      Helper Classes
CILRefArg Class (C++ and Java only)
Parameters
None.
Return Values
If successful, it returns the unique objectID of the contained CtiOsObject. If no 
object is contained in the CilRefArg, it returns null.
Remarks
To obtain a unique object ID in C++, use bool GetValueString(string* 
pString).
GetValue
The GetValue method returns the reference to CTI OS object encapsulated in the 
CILRefArg. 
Syntax
CCtiOsObject * GetValue(); 
Parameters
None.
Return Values
If successful, it returns the value in the object. Otherwise, it will throw a 
CCtiosException with iCode set to E_CTIOS_INVALID_ARGUMENT.
SetValue
Sets the reference to the CTI OS Object in the CILRefArg.