Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 508
   
5-11
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 8.0(1)
Chapter 5      CTI OS ActiveX Controls
CTI OS ActiveX Control Descriptions
Related Methods
The following methods may be of interest to users of the agent state ActiveX control.
ReasonCodeState
This version of the ReasonCodeState method returns the enumReasonCodeState value.
Syntax
COM:
HRESULT ReasonCodeState([out, retval] enumReasonCodeState *pVal)
VB:
ReasonCodeState()As AgentStateCtlLib.enumReasonCodeState
.NET:
AgentStateCtlLib.enumReasonCodeState   ReasonCodeState()
Parameters
None
Return Value
Return value is enumReasonCodeState (This will return an Integer type)
ReasonCodeState
This version of the ReasonCodeState method sets the enumReasonCodeState value.
Syntax
COM:
HRESULT ReasonCodeState([in] enumReasonCodeState newVal)
VB:
ReasonCodeState = AgentStateCtlLib.enumReasonCodeState
.NET:
ReasonCodeState = AgentStateCtlLib.enumReasonCodeState 
Parameters
None
Return Value
None.