/* This function is used to get inquiry data. Data format of Identify data is defined by the Interface GUID. */
EFI_STATUS EFIAPI UsbDiskInfoInquiry(IN EFI_DISK_INFO_PROTOCOL *This, IN OUT VOID *InquiryData, IN OUT UINT32 *InquiryDataSize)
/* This function is used to get inquiry data. Data format of Identify data is defined by the Interface GUID. */
EFI_STATUS EFIAPI UsbDiskInfoInquiry(IN EFI_DISK_INFO_PROTOCOL *This, IN OUT VOID *InquiryData, IN OUT UINT32 *InquiryDataSize)
{
  EFI_STATUS       Status;
  USB_MASS_DEVICE  *UsbMass;
  UsbMass = USB_MASS_DEVICE_FROM_DISK_INFO (This);
  Status = EFI_BUFFER_TOO_SMALL;
  if (*InquiryDataSize >= sizeof (UsbMass->InquiryData)) {
    Status = EFI_SUCCESS;
    CopyMem (InquiryData, &UsbMass->InquiryData, sizeof (UsbMass->InquiryData));
  }
  *InquiryDataSize = sizeof (UsbMass->InquiryData);
  return Status;
}