The ADU_DEVICE_ID structure is used to return the user's selection from the ShowAduDeviceList dialog.
If the user did not select a device then the structure is filled with hex zeroes.
typedef struct _ADU_DEVICE_ID
{
unsigned short iVendorId;
unsigned short iProductId;
char szSerialNumber[7];
} ADU_DEVICE_ID, *PADU_DEVICE_ID;
Type ADU_DEVICE_ID
iVendorId As Integer
iProductId As Integer
sSerialNumber As String * 7
End Type