IOCTL_INTERNAL_USBFN_GET_PIPE_STATE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// usbfnioctl.h

// CTL_CODE(0x002a, 0x009, METHOD_OUT_DIRECT, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
#define IOCTL_INTERNAL_USBFN_GET_PIPE_STATE 0x002AC026
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

IOCTL_INTERNAL_USBFN_GET_PIPE_STATE IOCTL

Description

The class driver sends this request to get the stall state of the specified 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 is set by USB Function Class Extension (UFX) to indicate whether or not the specified pipe is stalled. TRUE, indicates the pipe is in stall state; FALSE indicates the pipe is in 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.

When stalled, the pipe sends STALL transaction packets to the host. See the Universal Serial Bus (USB) specification for more information.

UFX forwards this IOCTL request to the transfer queue created for the endpoint by UfxEndpointCreate.