Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 668
 
12-12
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1)
 
Chapter 12      Helper Classes
Arg Class
The value of the specified type to assign to the Arg.
For COM, this value is of type VARIANT * whose type is one of the types 
listed in 
.
errorcode
An output parameter (return parameter in VB) that contains an error code 
from 
 in 
Return Values
C++
If the method was able to set the value it returns true, otherwise it returns false.
COM, VB
If the method was able to set the value it returns VARIANT_TRUE. Otherwise, 
it returns VARIANT_FALSE.
Java, .NET
This method returns true if the method succeeds, otherwise false.
Table 12-4 Supported Variant Types
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 *
VT_DISPATCH
Pointer to an IArg interface