Platform SDK: TAPI

lineGetGroupList

The lineGetGroupList function returns a list of ACD groups available on the ACD system. It generates a LINE_PROXYREQUEST message to be sent to a registered proxy function handler, referencing a LINEPROXYREQUEST structure of type LINEPROXYREQUEST_GETGROUPLIST.

LONG lineGetGroupList(             
  HLINE hLine,                     
  LPLINEAGENTGROUPLIST lpGroupList 
);

Parameters

hLine
A handle to the line device.
lpGroupList
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 available ACD groups. Prior to calling the lineGetGroupList function, the application should set the dwTotalSize member of this structure to indicate the amount of memory available to TAPI for returning information.

Return Values

Returns a request identifier if the asynchronous operation starts; otherwise, the function returns one of the following error values:

LINEERR_INVALLINEHANDLE
LINEERR_INVALPARAM
LINEERR_NOMEM
LINEERR_OPERATIONFAILED
LINEERR_OPERATIONUNAVAIL
LINEERR_RESOURCEUNAVAIL
LINEERR_UNINITIALIZED

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Version: Requires TAPI 2.2 or later.
  Header: Declared in Tapi.h.
  Library: Use Tapi32.lib.
  Unicode: Implemented as Unicode and ANSI versions on Windows 2000.

See Also

About TAPI 3.0 Call Center Controls, LINEAGENTGROUPLIST, LINEPROXYREQUEST, LINE_PROXYREQUEST