INtime SDK Help
UsbCancelXfer
INtime SDK v6 > About INtime > Networking and I/O > USB > USB calls > UsbCancelXfer

Cancel operations that may be outstanding on a pipe.

int32_t UsbCancelXfer( 
int32_t udev,
uint32_t pipe
);

Parameters

udev
Device handle from UsbOpenDevice.
pipe
Value describing the device, endpoint number, type, and transfer direction.

Return Values

USB_ERR_NORMAL_COMPLETION Success. The operation was completed.
USB_ERR_NO_STACK The USB stack is not ready.
USB_ERR_INVAL The device handle is no longer valid.
USB_ERR_BAD_ADDRESS The device is no longer valid.

Requirements

Versions Defined in Include Link to
INtime 5.0 intime/rt/include/usbif3.h usbif3.h usbif3.lib
See Also