Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide
12-4
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
C++: The current reference count after the AddRef() call.
Clone
The Clone method allocates a new Arg in memory and copies its key, value, and
type to the new instance. When using the C++ or COM CILs, it is important to
release the object when it is no longer needed.
type to the new instance. When using the C++ or COM CILs, it is important to
release the object when it is no longer needed.
Syntax
C++:
Arg & Clone()
COM:
HRESULT Clone(/*[out, retval]*/ IArg** arg);
VB:
Clone() as CTIOSCLIENTLib.IArg
Java:
Arg Clone()
.NET:
Ojbect Clone()
Output Parameters
arg
Pointer to an IArg instance that is a copy of the object.
Return Values
COM: Default HRESULT return values. See
Others: If successful, will return a reference to a new Arg object. If unsuccessful
in C++ or VB, it will throw a CCtiosException with iCode set to
E_CTIOS_ARGUMENT_ALLOCATION_FAILED. If unsuccessful in Java, it
returns null but does not throw an exception.
in C++ or VB, it will throw a CCtiosException with iCode set to
E_CTIOS_ARGUMENT_ALLOCATION_FAILED. If unsuccessful in Java, it
returns null but does not throw an exception.