Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide
Chapter 8 Session Object
Methods
8-20
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
Return Values
C++:
Default CTI OS return values. See
Others:
A pointer to an Agent that is the current agent.
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.
GetCurrentCall
The GetCurrentCall method returns the call that is currently selected. This method
can be used as a way for controls to communicate between each other which call
is selected and therefore should be acted upon. Use this method rather than
GetValue(“CurrentCall”).
can be used as a way for controls to communicate between each other which call
is selected and therefore should be acted upon. Use this method rather than
GetValue(“CurrentCall”).
Syntax
C++:
CCall GetCurrentCall()
COM:
HRESULT GetCurrentCall(/*[out, retval]*/ ICall ** call)
VB:
GetCurrentCall () As CTIOSCLIENTLib. ICall
Java:
Call GetCurrentCall()
Parameters
call
An output parameter (return value in VB and C++) containing a pointer to a
pointer to an ICall that is the currently selected call.
pointer to an ICall that is the currently selected call.
Return Values
C++:
Default CTI OS return values. See
Others:
A pointer to a Call that is the current call.
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.