EVT_UCX_CONTROLLER_GET_TRANSPORT_CHARACTERISTICS callback function

UCX invokes this callback to retrieve the host controller characteristics.

Syntax

EVT_UCX_CONTROLLER_GET_TRANSPORT_CHARACTERISTICS EvtUcxControllerGetTransportCharacteristics;

NTSTATUS EvtUcxControllerGetTransportCharacteristics(
  UCXCONTROLLER UcxController,
  PUCX_CONTROLLER_TRANSPORT_CHARACTERISTICS UcxControllerTransportCharacteristics
)
{...}

Parameters

UcxController

A handle to the UCX controller that the client driver received in a previous call to the UcxControllerCreate method.

UcxControllerTransportCharacteristics

A pointer to a UCX_CONTROLLER_TRANSPORT_CHARACTERISTICS structure that the client driver for the host controller fills with transport characteristics.

Return Value

If the operation is successful, the callback function must return STATUS_SUCCESS, or another status value for which NT_SUCCESS(status) equals TRUE. Otherwise it must return a status value for which NT_SUCCESS(status) equals FALSE.

Remarks

The UCX client driver registers its implementation with the USB host controller extension (UCX) by calling the UcxControllerCreate method.

This callback function is optional. Whenever transport characteristics change, the client driver is responsible for notifying UCX that one of the characteristics have changed using a new function UcxControllerNotifyTransportCharacteristicsChange.

Requirements

   
Minimum supported client Windows 10, version 1709
Minimum supported server Windows Server 2016
Target Platform Windows
Minimum KMDF version 1.0
Minimum UMDF version 2.0
Header ucxcontroller.h (include Ucxclass.h)
IRQL PASSIVE_LEVEL

See Also

UcxControllerCreate