Skip to content

Latest commit

 

History

History
98 lines (71 loc) · 3.06 KB

nf-tapi-linesetagentsessionstate.md

File metadata and controls

98 lines (71 loc) · 3.06 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:tapi.lineSetAgentSessionState
lineSetAgentSessionState function (tapi.h)
The lineSetAgentSessionState function sets the agent session state associated with a particular agent session handle.
_tapi2_linesetagentsessionstate
lineSetAgentSessionState
lineSetAgentSessionState function [TAPI 2.2]
tapi/lineSetAgentSessionState
tapi2.linesetagentsessionstate
tapi2\linesetagentsessionstate.htm
tapi3
284d8411-6ac7-4496-893b-0349057523e8
12/05/2018
_tapi2_linesetagentsessionstate, lineSetAgentSessionState, lineSetAgentSessionState function [TAPI 2.2], tapi/lineSetAgentSessionState, tapi2.linesetagentsessionstate
tapi.h
Windows
Tapi32.lib
Tapi32.dll
Windows
19H1
lineSetAgentSessionState
tapi/lineSetAgentSessionState
c++
APIRef
kbSyntax
DllExport
Tapi32.dll
lineSetAgentSessionState

lineSetAgentSessionState function

-description

The lineSetAgentSessionState function sets the agent session state associated with a particular agent session handle. It generates a LINE_PROXYREQUEST message to be sent to a registered proxy function handler, referencing a LINEPROXYREQUEST structure of type LINEPROXYREQUEST_SETAGENTSESSIONSTATE.

-parameters

-param hLine

Handle to the line device.

-param hAgentSession

Identifier of the agent session whose information is to be changed.

-param dwAgentSessionState

New agent session state. Must be one of the LINEAGENTSESSIONSTATE_ constants or zero to leave the agent session state unchanged and modify only the next state.

-param dwNextAgentSessionState

Next agent session state. Must be one of the LINEAGENTSESSIONSTATE_ constants or zero.

-returns

Returns a request identifier if the asynchronous operation starts; otherwise, the function returns one of the following error values:

LINEERR_INVALAGENTSTATE, LINEERR_INVALLINEHANDLE, LINEERR_INVALPARAM, LINEERR_NOMEM, LINEERR_OPERATIONFAILED, LINEERR_OPERATIONUNAVAIL, LINEERR_RESOURCEUNAVAIL, LINEERR_UNINITIALIZED.

-see-also

About Call Center Controls

LINEAGENTSESSIONSTATE_ constants

LINEPROXYREQUEST

LINE_PROXYREQUEST