function sets the agent groups into which the agent is logged into on a
| HLINE hLine,
| DWORD dwAddressID,
| LPLINEAGENTGROUPLIST lpAgentGroupList
Handle of the line device.
Identifier of the address for which the agent information is to be changed.
Pointer to a LINEAGENTGROUPLIST
structure identifying the groups into which the current agent is to be logged
in on the address. If the pointer is NULL or the number of groups in the
indicated structure is 0, then the agent is logged out of any ACD groups into which
the agent is then logged in.
Note that the "Name" fields in the LINEAGENTGROUPENTRY
items in the list are ignored for purposes of this function; the control of
the logged-in groups is based on the group ID values only.
Returns a positive request identifier if the asynchronous operation starts;
otherwise, one of these negative error values:
LINEERR_INVALADDRESSID, LINEERR_INVALADDRESSSTATE, LINEERR_INVALAGENTGROUP,
LINEERR_INVALAGENTID, LINEERR_INVALAGENTSKILL, LINEERR_INVALAGENTSUPERVISOR,
LINEERR_INVALLINEHANDLE, LINEERR_INVALPARAM, LINEERR_INVALPASSWORD,
LINEERR_INVALPOINTER, LINEERR_NOMEM, LINEERR_OPERATIONFAILED, LINEERR_OPERATIONUNAVAIL,
- Software for developers
Software for Android Developers
- More information resources
Unix Manual Pages