2.2.6.10 LINEAGENTACTIVITYLIST

The LINEAGENTACTIVITYLIST packet describes a list of ACD agent activities. This packet can contain an array of LINEAGENTACTIVITYENTRY packets. LINEAGENTACTIVITYLIST is supplied by the server in the field VarData of the completion packet of the GetAgentActivityList request.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

dwTotalSize

dwNeededSize

dwUsedSize

dwNumEntries

dwListSize

dwListOffset

VarData (variable)

...

dwTotalSize (4 bytes): The total size, in bytes, allocated to this packet.

dwNeededSize (4 bytes): The size, in bytes, needed to hold all the information requested.

dwUsedSize (4 bytes): The size, in bytes, of the portion of this packet that contains useful information.

dwNumEntries (4 bytes): The number of LINEAGENTACTIVITYENTRY packets that appear in the list array. The value is 0 if no agent activity codes are available.

dwListSize (4 bytes): The size, in bytes, of the activity list array.

dwListOffset (4 bytes): The offset from the beginning of the packet to an array of LINEAGENTACTIVITYENTRY packets that indicate information about an activity that could be specified for the current logged-on agent. This MUST be dwNumEntries times SIZEOF(LINEAGENTACTIVITYENTRY). The size of the array MUST be specified by dwListSize.

VarData (variable): An array of LINEAGENTACTIVITYENTRY packets that indicate information about an activity that could be specified for the current logged-on agent, as specified by dwListOffset.