AtaPortCopyMemory function (irb.h)

The AtaPortCopyMemory routine copies data from one location to another.

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 AtaPortCopyMemory(
  [out] PVOID WriteBuffer,
  [in]  PVOID ReadBuffer,
  [in]  ULONG Length
);

Parameters

[out] WriteBuffer

A pointer to the destination buffer.

[in] ReadBuffer

A pointer to the source buffer.

[in] Length

Specifies the number of bytes to transfer from ReadBuffer to WriteBuffer.

Return value

None

Remarks

The miniport driver calls the AtaPortCopyMemory routine to copy data from one system-allocated area to another.

Requirements

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