UCX_ROOTHUB_CONFIG_INIT_WITH_CONTROL_URB_HANDLER function (ucxroothub.h)

Initializes a UCX_ROOTHUB_CONFIG with pointers to event callback functions implemented by the client driver.

Syntax

void UCX_ROOTHUB_CONFIG_INIT_WITH_CONTROL_URB_HANDLER(
  [out] PUCX_ROOTHUB_CONFIG             Config,
  [in]  PFN_UCX_ROOTHUB_CONTROL_URB     EvtRootHubControlUrb,
  [in]  PFN_UCX_ROOTHUB_INTERRUPT_TX    EvtRootHubInterruptTx,
  [in]  PFN_UCX_ROOTHUB_GET_INFO        EvtRootHubGetInfo,
  [in]  PFN_UCX_ROOTHUB_GET_20PORT_INFO EvtRootHubGet20PortInfo,
  [in]  PFN_UCX_ROOTHUB_GET_30PORT_INFO EvtRootHubGet30PortInfo
);

Parameters

[out] Config

A pointer to a UCX_ROOTHUB_CONFIG structure to initialize.

[in] EvtRootHubControlUrb

A pointer to client driver's implementation of the EVT_UCX_ROOTHUB_CONTROL_URB event callback.

[in] EvtRootHubInterruptTx

A pointer to client driver's implementation of the EVT_UCX_ROOTHUB_INTERRUPT_TX event callback.

[in] EvtRootHubGetInfo

A pointer to client driver's implementation of the EVT_UCX_ROOTHUB_GET_INFO event callback.

[in] EvtRootHubGet20PortInfo

A pointer to client driver's implementation of the EVT_UCX_ROOTHUB_GET_20PORT_INFO event callback.

[in] EvtRootHubGet30PortInfo

A pointer to client driver's implementation of the EVT_UCX_ROOTHUB_GET_30PORT_INFO event callback.

Return value

None

Remarks

This function does not return a value.

Requirements

Requirement Value
Minimum supported client Windows 10
Header ucxroothub.h

See also

UcxRootHubCreate