Cisco Cisco Computer Telephony Integration OS 8.5 Developer's Guide
7-5
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1)
Chapter 7 CtiOs Object
Methods
COM, VB:pIArg
An output parameter (return parameter in VB) containing an IArg with the
value of the desired element.
value of the desired element.
.NET: rArg
An output parameter containing the value of the specified element. This
parameter is null if the element is not found.
parameter is null if the element is not found.
Return Value
An Arg reference containing the value of the desired element.
The C++ and Java versions of this method return NULL if an error occurs, such
as the key or element is not found. The .NET version of this method returns true
upon success and false upon error.
as the key or element is not found. The .NET version of this method returns true
upon success and false upon error.
GetLastError (Java and .NET only)
The GetLastError method returns the last error that occurred on the calling thread.
Syntax
Java:
Integer GetLastError()
.NET:
System.Boolean GetLastError(out System.Int32 nLastError)
Parameters
Java: None.
.NET: nLastError
Output parameter that is a 32-bit signed integer that contains the returned
value of the last error.
value of the last error.
Returns
Java:An Integer object containing the error, or null if the object is not found or if
there is an error.
there is an error.