lineSetAgentGroup
The lineSetAgentGroup
function sets the agent groups into which the agent is logged into on a
particular address.
LONG lineSetAgentGroup(
HLINE hLine, |
|
DWORD dwAddressID, |
|
LPLINEAGENTGROUPLIST lpAgentGroupList |
|
); |
|
Parameters
hLine
Handle of the
line device.
dwAddressID
Identifier of
the address for which the agent information is to be changed.
lpAgentList
Pointer to a LINEAGENTGROUPLIST
Note that the "Name" fields in the LINEAGENTGROUPENTRY
Return Values
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, LINEERR_RESOURCEUNAVAIL,
LINEERR_UNINITIALIZED.
See Also