System Trap - Read a sequence of bytes "inband" from a device object.
kern_return_t device_read_async_inband
(mach_port_t device,
mach_port_t queue,
mach_port_t request_id,
dev_mode_t mode,
recnum_t recnum,
io_buf_len_t bytes_wanted);
The device_read_async_inband function enqueues a read operation for a sequence of bytes from a device object. The meaning of recnum as well as the specific operation performed is device dependent. This call differs from device_read_async in that the returned bytes are returned "inband" in the completion IPC message (in io_done_result.qd_inline).
device_read_async_inband returns only invalid parameter errors.
Functions: device_read_async, device_read_overwrite_async, device_write_async, device_write_async_inband, io_done_queue_create.