Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 668
 
12-8
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1)
 
Chapter 12      Helper Classes
Arg Class
Return Values
COM: Default HRESULT return values. See 
Others: Returns the enumerated value that identifies the data type stored in the 
Arg (see 
GetValue Methods
The GetValue method returns the value stored in the object. To extract a specific 
type of data you invoke the method designated for it. For more detail on 
GetValueArray, GetValueInt, and GetValueString, see the corresponding 
methods described in 
Syntax
C++:
int GetValueInt(); 
unsigned int GetValueUInt();
unsigned shortGetValueUShort(); 
short GetValueShort();
string& GetValueString();
bool GetValueBool(); 
bool GetValueInt(int * value);   
bool GetValueUInt(unsigned int * value);
Table 12-2 enumArgTypes
Argument Type
Description
ARG_NOTSET
Argument type not determined
ARG_INT
Signed integer
ARG_UINT
Unsigned integer
ARG_USHORT
2 bytes unsigned integer
ARG_SHORT
2 bytes signed integer
ARG_BOOL
1 byte integer
ARG_STRING
Character string
ARG_ARGARRAY
Variable length Arguments array