|
lineGetAgentGroupList
The lineGetAgentGroupList function obtains the identities of agent groups (combination of queue,
supervisor, skill level, and so on) into which the agent currently logged in on the
workstation is permitted to log into on the automatic call distributor.
LONG lineGetAgentGroupList(
HLINE hLine,
|
| DWORD dwAddressID,
|
| LPLINEAGENTGROUPLIST lpAgentGroupList
|
| );
|
|
Parameters
hLine
A handle to the open line device.
dwAddressID
The address on the open line device whose agent status is to be queried.
lpAgentGroupList
A pointer to a variably sized structure of type LINEAGENTGROUPLIST. Upon successful completion of the request, this structure is filled with a
list of the agent groups into which the agent may log in at this time (which
should include any groups into which the agent is already logged in, if any).
Prior to calling lineGetAgentGroupList, the application should set the dwTotalSize field of this structure to indicate the amount of memory available to TAPI
for returning information.
Return Values
Returns a positive request identifier if the asynchronous operation starts;
otherwise, one of these negative error values:
LINEERR_INVALADDRESSID, LINEERR_INVALAGENTID, LINEERR_INVALLINEHANDLE,
LINEERR_INVALPOINTER, LINEERR_NOMEM, LINEERR_OPERATIONFAILED,
LINEERR_OPERATIONUNAVAIL, LINEERR_RESOURCEUNAVAIL, LINEERR_STRUCTURETOOSMALL, LINEERR_UNINITIALIZED.
See Also
LINEAGENTGROUPLIST
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Programmer's Reference (win32.hlp)
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Unix Manual Pages
|