// irb.h
VOID AtaPortReadPortBufferUchar(
[in] PUCHAR Port,
[in] PUCHAR Buffer,
[in] ULONG Count
);
View the official Windows Driver Kit DDI referenceNo description available.
The AtaPortReadPortBufferUchar routine transfers a given number of unsigned byte values from the HBA to a buffer.
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.
Port [in]A pointer to the I/O port. The address value that is assigned to this parameter must be within the range of mapped I/O space addresses that are obtained by a call to AtaPortGetDeviceBase.
Buffer [in]A pointer to the destination buffer.
Count [in]Specifies the number of bytes to read from the HBA.