LINE_AGENTSTATUS  LJTGQU

The LINE_AGENTSTATUS message is sent when the status of an ACD agent changes on a line the application currently has open. The application can invoke lineGetAgentStatusSBIX8N to determine the current status of the agent.

LINE_AGENTSTATUS
dwDevice = (DWORD) hLine;

    dwCallbackInstance = (DWORD) dwInstanceData;

    dwParam1 = (DWORD) dwAddressID;

    dwParam2 = (DWORD) AgentStatus;

    dwParam3 = (DWORD) AgentStatusDetail;

 

Parameters

dwDevice

The application's handle to the line device on which the agent status has changed.

dwCallbackInstance

The callback instance supplied when opening the call's line.

dwParam1

Identifier of the address on the line on which the agent status changed.

dwParam2

Specifies the agent status that has changed; can be a combination of LINEAGENTSTATUS_ constant values:

dwParam3

If dwParam2 includes the LINEAGENTSTATUS_STATE bit, then dwParam3 indicates the new value of dwState member in LINEAGENTSTATUSFP.8N.. Otherwise, this parameter is set to 0.

 

Return Values

No return value.

Remarks

The LINE_AGENTSTATUS message is not sent to applications which support older versions of TAPI.

See Also

LINEAGENTSTATUS, lineGetAgentStatus