usbdPipeAbort
Purpose
Aborts previously started device I/O.
Syntax
#include <usbdi.h>
USBstatus usbdPipeAbort(handle, irp)
USBhandle handle;
PIRP irp;
Parameter
Item | Description |
---|---|
handle | Handle of open USB logical device that is returned by the USBD_OPEN_DEVICE fp_ioctl. |
irp | Pointer to the IRP structure used to start the device I/O. |
Description
The USB client driver uses this function to cancel a previously started I/O request. The function returns after the specified IRP is canceled or processed. The function affects only the specified IRP ignoring the status of any IRPs that might be grouped to the specified IRP. The status of the pipe (halted or active) and the pipe’s data synchronization toggle bit is not changed by this function.
Execution Environment
This function might be called from the process environment only.
Return Values
Value | Description |
---|---|
USBD_SUCCESS | Success |
All others | Failure |