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 lineGetAgentStatus 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;
No return value.
The LINE_AGENTSTATUS message is not sent to applications that support older versions of TAPI.
Version: Use TAPI version 2.0 and later
Header: Declared in tapi.h.
LINEAGENTSTATUS, lineGetAgentStatus