Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 640
8-27
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
 
Chapter 8      Session Object
Methods
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”).
Syntax
C++:
CCall * GetCurrentCall()
COM:
HRESULT GetCurrentCall(/*[out, retval]*/ ICall ** call)
VB:
GetCurrentCall () As CTIOSCLIENTLib.ICall
Java/.NET: 
Call GetCurrentCall()
Parameters
call
An output parameter (return value in VB, C++, Java, and .NET) containing a 
pointer to a pointer to an ICall that is the currently selected call.
Return Values
COM: Default CTI OS return values. See 
Others: A pointer or reference to a Call that is the current call. This method 
returns NULL if the value requested is not found or if there is an error.
The C++, Java, and .NET versions of this method return NULL if the value 
requested is not found or if there is an error.
GetCurrentSilentMonitor
The GetCurrentSilentMonitor method returns a pointer to the 
SilentMonitorManager object instance that is set as the current manager in the 
session object.