This macro deletes an I/O request item. You can use this macro in place of DeleteItem() to delete the item. If there was any outstanding I/O with this IOReq, it will be aborted first.
Arguments
item
The item number of the I/O request to delete.
Return Value
The macro returns 0 if the I/O request was successfully deleted or an error code (a negative value) if an error occurs.