PIPE_TYPE enumeration (usbscan.h)

The PIPE_TYPE data type is used as input to the DeviceIoControl function, if the I/O control code is IOCTL_CANCEL_IO or IOCTL_RESET_PIPE. An interrupt pipe, a bulk IN pipe, and a bulk OUT pipe are associated with each device handle supplied to DeviceIoControl. The specified PIPE_TYPE value indicates on which of these pipes the operation should be performed, as indicated in the following table.

Syntax

typedef enum {
  EVENT_PIPE,
  READ_DATA_PIPE,
  WRITE_DATA_PIPE,
  ALL_PIPE
} PIPE_TYPE;

Constants

 
EVENT_PIPE
The operation should be performed on the interrupt pipe.
READ_DATA_PIPE
The operation should be performed on the bulk IN pipe.
WRITE_DATA_PIPE
The operation should be performed on the bulk OUT pipe.
ALL_PIPE
The operation should be performed on all transfer pipes (not just the pipes associated with the device handle supplied to DeviceIoControl).

Requirements

Requirement Value
Header usbscan.h (include Usbscan.h)