- \r
- /* VendorID and ProductID are fixed-length non-null terminated strings - need to terminate them before displaying */\r
- char VendorID[9];\r
- char ProductID[17];\r
- \r
- memcpy(&VendorID, &InquiryData.VendorID, 8);\r
- memcpy(&ProductID, &InquiryData.ProductID, 16);\r
- VendorID[8] = 0x00;\r
- ProductID[16] = 0x00;\r