Notes
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Contient des pointeurs vers des fonctions de rappel d’événements pour la création du hub racine en appelant UcxRootHubCreate. Initialisez cette structure en appelant UCX_ROOTHUB_CONFIG_INIT fonction d’initialisation (voir Ucxclass.h).
Syntaxe
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;
Membres
Size
Taille en octets de cette structure.
NumberOfPresentedControlUrbCallbacks
Nombre de demandes de contrôle envoyées au point de terminaison par défaut.
EvtRootHubClearHubFeature
Pointeur vers la fonction de rappel EVT_UCX_ROOTHUB_CONTROL_URB.
EvtRootHubClearPortFeature
Pointeur vers la fonction de rappel EVT_UCX_ROOTHUB_CONTROL_URB.
EvtRootHubGetHubStatus
Pointeur vers la fonction de rappel EVT_UCX_ROOTHUB_CONTROL_URB.
EvtRootHubGetPortStatus
Pointeur vers la fonction de rappel EVT_UCX_ROOTHUB_CONTROL_URB.
EvtRootHubSetHubFeature
Pointeur vers la fonction de rappel EVT_UCX_ROOTHUB_CONTROL_URB.
EvtRootHubSetPortFeature
Pointeur vers la fonction de rappel EVT_UCX_ROOTHUB_CONTROL_URB.
EvtRootHubGetPortErrorCount
Pointeur vers la fonction de rappel EVT_UCX_ROOTHUB_CONTROL_URB.
EvtRootHubControlUrb
Pointeur vers la fonction de rappel EVT_UCX_ROOTHUB_CONTROL_URB.
EvtRootHubInterruptTx
Pointeur vers la fonction de rappel EVT_UCX_ROOTHUB_INTERRUPT_TX.
EvtRootHubGetInfo
Pointeur vers la fonction de rappel EVT_UCX_ROOTHUB_GET_INFO.
EvtRootHubGet20PortInfo
Pointeur vers la fonction de rappel EVT_UCX_ROOTHUB_GET_20PORT_INFO.
EvtRootHubGet30PortInfo
Pointeur vers la fonction de rappel EVT_UCX_ROOTHUB_GET_30PORT_INFO.
WdfRequestAttributes
Pointeur vers une structure WDF_OBJECT_ATTRIBUTES qui spécifie les paramètres d’initialisation.
Exigences
Exigence | Valeur |
---|---|
d’en-tête | ucxroothub.h (include Ucxclass.h) |