// irb.h
ULONG AtaPortGetBusData(
[in] PVOID ControllerExtension,
[in] PVOID Buffer,
[in] ULONG ConfigDataOffset,
[in] ULONG BufferLength
);
View the official Windows Driver Kit DDI referenceNo description available.
The AtaPortGetBusData routine retrieves data from the location that is specified by ConfigDataOffset within the device's PCI configuration space.
Note The ATA port driver and ATA miniport driver models may be altered or unavailable in the future. Instead, we recommend using the Storport driver and Storport miniport driver models.
ControllerExtension [in]A pointer to the HBA controller extension.
Buffer [in]A pointer to the buffer where the retrieved data is returned.
ConfigDataOffset [in]Specifies an offset into the device's PCI bus configuration space where the return value is found.
BufferLength [in]Specifies the length, in bytes, of the buffer.
AtaPortGetBusData returns the amount of the retrieved data in bytes.
AtaPortGetBusData retrieves data from the specified offset in the device's PCI bus configuration space and returns it in the buffer that is provided.