AtaPortWritePortBufferUchar function (irb.h)

The AtaPortWritePortBufferUchar routine transfers the indicated number of unsigned bytes from a buffer to the HBA.

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.
 

Syntax

void AtaPortWritePortBufferUchar(
  [in] PUCHAR Port,
  [in] PUCHAR Buffer,
  [in] ULONG  Count
);

Parameters

[in] Port

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.

[in] Buffer

A pointer to the source buffer.

[in] Count

Specifies the number of UCHAR values to write to the HBA.

Return value

None

Requirements

Requirement Value
Target Platform Desktop
Header irb.h (include Ata.h, Irb.h)
Library Ataport.lib; Pciidex.lib

See also

AtaPortGetDeviceBase

AtaPortWritePortBufferUlong

AtaPortWritePortBufferUshort