Platform SDK: TAPI

LINE_PROXYSTATUS

The LINE_QUEUESTATUS message is sent when the available proxies change on a line that the application currently has open.

TAPISRV generates this message during a lineOpen function using LINEPROXYSTATUS_OPEN and LINEPROXYSTATUS_ALLOPENFORACD or a lineClose function using LINEPROXYSTATUS_CLOSE (all LINEPROXYSTATUS_ Constants).

LINE_PROXYSTATUS
dwDevice = (DWORD) hLine;
dwCallbackInstance = (DWORD) dwInstanceData;
dwParam1 = (DWORD) QueueID;
dwParam2 = (DWORD) QueueStatus;
dwParam3 = (DWORD) 0;

Parameters

dwDevice
The application's handle to the line device. This relates to the agent handler.
dwCallbackInstance
The callback instance supplied when opening the line.
dwParam1
Specifies the queue status that has changed. Can be one or more of the LINEPROXYSTATUS_ constants.
dwParam2
If dwParam1 is set to LINEPROXYSTATUS_OPEN or LINEPROXYSTATUS_CLOSE, dwParam2 indicates the related proxy request type, which is one of the following:

LINEPROXYREQUEST_SETAGENTGROUP LINEPROXYREQUEST_SETAGENTSTATE LINEPROXYREQUEST_SETAGENTACTIVITY LINEPROXYREQUEST_GETAGENTCAPS LINEPROXYREQUEST_GETAGENTSTATUS LINEPROXYREQUEST_AGENTSPECIFIC LINEPROXYREQUEST_GETAGENTACTIVITYLIST LINEPROXYREQUEST_GETAGENTGROUPLIST LINEPROXYREQUEST_CREATEAGENT LINEPROXYREQUEST_SETAGENTMEASUREMENTPERIOD LINEPROXYREQUEST_GETAGENTINFO LINEPROXYREQUEST_CREATEAGENTSESSION LINEPROXYREQUEST_GETAGENTSESSIONLIST LINEPROXYREQUEST_SETAGENTSESSIONSTATE LINEPROXYREQUEST_GETAGENTSESSIONINFO LINEPROXYREQUEST_GETQUEUELIST LINEPROXYREQUEST_SETQUEUEMEASUREMENTPERIOD LINEPROXYREQUEST_GETQUEUEINFO LINEPROXYREQUEST_GETGROUPLIST LINEPROXYREQUEST_SETAGENTSTATEEX

Otherwise, dwParam2 is set to zero.

dwParam3
Reserved. 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, lineOpen, lineClose, LINE_PROXYREQUEST, LINEPROXYREQUEST_ Constants