Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 640
8-35
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
 
Chapter 8      Session Object
Methods
Syntax
C++:
 
int RequestDesktopSettings(Arguments& args)
COM: 
HRESULT RequestDesktopSettings(/* [in] */ IArguments *args, 
/*[out]*/ int * errorcode)
VB:  
RequestDesktopSettings (args As CTIOSCLIENTLib.IArguments) As Long
Java: 
int RequestDesktopSettings(int desktopType)
.NET: 
CilError RequestDesktopSettings(Arguments rArgs)
Parameters
args
C++, COM, VB, and .NET: Input parameter in the form of a pointer or 
reference to an Arguments array containing one number. This number has a 
keyword of “DesktopType” and an integer value that is either:
  –
eAgentDesktop (0)
  –
eSupervisorDesktop (1)
Java: desktopType
0 for agent
1 for supervisor
errorcode
An output parameter (return parameter in VB) that contains an error code 
from 
 in 
Return Values
Default CTI OS return values. See 
Remarks
A successful RequestDesktopSettings request results in an 
OnGlobalSettingsDownloadConf event. For detailed information about the 
OnGlobalSettingsDownloadConf event, see