UDECX_USB_DEVICE_STATE_CHANGE_CALLBACKS structure (udecxusbdevice.h)
Initialise une structure de UDECX_USB_DEVICE_STATE_CHANGE_CALLBACKS avec des pointeurs vers des fonctions de rappel implémentées par un client UDE pour un périphérique USB virtuel.
Syntaxe
typedef struct _UDECX_USB_DEVICE_STATE_CHANGE_CALLBACKS {
ULONG Size;
PFN_UDECX_USB_DEVICE_D0_ENTRY EvtUsbDeviceLinkPowerEntry;
PFN_UDECX_USB_DEVICE_D0_EXIT EvtUsbDeviceLinkPowerExit;
PFN_UDECX_USB_DEVICE_SET_FUNCTION_SUSPEND_AND_WAKE EvtUsbDeviceSetFunctionSuspendAndWake;
PFN_UDECX_USB_DEVICE_POST_ENUMERATION_RESET EvtUsbDeviceReset;
PFN_UDECX_USB_DEVICE_DEFAULT_ENDPOINT_ADD EvtUsbDeviceDefaultEndpointAdd;
PFN_UDECX_USB_DEVICE_ENDPOINT_ADD EvtUsbDeviceEndpointAdd;
PFN_UDECX_USB_DEVICE_ENDPOINTS_CONFIGURE EvtUsbDeviceEndpointsConfigure;
} UDECX_USB_DEVICE_STATE_CHANGE_CALLBACKS, *PUDECX_USB_DEVICE_STATE_CHANGE_CALLBACKS;
Membres
Size
La taille de cette structure.
EvtUsbDeviceLinkPowerEntry
Pointeur vers une fonction de rappel EVT_UDECX_USB_DEVICE_D0_ENTRY implémentée par un pilote client UDE.
EvtUsbDeviceLinkPowerExit
Pointeur vers une fonction de rappel EVT_UDECX_USB_DEVICE_D0_EXIT implémentée par un pilote client UDE.
EvtUsbDeviceSetFunctionSuspendAndWake
EvtUsbDeviceReset
EvtUsbDeviceDefaultEndpointAdd
Pointeur vers une fonction de rappel EVT_UDECX_USB_DEVICE_DEFAULT_ENDPOINT_ADD implémentée par un pilote client UDE.
EvtUsbDeviceEndpointAdd
Pointeur vers une fonctionde rappel E VT_UDECX_USB_DEVICE_ENDPOINT_ADD implémentée par un pilote client UDE.
EvtUsbDeviceEndpointsConfigure
Pointeur vers une fonction de rappel EVT_UDECX_USB_DEVICE_ENDPOINTS_CONFIGURE implémentée par un pilote client UDE.
Configuration requise
Condition requise | Valeur |
---|---|
En-tête | udecxusbdevice.h (include Udecx.h) |
Voir aussi
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour