2.2.6.4 DEVICEINFOLIST


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

dwNumDeviceInfoEntries

dwDeviceInfoSize

dwDeviceInfoOffset

VarData (variable)

...

dwTotalSize (4 bytes): An unsigned 32-bit integer. The total size, in bytes, allocated to the packet.

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

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

dwNumDeviceInfoEntries (4 bytes): An unsigned 32-bit integer. The number of DEVICEINFO packets present in the array denominated by dwDeviceInfoSize and dwDeviceInfoOffset.

dwDeviceInfoSize (4 bytes): An unsigned 32-bit integer. The size, in bytes, of the device info list array in the VarData field.

dwDeviceInfoOffset (4 bytes): An unsigned 32-bit integer. The offset from the beginning of this packet to an array of DEVICEINFO elements that provide the information on each service provider. The size of the array MUST be specified by dwDeviceInfoSize.

VarData (variable): An array of DEVICEINFO elements that provides the information on each service provider, as specified by dwDeviceInfoOffset.