Home  /  Autodocs  /  ramdrive.device

NAME

CMD_WRITE/ETD_WRITE - write data to ramdrive.

FUNCTION

These commands transfer data from a supplied buffer to ram.

INPUTS

io_Device
preset by the call to OpenDevice()

io_Unit
preset by the call to OpenDevice()

io_Command
CMD_WRITE or ETD_WRITE

io_Flags
0 or IOF_QUICK

io_Data
pointer to the buffer where the data should be put

io_Length
number of bytes to write.

io_Offset
byte offset from the start of the card describing where to write data to.

RESULT

io_Error
0 for success.

SEE ALSO

CMD_READ, TD_FORMAT