Bewerken

Delen via


IOCTL_INTERNAL_USBFN_DESCRIPTOR_UPDATE IOCTL (ufxbase.h)

The USB function class extension sends this request to the client driver to update to the endpoint descriptor for the specified endpoint.

Major code

IRP_MJ_INTERNAL_DEVICE_CONTROL

Input buffer

The input buffer points to a USBFNPIPEID that specifies the pipe ID for the endpoint.

Input buffer length

The size of a USBFNPIPEID value.

Output buffer

The output buffer points to a USB_ENDPOINT_DESCRIPTOR structure that describes the endpoint descriptor. To retrieve the structure, the client driver must call WdfRequestRetrieveOutputBuffer.

Output buffer length

The size of a USB_ENDPOINT_DESCRIPTOR structure.

Status block

The client driver shall complete the request with STATUS_SUCCESS if the request is successful. Otherwise, the client driver shall complete the driver with to the appropriate error condition, such as STATUS_INVALID_PARAMETER or STATUS_INSUFFICIENT_RESOURCES.

Remarks

UFX sends this IOCTL to the command queue created for the endpoint by UfxEndpointCreate. The client driver is expected to update the configuration of the endpoint on the controller with the parameters contained in the endpoint descriptor.

Requirements

Requirement Value
Header ufxbase.h