Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 546
 
12-9
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
 
Chapter 12      Helper Classes
Arg Class
The methods taking a pointer to the variable receiving the result will return true, 
if the method was able to get the value, otherwise, false.
COM 
If the method was able to set the variant type of the value (i.e., value->vt) to any 
of the types listed in 
, it returns the value in the appropriate field of the 
variant. Otherwise it returns VT_EMPTY. 
Release
The Release method decrements the reference count for the data item. It is 
necessary to call Release when you are finished with a data item that has had its 
reference count incremented via CreateInstance or AddRef; otherwise, a memory 
leak will result.
Syntax
C++: 
unsigned long Release()
COM:
HRESULT Release()
VB, Java: 
Not used
Parameters
None.
Return Values
COM: Default HRESULT return values. Se
C++: The current reference count after the Release() call.
SetValue 
The SetValue method sets the value in the Arg object.