IOCTL_INTERNAL_USBFN_SET_PIPE_STATE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ni-usbfnioctl-ioctl_internal_usbfn_set_pipe_state)

IOCTL_INTERNAL_USBFN_SET_PIPE_STATE IOCTL

Description

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

Parameters

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.

Input/output buffer

Input/output buffer length

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.