User manual
156
Check if disk drive is write protected.
Returns:
true - disk drive is write protected;
false - disk drive is not write protected;
virtual unsigned _int64 capacity()
Obtain disk drive capacity, return value valid after at once setup(...) calling only.
Returns:
Disk drive capacity in bytes.
virtual void do_read(CHAPI_DISK_DRIVE_POS disk_pos, char * io_buf_p, unsigned int n_of_byte)
Initiate READ operation on disk drive.
disk_pos - disk drive head's position t start read from;
*io_buf_p - buffer to read to (pointer);
n_of_byte - number of bytes to read;
virtual void do_write(CHAPI_DISK_DRIVE_POS disk_pos, char * io_buf_p, unsigned int n_of_byte)
Initiate WRITE operation on disk drive
disk_pos - disk drive head's position to tart write from;
*io_buf_p - buffer to write from (pointer);
n_of_byte - number of bytes to write;
void log_msg(log_message_type_t msg_type, const char *fmt, ...)
Message logging.
msg_type - type of message
*fmt - message










