Bewerken

Delen via


UDECX_USB_DEVICE_STATE_CHANGE_CALLBACKS structure (udecxusbdevice.h)

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.

Syntax

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;

Members

Size

The size of this structure.

EvtUsbDeviceLinkPowerEntry

A pointer to an EVT_UDECX_USB_DEVICE_D0_ENTRY callback function implemented by a UDE client driver.

EvtUsbDeviceLinkPowerExit

A pointer to an EVT_UDECX_USB_DEVICE_D0_EXIT callback function implemented by a UDE client driver.

EvtUsbDeviceSetFunctionSuspendAndWake

EvtUsbDeviceReset

EvtUsbDeviceDefaultEndpointAdd

A pointer to an EVT_UDECX_USB_DEVICE_DEFAULT_ENDPOINT_ADD callback function implemented by a UDE client driver.

EvtUsbDeviceEndpointAdd

A pointer to an EVT_UDECX_USB_DEVICE_ENDPOINT_ADD callback function implemented by a UDE client driver.

EvtUsbDeviceEndpointsConfigure

A pointer to an EVT_UDECX_USB_DEVICE_ENDPOINTS_CONFIGURE callback function implemented by a UDE client driver.

Requirements

Requirement Value
Header udecxusbdevice.h (include Udecx.h)

See also

UdecxUsbDeviceInitSetStateChangeCallbacks