Platform SDK: TAPI

LINE_AGENTSESSIONSTATUS

The LINE_AGENTSESSIONSTATUS message is sent when the status of an ACD agent session changes on an agent handler for which the application currently has an open line. This message is generated using the lineProxyMessage function.

LINE_AGENTSESSIONSTATUS
dwDevice = (DWORD) hLine;
dwCallbackInstance = (DWORD) dwInstanceData;
dwParam1 = (DWORD) hAgentSession;
dwParam2 = (DWORD) AgentSessionStatus;
dwParam3 = (DWORD) AgentSessionStatusDetail;

Parameters

dwDevice
The application's handle to the line device on which the agent session status has changed.
dwCallbackInstance
The callback instance supplied when opening the line.
dwParam1
A handle of the agent session whose status has changed.
dwParam2
Specifies the agent session status that has changed. Can be one or more of the LINE_AGENTSESSIONSTATUS.
dwParam3
If dwParam2 includes the LINEAGENTSTATUSEX_STATE bit, dwParam3 indicates the new value of the agent state, which is one of the LINEAGENTSTATEEX_ constants.

Otherwise, dwParam3 is set to zero.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Version: Requires TAPI 2.2 or later.
  Header: Declared in Tapi.h.

See Also

About TAPI 3.0 Call Center Controls, lineGetAgentSessionInfo, lineProxyMessage