// udecxusbdevice.h
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;
View the official Windows Driver Kit DDI referenceNo description available.
Initializes a UDECX_USB_DEVICE_STATE_CHANGE_CALLBACKS structure with pointers to callback functions that are implemented by a UDE client for a virtual USB device.
SizeThe size of this structure.
EvtUsbDeviceLinkPowerEntryA pointer to an EVT_UDECX_USB_DEVICE_D0_ENTRY callback function implemented by a UDE client driver.
EvtUsbDeviceLinkPowerExitA pointer to an EVT_UDECX_USB_DEVICE_D0_EXIT callback function implemented by a UDE client driver.
EvtUsbDeviceSetFunctionSuspendAndWakeEvtUsbDeviceResetEvtUsbDeviceDefaultEndpointAddA pointer to an EVT_UDECX_USB_DEVICE_DEFAULT_ENDPOINT_ADD callback function implemented by a UDE client driver.
EvtUsbDeviceEndpointAddA pointer to an EVT_UDECX_USB_DEVICE_ENDPOINT_ADD callback function implemented by a UDE client driver.
EvtUsbDeviceEndpointsConfigureA pointer to an EVT_UDECX_USB_DEVICE_ENDPOINTS_CONFIGURE callback function implemented by a UDE client driver.
UdecxUsbDeviceInitSetStateChangeCallbacks