2.2.6.35 LINEQUEUELIST

The LINEQUEUELIST packet describes a list of queues. This packet can contain an array of LINEQUEUEENTRY packets. LINEQUEUELIST is supplied by the server in the field VarData of the completion packet of the GetQueueList request. This packet requires TAPI 3.0 version negotiation.


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): An unsigned 32-bit integer. The total size, in bytes, allocated to this packet.

dwNeededSize (4 bytes): An unsigned 32-bit integer. The size, in bytes, needed to hold all the information requested.

dwUsedSize (4 bytes): An unsigned 32-bit integer. The size, in bytes, of the portion of this packet that contains useful information.

dwNumEntries (4 bytes): An unsigned 32-bit integer. The number of LINEQUEUEENTRY packets that appear in the list array. The value is 0 if no queue is available.

dwListSize (4 bytes): An unsigned 32-bit integer. The size, in bytes, of the agent information array.

dwListOffset (4 bytes): An unsigned 32-bit integer. The offset from the beginning of the packet to an array of the LINEQUEUEENTRY packet that specifies information about agents. The dwListOffset member is dwNumEntries times SIZEOF(LINEQUEUEENTRY). The size of the field MUST be specified bydwListSize.

VarData (variable): An array of the LINEQUEUEENTRY packet that specifies information about agents as specified by dwListOffset.