ScsiPortMoveMemory

VOID
    ScsiPortMoveMemory(

        IN PVOID  WriteBuffer,
        IN PVOID  ReadBuffer,
       
IN ULONG  Length
        );

ScsiPortMoveMemory copies data from one location to another.

Parameters

WriteBuffer
Points to the destination buffer.
ReadBuffer
Points to the source buffer.
Length
Specifies how many bytes to transfer from ReadBuffer to WriteBuffer.

Comments

ScsiPortMoveMemory can be called if a miniport driver needs to copy data from one system-allocated area to another. For example, a miniport might call ScsiPortMoveMemory to copy pertinent SRB values into the driver’s SRB extension.

Each of the given buffer areas must be at least sizeof(Length).