IOCTL_INTERNAL_USBFN_SET_PIPE_STATE IOCTL (usbfnioctl.h)

The class driver sends this request to set the stall state of the specified USB pipe.

Major code

IRP_MJ_INTERNAL_DEVICE_CONTROL

Input buffer

A pointer to a USBFNPIPEID type that specifies the pipe ID.

Input buffer length

The size of a USBFNPIPEID type.

Output buffer

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.

Output buffer length

The size of a BOOLEAN.

Status block

UFX completes the request with STATUS_SUCCESS.

Remarks

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.

Requirements

Requirement Value
Header usbfnioctl.h