// usbfnioctl.h
// CTL_CODE(0x002a, 0x00a, METHOD_IN_DIRECT, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
#define IOCTL_INTERNAL_USBFN_SET_PIPE_STATE 0x002AC029
View the official Windows Driver Kit DDI referenceNo description available.
The class driver sends this request to set the stall state of the specified USB pipe.
IRP_MJ_INTERNAL_DEVICE_CONTROL
A pointer to a USBFNPIPEID type that specifies the pipe ID.
The size of a USBFNPIPEID type.
A pointer to BOOLEAN value that specifies the stall state to set. If TRUE, USB Function Class Extension (UFX) sets the pipe to stall state; FALSE sets to clear state.
The size of a BOOLEAN.
UFX completes the request with STATUS_SUCCESS.
This request must be sent after sending the IOCTL_INTERNAL_USBFN_ACTIVATE_USB_BUS request.
UFX forwards this IOCTL request to the transfer queue created for the endpoint by UfxEndpointCreate.