LINEAGENTACTIVITYLIST structure (tapi.h)

The LINEAGENTACTIVITYLIST structure describes a list of ACD agent activities. This structure can contain an array of LINEAGENTACTIVITYENTRY structures. The lineGetAgentActivityList function returns the LINEAGENTACTIVITYLIST structure.

Syntax

typedef struct lineagentactivitylist_tag {
  DWORD dwTotalSize;
  DWORD dwNeededSize;
  DWORD dwUsedSize;
  DWORD dwNumEntries;
  DWORD dwListSize;
  DWORD dwListOffset;
} LINEAGENTACTIVITYLIST, *LPLINEAGENTACTIVITYLIST;

Members

dwTotalSize

Total size allocated to this data structure, in bytes.

dwNeededSize

Size needed to hold all the information requested, in bytes.

dwUsedSize

Size of the portion of this data structure that contains useful information, in bytes.

dwNumEntries

Number of LINEAGENTACTIVITYENTRY structures that appear in the List array. The value is 0 if no agent activity codes are available.

dwListSize

Size of the activity list array, in bytes.

dwListOffset

Offset from the beginning of the structure to an array of LINEAGENTACTIVITYENTRY structures indicating information about activity that could be specified for the current logged-in agent. This is dwNumEntries times SIZEOF(LINEAGENTACTIVITYENTRY). The size of the array is specified by dwListSize.

Requirements

Requirement Value
Header tapi.h

See also

LINEAGENTACTIVITYENTRY

lineGetAgentActivityList

lineSetAgentActivity