AtaPortGetBusData function (irb.h)
The AtaPortGetBusData routine retrieves data from the location that is specified by ConfigDataOffset within the device's PCI configuration space.
Syntax
ULONG AtaPortGetBusData(
[in] PVOID ControllerExtension,
[in] PVOID Buffer,
[in] ULONG ConfigDataOffset,
[in] ULONG BufferLength
);
Parameters
[in] ControllerExtension
A pointer to the HBA controller extension.
[in] Buffer
A pointer to the buffer where the retrieved data is returned.
[in] ConfigDataOffset
Specifies an offset into the device's PCI bus configuration space where the return value is found.
[in] BufferLength
Specifies the length, in bytes, of the buffer.
Return value
AtaPortGetBusData returns the amount of the retrieved data in bytes.
Remarks
AtaPortGetBusData retrieves data from the specified offset in the device's PCI bus configuration space and returns it in the buffer that is provided.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | irb.h (include Ata.h, Irb.h) |
Library | Pciidex.lib |