Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide
8-17
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
Chapter 8 Session Object
Methods
GetAllAgents
The GetAllAgents method provides an array of all agent objects that the session
knows about.
knows about.
Syntax
C++:
int GetAllAgents(Arguments *args)
COM:
HRESULT GetAllAgents(/*[out, retval]*/ VARIANT *args)
VB:
GetAllAgents (args As VARIANT)
Java:
Arguments GetAllAgents()
Parameters
args
C++ and Java:
A pointer or a reference to an Arguments array where each
member has a string key that is the UniqueObjectID of an agent and a value
that is a reference to a CilRefArg that is a pointer to the agent object.
that is a reference to a CilRefArg that is a pointer to the agent object.
COM and VB:
A pointer to a VARIANT containing a SAFEARRAY of pointers
to IAgents.
errorcode
An output parameter (return parameter in VB) that contains an error code
from
from
in
Return Values
Default CTI OS return values. See
The C++ and Java versions of this method return NULL if the value requested is
not found or if there is an error.
not found or if there is an error.
GetAllCalls
The GetAllCalls method provides a list of all call objects that the session knows
about.
about.