AtaPortMoveMemory function (irb.h)

The AtaPortMoveMemory 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 AtaPortMoveMemory(
  [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 AtaPortMoveMemory routine to copy data from one system-allocated area to another.

The location pointed to by ReadBuffer and Length can overlap the range of addresses between WriteBuffer and Length.

Requirements

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