Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 668
 
12-9
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1)
 
Chapter 12      Helper Classes
Arg Class
bool GetValueUShort(unsigned short * value);
bool GetValueShort( short * psVallue);
bool GetValueBool( bool * value);
bool GetValueString(string* value);
COM:
HRESULT GetValue(/*[out, retval]*/ VARIANT* value);
VB:
GetValue() as Variant
VB: 
GetValue (key as String, value as Variant) as Boolean
Java:
Integer GetValueIntObj()
Long    GetValueUIntObj()
Short   GetValueShortObj()
Integer GetValueUShortObj()
Boolean GetValueBoolObj()
String  GetValueString()
.NET
:
System.Boolean GetValueInt(out System.Int32 nValue)
.NET:
System.Boolean GetValueUInt(out System.Int64 nValue)
.NET
:
System.Boolean GetValueShort(out System.Int16 nValue)
.NET
:
System.Boolean GetValueUShort(out System.Int32 nValue)
.NET
:
System.Boolean GetValueBool(out System.Boolean bValue)
.NET
:
System.Boolean GetValueString(out System.String strValue)
Parameters
Value
Output parameter of the specified type containing the value of the Arg.
For COM, this value is of type VARIANT * whose type is one of the types 
listed in 
.
Table 12-3 Variant types supported by GetValue (COM)
Variant Type
Standard C++ Type
VT_INT
Int
VT_UINT
Unsigned int
VT_I2
Short
VT_UI2
Unsigned short
VT_BOOL
Bool
VT_BSTR
string, const string and char *