UCX_ROOTHUB_CONFIG structure (ucxroothub.h)

Contains pointers to event callback functions for creating the root hub by calling UcxRootHubCreate. Initialize this structure by calling UCX_ROOTHUB_CONFIG_INIT initialization function (see Ucxclass.h).

Syntax

typedef struct _UCX_ROOTHUB_CONFIG {
  ULONG                           Size;
  ULONG                           NumberOfPresentedControlUrbCallbacks;
  PFN_UCX_ROOTHUB_CONTROL_URB     EvtRootHubClearHubFeature;
  PFN_UCX_ROOTHUB_CONTROL_URB     EvtRootHubClearPortFeature;
  PFN_UCX_ROOTHUB_CONTROL_URB     EvtRootHubGetHubStatus;
  PFN_UCX_ROOTHUB_CONTROL_URB     EvtRootHubGetPortStatus;
  PFN_UCX_ROOTHUB_CONTROL_URB     EvtRootHubSetHubFeature;
  PFN_UCX_ROOTHUB_CONTROL_URB     EvtRootHubSetPortFeature;
  PFN_UCX_ROOTHUB_CONTROL_URB     EvtRootHubGetPortErrorCount;
  PFN_UCX_ROOTHUB_CONTROL_URB     EvtRootHubControlUrb;
  PFN_UCX_ROOTHUB_INTERRUPT_TX    EvtRootHubInterruptTx;
  PFN_UCX_ROOTHUB_GET_INFO        EvtRootHubGetInfo;
  PFN_UCX_ROOTHUB_GET_20PORT_INFO EvtRootHubGet20PortInfo;
  PFN_UCX_ROOTHUB_GET_30PORT_INFO EvtRootHubGet30PortInfo;
  WDF_OBJECT_ATTRIBUTES           WdfRequestAttributes;
} UCX_ROOTHUB_CONFIG, *PUCX_ROOTHUB_CONFIG;

Members

Size

The size in bytes of this structure.

NumberOfPresentedControlUrbCallbacks

The number of control requests sent to the default endpoint.

EvtRootHubClearHubFeature

A pointer to the EVT_UCX_ROOTHUB_CONTROL_URB callback function.

EvtRootHubClearPortFeature

A pointer to the EVT_UCX_ROOTHUB_CONTROL_URB callback function.

EvtRootHubGetHubStatus

A pointer to the EVT_UCX_ROOTHUB_CONTROL_URB callback function.

EvtRootHubGetPortStatus

A pointer to the EVT_UCX_ROOTHUB_CONTROL_URB callback function.

EvtRootHubSetHubFeature

A pointer to the EVT_UCX_ROOTHUB_CONTROL_URB callback function.

EvtRootHubSetPortFeature

A pointer to the EVT_UCX_ROOTHUB_CONTROL_URB callback function.

EvtRootHubGetPortErrorCount

A pointer to the EVT_UCX_ROOTHUB_CONTROL_URB callback function.

EvtRootHubControlUrb

A pointer to the EVT_UCX_ROOTHUB_CONTROL_URB callback function.

EvtRootHubInterruptTx

A pointer to the EVT_UCX_ROOTHUB_INTERRUPT_TX callback function.

EvtRootHubGetInfo

A pointer to the EVT_UCX_ROOTHUB_GET_INFO callback function.

EvtRootHubGet20PortInfo

A pointer to the EVT_UCX_ROOTHUB_GET_20PORT_INFO callback function.

EvtRootHubGet30PortInfo

A pointer to the EVT_UCX_ROOTHUB_GET_30PORT_INFO callback function.

WdfRequestAttributes

A pointer to a WDF_OBJECT_ATTRIBUTES structure that specifies initialization parameters.

Requirements

Requirement Value
Header ucxroothub.h (include Ucxclass.h)