return CheckErrorStatus (IdeDev);\r
}\r
/**\r
- Send ATA Ext command into device with NON_DATA protocol\r
+ Send ATA Ext command into device with NON_DATA protocol.\r
\r
@param IdeDev Standard IDE device private data structure\r
@param AtaCommand The ATA command to be sent\r
\r
@param IdeBlkIoDevice Indicates the calling context.\r
@param MediaId The media id that the read request is for.\r
- @param LBA The starting logical block address to read from on the device.\r
+ @param Lba The starting logical block address to read from on the device.\r
@param BufferSize The size of the Buffer in bytes. This must be a multiple\r
of the intrinsic block size of the device.\r
\r
AtaBlkIoReadBlocks (\r
IN IDE_BLK_IO_DEV *IdeBlkIoDevice,\r
IN UINT32 MediaId,\r
- IN EFI_LBA LBA,\r
+ IN EFI_LBA Lba,\r
IN UINTN BufferSize,\r
OUT VOID *Buffer\r
)\r
return EFI_NO_MEDIA;\r
}\r
\r
- if (LBA > Media->LastBlock) {\r
+ if (Lba > Media->LastBlock) {\r
return EFI_INVALID_PARAMETER;\r
}\r
\r
- if ((LBA + NumberOfBlocks - 1) > Media->LastBlock) {\r
+ if ((Lba + NumberOfBlocks - 1) > Media->LastBlock) {\r
return EFI_INVALID_PARAMETER;\r
}\r
\r
// For ATA/ATAPI-6 device(capcity > 120GB), use ATA-6 read block mechanism\r
//\r
if (IdeBlkIoDevice->UdmaMode.Valid) {\r
- Status = AtaUdmaReadExt (IdeBlkIoDevice, Buffer, LBA, NumberOfBlocks);\r
+ Status = AtaUdmaReadExt (IdeBlkIoDevice, Buffer, Lba, NumberOfBlocks);\r
} else {\r
- Status = AtaReadSectorsExt (IdeBlkIoDevice, Buffer, LBA, NumberOfBlocks);\r
+ Status = AtaReadSectorsExt (IdeBlkIoDevice, Buffer, Lba, NumberOfBlocks);\r
}\r
} else {\r
//\r
// For ATA-3 compatible device, use ATA-3 read block mechanism\r
//\r
if (IdeBlkIoDevice->UdmaMode.Valid) {\r
- Status = AtaUdmaRead (IdeBlkIoDevice, Buffer, LBA, NumberOfBlocks);\r
+ Status = AtaUdmaRead (IdeBlkIoDevice, Buffer, Lba, NumberOfBlocks);\r
} else {\r
- Status = AtaReadSectors (IdeBlkIoDevice, Buffer, LBA, NumberOfBlocks);\r
+ Status = AtaReadSectors (IdeBlkIoDevice, Buffer, Lba, NumberOfBlocks);\r
}\r
}\r
\r
\r
@param IdeBlkIoDevice Indicates the calling context.\r
@param MediaId The media id that the write request is for.\r
- @param LBA The starting logical block address to write onto the device.\r
+ @param Lba The starting logical block address to write onto the device.\r
@param BufferSize The size of the Buffer in bytes. This must be a multiple\r
of the intrinsic block size of the device.\r
@param Buffer A pointer to the source buffer for the data.The caller\r
AtaBlkIoWriteBlocks (\r
IN IDE_BLK_IO_DEV *IdeBlkIoDevice,\r
IN UINT32 MediaId,\r
- IN EFI_LBA LBA,\r
+ IN EFI_LBA Lba,\r
IN UINTN BufferSize,\r
OUT VOID *Buffer\r
)\r
return EFI_BAD_BUFFER_SIZE;\r
}\r
\r
- if (LBA > Media->LastBlock) {\r
+ if (Lba > Media->LastBlock) {\r
return EFI_INVALID_PARAMETER;\r
}\r
\r
- if ((LBA + NumberOfBlocks - 1) > Media->LastBlock) {\r
+ if ((Lba + NumberOfBlocks - 1) > Media->LastBlock) {\r
return EFI_INVALID_PARAMETER;\r
}\r
\r
// For ATA/ATAPI-6 device(capcity > 120GB), use ATA-6 write block mechanism\r
//\r
if (IdeBlkIoDevice->UdmaMode.Valid) {\r
- Status = AtaUdmaWriteExt (IdeBlkIoDevice, Buffer, LBA, NumberOfBlocks);\r
+ Status = AtaUdmaWriteExt (IdeBlkIoDevice, Buffer, Lba, NumberOfBlocks);\r
} else {\r
- Status = AtaWriteSectorsExt (IdeBlkIoDevice, Buffer, LBA, NumberOfBlocks);\r
+ Status = AtaWriteSectorsExt (IdeBlkIoDevice, Buffer, Lba, NumberOfBlocks);\r
}\r
} else {\r
//\r
// For ATA-3 compatible device, use ATA-3 write block mechanism\r
//\r
if (IdeBlkIoDevice->UdmaMode.Valid) {\r
- Status = AtaUdmaWrite (IdeBlkIoDevice, Buffer, LBA, NumberOfBlocks);\r
+ Status = AtaUdmaWrite (IdeBlkIoDevice, Buffer, Lba, NumberOfBlocks);\r
} else {\r
- Status = AtaWriteSectors (IdeBlkIoDevice, Buffer, LBA, NumberOfBlocks);\r
+ Status = AtaWriteSectors (IdeBlkIoDevice, Buffer, Lba, NumberOfBlocks);\r
}\r
}\r
\r
}\r
\r
//\r
- // Select device (bit4), set LBA mode(bit6) (use 0xe0 for compatibility)\r
+ // Select device (bit4), set Lba mode(bit6) (use 0xe0 for compatibility)\r
//\r
IDEWritePortB (\r
IdeDev->PciIo,\r
\r
@param IdeBlkIoDevice Indicates the calling context.\r
@param MediaId The media id that the read request is for.\r
- @param LBA The starting logical block address to read from on the device.\r
+ @param Lba The starting logical block address to read from on the device.\r
@param BufferSize The size of the Buffer in bytes. This must be a multiple\r
of the intrinsic block size of the device.\r
@param Buffer A pointer to the destination buffer for the data. The caller\r
AtapiBlkIoReadBlocks (\r
IN IDE_BLK_IO_DEV *IdeBlkIoDevice,\r
IN UINT32 MediaId,\r
- IN EFI_LBA LBA,\r
+ IN EFI_LBA Lba,\r
IN UINTN BufferSize,\r
OUT VOID *Buffer\r
)\r
return EFI_BAD_BUFFER_SIZE;\r
}\r
\r
- if (LBA > Media->LastBlock) {\r
+ if (Lba > Media->LastBlock) {\r
return EFI_INVALID_PARAMETER;\r
}\r
\r
- if ((LBA + NumberOfBlocks - 1) > Media->LastBlock) {\r
+ if ((Lba + NumberOfBlocks - 1) > Media->LastBlock) {\r
return EFI_INVALID_PARAMETER;\r
}\r
\r
// if all the parameters are valid, then perform read sectors command\r
// to transfer data from device to host.\r
//\r
- Status = AtapiReadSectors (IdeBlkIoDevice, Buffer, LBA, NumberOfBlocks);\r
+ Status = AtapiReadSectors (IdeBlkIoDevice, Buffer, Lba, NumberOfBlocks);\r
if (EFI_ERROR (Status)) {\r
return EFI_DEVICE_ERROR;\r
}\r
//\r
// save the first block to the cache for performance\r
//\r
- if (LBA == 0 && (IdeBlkIoDevice->Cache == NULL)) {\r
+ if (Lba == 0 && (IdeBlkIoDevice->Cache == NULL)) {\r
IdeBlkIoDevice->Cache = AllocatePool (BlockSize);\r
if (IdeBlkIoDevice->Cache!= NULL) {\r
CopyMem ((UINT8 *) IdeBlkIoDevice->Cache, (UINT8 *) Buffer, BlockSize);\r
\r
@param IdeBlkIoDevice Indicates the calling context.\r
@param MediaId The media id that the write request is for.\r
- @param LBA The starting logical block address to write onto the device.\r
+ @param Lba The starting logical block address to write onto the device.\r
@param BufferSize The size of the Buffer in bytes. This must be a multiple\r
of the intrinsic block size of the device.\r
@param Buffer A pointer to the source buffer for the data. The caller\r
AtapiBlkIoWriteBlocks (\r
IN IDE_BLK_IO_DEV *IdeBlkIoDevice,\r
IN UINT32 MediaId,\r
- IN EFI_LBA LBA,\r
+ IN EFI_LBA Lba,\r
IN UINTN BufferSize,\r
OUT VOID *Buffer\r
)\r
EFI_STATUS Status;\r
BOOLEAN MediaChange;\r
\r
- if (LBA == 0 && IdeBlkIoDevice->Cache != NULL) {\r
+ if (Lba == 0 && IdeBlkIoDevice->Cache != NULL) {\r
gBS->FreePool (IdeBlkIoDevice->Cache);\r
IdeBlkIoDevice->Cache = NULL;\r
}\r
Status = AtapiDetectMedia (IdeBlkIoDevice, &MediaChange);\r
if (EFI_ERROR (Status)) {\r
\r
- if (LBA == 0 && IdeBlkIoDevice->Cache != NULL) {\r
+ if (Lba == 0 && IdeBlkIoDevice->Cache != NULL) {\r
gBS->FreePool (IdeBlkIoDevice->Cache);\r
IdeBlkIoDevice->Cache = NULL;\r
}\r
\r
if (!(Media->MediaPresent)) {\r
\r
- if (LBA == 0 && IdeBlkIoDevice->Cache != NULL) {\r
+ if (Lba == 0 && IdeBlkIoDevice->Cache != NULL) {\r
gBS->FreePool (IdeBlkIoDevice->Cache);\r
IdeBlkIoDevice->Cache = NULL;\r
}\r
\r
if ((MediaId != Media->MediaId) || MediaChange) {\r
\r
- if (LBA == 0 && IdeBlkIoDevice->Cache != NULL) {\r
+ if (Lba == 0 && IdeBlkIoDevice->Cache != NULL) {\r
gBS->FreePool (IdeBlkIoDevice->Cache);\r
IdeBlkIoDevice->Cache = NULL;\r
}\r
return EFI_BAD_BUFFER_SIZE;\r
}\r
\r
- if (LBA > Media->LastBlock) {\r
+ if (Lba > Media->LastBlock) {\r
return EFI_INVALID_PARAMETER;\r
}\r
\r
- if ((LBA + NumberOfBlocks - 1) > Media->LastBlock) {\r
+ if ((Lba + NumberOfBlocks - 1) > Media->LastBlock) {\r
return EFI_INVALID_PARAMETER;\r
}\r
\r
// if all the parameters are valid,\r
// then perform write sectors command to transfer data from host to device.\r
//\r
- Status = AtapiWriteSectors (IdeBlkIoDevice, Buffer, LBA, NumberOfBlocks);\r
+ Status = AtapiWriteSectors (IdeBlkIoDevice, Buffer, Lba, NumberOfBlocks);\r
if (EFI_ERROR (Status)) {\r
return EFI_DEVICE_ERROR;\r
}\r
UINT8 MasterDeviceType = INVALID_DEVICE_TYPE;\r
\r
/**\r
- read a one-byte data from a IDE port\r
+ read a one-byte data from a IDE port.\r
\r
@param PciIo The PCI IO protocol instance\r
@param Port the IDE Port number \r
\r
- return the one-byte data read from IDE port\r
+ @return the one-byte data read from IDE port\r
**/\r
UINT8\r
IDEReadPortB (\r
}\r
\r
/**\r
- write a 1-byte data to a specific IDE port\r
+ write a 1-byte data to a specific IDE port.\r
\r
@param PciIo PCI IO protocol instance\r
@param Port The IDE port to be writen\r
}\r
\r
/**\r
- write a 1-word data to a specific IDE port\r
+ write a 1-word data to a specific IDE port.\r
\r
@param PciIo PCI IO protocol instance\r
@param Port The IDE port to be writen\r
\r
@param PciIo Pointer to the EFI_PCI_IO_PROTOCOL instance\r
@param IdeRegsBaseAddr Pointer to IDE_REGISTERS_BASE_ADDR to\r
- receive IDE IO port registers' base addresses\r
+ receive IDE IO port registers' base addresses\r
+ \r
+ @retval EFI_UNSUPPORTED return this value when the BARs is not IO type\r
+ @retval EFI_SUCCESS Get the Base address successfully\r
+ @retval other read the pci configureation data error\r
\r
**/\r
EFI_STATUS\r
succeess.\r
\r
@param IdeDev The BLK_IO private data which specifies the IDE device\r
+ \r
+ @retval EFI_INVALID_PARAMETER return this value when the channel is invalid\r
+ @retval EFI_SUCCESS reassign the IDE IO resource successfully\r
+ @retval other get the IDE current base address effor\r
\r
**/\r
EFI_STATUS\r
Detect if there is disk attached to this port\r
\r
@param IdeDev The BLK_IO private data which specifies the IDE device.\r
+ \r
+ @retval EFI_NOT_FOUND The device or channel is not found\r
+ @retval EFI_SUCCESS The device is found\r
\r
**/\r
EFI_STATUS\r
\r
@param IdeDev pointer pointing to IDE_BLK_IO_DEV data structure, used to record \r
all the information of the IDE device.\r
- @paramTimeoutInMilliSeconds used to designate the timeout for the DRQ ready.\r
+ @param TimeoutInMilliSeconds used to designate the timeout for the DRQ ready.\r
\r
@retval EFI_SUCCESS BSY bit clear within the time out.\r
@retval EFI_TIMEOUT BSY bit not clear within the time out.\r
return ;\r
}\r
/**\r
- Set the calculated Best transfer mode to a detected device\r
+ Set the calculated Best transfer mode to a detected device.\r
\r
@param IdeDev Standard IDE device private data structure\r
@param TransferMode The device transfer mode to be set\r
return Status;\r
}\r
/**\r
- Set drive parameters for devices not support PACKETS command\r
+ Set drive parameters for devices not support PACKETS command.\r
\r
@param IdeDev Standard IDE device private data structure\r
@param DriveParameters The device parameters to be set into the disk\r
}\r
\r
/**\r
- Enable Interrupt on IDE controller\r
+ Enable Interrupt on IDE controller.\r
\r
@param IdeDev Standard IDE device private data structure\r
\r
// Helper functions Prototype\r
//\r
/**\r
- read a one-byte data from a IDE port\r
+ read a one-byte data from a IDE port.\r
\r
@param PciIo The PCI IO protocol instance\r
@param Port the IDE Port number \r
/**\r
Reads multiple words of data from the IDE data port.\r
Call the IO abstraction once to do the complete read,\r
- not one word at a time\r
+ not one word at a time.\r
\r
@param PciIo Pointer to the EFI_PCI_IO instance\r
@param Port IO port to read\r
);\r
\r
/**\r
- write a 1-byte data to a specific IDE port\r
+ write a 1-byte data to a specific IDE port.\r
\r
@param PciIo PCI IO protocol instance\r
@param Port The IDE port to be writen\r
);\r
\r
/**\r
- write a 1-word data to a specific IDE port\r
+ write a 1-word data to a specific IDE port.\r
\r
@param PciIo PCI IO protocol instance\r
@param Port The IDE port to be writen\r
/**\r
Write multiple words of data to the IDE data port.\r
Call the IO abstraction once to do the complete read,\r
- not one word at a time\r
+ not one word at a time.\r
\r
@param PciIo Pointer to the EFI_PCI_IO instance\r
@param Port IO port to read\r
\r
@param PciIo Pointer to the EFI_PCI_IO_PROTOCOL instance\r
@param IdeRegsBaseAddr Pointer to IDE_REGISTERS_BASE_ADDR to\r
- receive IDE IO port registers' base addresses\r
+ receive IDE IO port registers' base addresses\r
+ \r
+ @retval EFI_UNSUPPORTED return this value when the BARs is not IO type\r
+ @retval EFI_SUCCESS Get the Base address successfully\r
+ @retval other read the pci configureation data error\r
\r
**/\r
EFI_STATUS\r
\r
@param IdeDev The BLK_IO private data which specifies the IDE device\r
\r
+ @retval EFI_INVALID_PARAMETER return this value when the channel is invalid\r
+ @retval EFI_SUCCESS reassign the IDE IO resource successfully\r
+ @retval other get the IDE current base address effor\r
+\r
**/\r
EFI_STATUS\r
ReassignIdeResources (\r
);\r
\r
/**\r
- Detect if there is disk attached to this port\r
+ Detect if there is disk attached to this port.\r
\r
@param IdeDev The BLK_IO private data which specifies the IDE device.\r
+ \r
+ @retval EFI_NOT_FOUND The device or channel is not found\r
+ @retval EFI_SUCCESS The device is found\r
\r
**/\r
EFI_STATUS\r
\r
@param IdeDev pointer pointing to IDE_BLK_IO_DEV data structure, used to record \r
all the information of the IDE device.\r
- @paramTimeoutInMilliSeconds used to designate the timeout for the DRQ ready.\r
+ @param TimeoutInMilliSeconds used to designate the timeout for the DRQ ready.\r
\r
@retval EFI_SUCCESS BSY bit clear within the time out.\r
@retval EFI_TIMEOUT BSY bit not clear within the time out.\r
\r
@param IdeBlkIoDevice Indicates the calling context.\r
@param MediaId The media id that the read request is for.\r
- @param LBA The starting logical block address to read from on the device.\r
+ @param Lba The starting logical block address to read from on the device.\r
@param BufferSize The size of the Buffer in bytes. This must be a multiple\r
of the intrinsic block size of the device.\r
\r
\r
@param IdeBlkIoDevice Indicates the calling context.\r
@param MediaId The media id that the write request is for.\r
- @param LBA The starting logical block address to write onto the device.\r
+ @param Lba The starting logical block address to write onto the device.\r
@param BufferSize The size of the Buffer in bytes. This must be a multiple\r
of the intrinsic block size of the device.\r
@param Buffer A pointer to the source buffer for the data.The caller\r
\r
@param IdeBlkIoDevice Indicates the calling context.\r
@param MediaId The media id that the read request is for.\r
- @param LBA The starting logical block address to read from on the device.\r
+ @param Lba The starting logical block address to read from on the device.\r
@param BufferSize The size of the Buffer in bytes. This must be a multiple\r
of the intrinsic block size of the device.\r
@param Buffer A pointer to the destination buffer for the data. The caller\r
\r
@param IdeBlkIoDevice Indicates the calling context.\r
@param MediaId The media id that the write request is for.\r
- @param LBA The starting logical block address to write onto the device.\r
+ @param Lba The starting logical block address to write onto the device.\r
@param BufferSize The size of the Buffer in bytes. This must be a multiple\r
of the intrinsic block size of the device.\r
@param Buffer A pointer to the source buffer for the data. The caller\r
IN ATA_TRANSFER_MODE *TransferMode\r
);\r
/**\r
- Send ATA command into device with NON_DATA protocol\r
+ Send ATA command into device with NON_DATA protocol.\r
\r
@param IdeDev Standard IDE device private data structure\r
@param AtaCommand The ATA command to be sent\r
);\r
\r
/**\r
- Send ATA Ext command into device with NON_DATA protocol\r
+ Send ATA Ext command into device with NON_DATA protocol.\r
\r
@param IdeDev Standard IDE device private data structure\r
@param AtaCommand The ATA command to be sent\r
@param Device The value in Device register\r
@param Feature The value in Feature register\r
@param SectorCount The value in SectorCount register\r
- @param LbaAddress The LBA address in 48-bit mode\r
+ @param LbaAddress The Lba address in 48-bit mode\r
\r
@retval EFI_SUCCESS Reading succeed\r
@retval EFI_ABORTED Command failed\r
);\r
\r
/**\r
- Set drive parameters for devices not support PACKETS command\r
+ Set drive parameters for devices not support PACKETS command.\r
\r
@param IdeDev Standard IDE device private data structure\r
@param DriveParameters The device parameters to be set into the disk\r
\r
@param This Block IO protocol instance pointer.\r
@param MediaId The media ID of the device\r
- @param LBA Starting LBA address to read data\r
+ @param Lba Starting LBA address to read data\r
@param BufferSize The size of data to be read\r
@param Buffer Caller supplied buffer to save data\r
\r
IDEBlkIoReadBlocks (\r
IN EFI_BLOCK_IO_PROTOCOL *This,\r
IN UINT32 MediaId,\r
- IN EFI_LBA LBA,\r
+ IN EFI_LBA Lba,\r
IN UINTN BufferSize,\r
OUT VOID *Buffer\r
)\r
Status = AtaBlkIoReadBlocks (\r
IdeBlkIoDevice,\r
MediaId,\r
- LBA,\r
+ Lba,\r
BufferSize,\r
Buffer\r
);\r
Status = AtapiBlkIoReadBlocks (\r
IdeBlkIoDevice,\r
MediaId,\r
- LBA,\r
+ Lba,\r
BufferSize,\r
Buffer\r
);\r
}\r
\r
/**\r
- Write data to block io device\r
+ Write data to block io device.\r
\r
@param This Protocol instance pointer.\r
@param MediaId The media ID of the device\r
- @param LBA Starting LBA address to write data\r
+ @param Lba Starting LBA address to write data\r
@param BufferSize The size of data to be written\r
@param Buffer Caller supplied buffer to save data\r
\r
IDEBlkIoWriteBlocks (\r
IN EFI_BLOCK_IO_PROTOCOL *This,\r
IN UINT32 MediaId,\r
- IN EFI_LBA LBA,\r
+ IN EFI_LBA Lba,\r
IN UINTN BufferSize,\r
IN VOID *Buffer\r
)\r
Status = AtaBlkIoWriteBlocks (\r
IdeBlkIoDevice,\r
MediaId,\r
- LBA,\r
+ Lba,\r
BufferSize,\r
Buffer\r
);\r
Status = AtapiBlkIoWriteBlocks (\r
IdeBlkIoDevice,\r
MediaId,\r
- LBA,\r
+ Lba,\r
BufferSize,\r
Buffer\r
);\r
Return the results of the Inquiry command to a drive in InquiryData.\r
Data format of Inquiry data is defined by the Interface GUID.\r
\r
- @param This Protocol instance pointer.\r
- @param InquiryData Results of Inquiry command to device\r
+ @param This Protocol Instance pointer.\r
+ @param InquiryData Results of Inquiry command to device\r
@param InquiryDataSize Size of InquiryData in bytes.\r
\r
- @retval EFI_SUCCESS InquiryData valid\r
- @retval EFI_NOT_FOUND Device does not support this data class\r
- @retval EFI_DEVICE_ERROR Error reading InquiryData from device\r
+ @retval EFI_SUCCESS InquiryData valid\r
+ @retval EFI_NOT_FOUND Device does not support this data class\r
+ @retval EFI_DEVICE_ERROR Error reading InquiryData from device\r
@retval EFI_BUFFER_TOO_SMALL IntquiryDataSize not big enough\r
\r
**/\r
);\r
\r
/**\r
- Read data from a block IO device\r
+ Read data from a block IO device.\r
\r
@param This Block IO protocol instance pointer.\r
@param MediaId The media ID of the device\r
- @param LBA Starting LBA address to read data\r
+ @param Lba Starting LBA address to read data\r
@param BufferSize The size of data to be read\r
@param Buffer Caller supplied buffer to save data\r
\r
\r
@param This Protocol instance pointer.\r
@param MediaId The media ID of the device\r
- @param LBA Starting LBA address to write data\r
+ @param Lba Starting LBA address to write data\r
@param BufferSize The size of data to be written\r
@param Buffer Caller supplied buffer to save data\r
\r
Return the results of the Inquiry command to a drive in InquiryData.\r
Data format of Inquiry data is defined by the Interface GUID.\r
\r
- @param This Protocol instance pointer.\r
- @param InquiryData Results of Inquiry command to device\r
+ @param This Protocol instance pointer.\r
+ @param InquiryData Results of Inquiry command to device\r
@param InquiryDataSize Size of InquiryData in bytes.\r
\r
- @retval EFI_SUCCESS InquiryData valid\r
- @retval EFI_NOT_FOUND Device does not support this data class\r
- @retval EFI_DEVICE_ERROR Error reading InquiryData from device\r
- @retval EFI_BUFFER_TOO_SMALL IntquiryDataSize not big enough\r
+ @retval EFI_SUCCESS InquiryData valid\r
+ @retval EFI_NOT_FOUND Device does not support this data class\r
+ @retval EFI_DEVICE_ERROR Error reading InquiryData from device\r
+ @retval EFI_BUFFER_TOO_SMALL InquiryDataSize not big enough\r
\r
**/\r
EFI_STATUS\r
IDEDiskInfoInquiry (\r
IN EFI_DISK_INFO_PROTOCOL *This,\r
IN OUT VOID *InquiryData,\r
- IN OUT UINT32 *IntquiryDataSize\r
+ IN OUT UINT32 *InquiryDataSize\r
);\r
\r
/**\r