Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

UDECX_WDF_DEVICE_CONFIG structure (udecxwdfdevice.h)

Contains pointers to event callback functions implemented by the UDE client driver for a USB host controller. Initialize this structure by calling UDECX_WDF_DEVICE_CONFIG_INIT.

Syntax

typedef struct _UDECX_WDF_DEVICE_CONFIG {
 ULONG Size;
 USHORT NumberOfUsb20Ports;
 USHORT NumberOfUsb30Ports;
 PFN_UDECX_WDF_DEVICE_QUERY_USB_CAPABILITY EvtUdecxWdfDeviceQueryUsbCapability;
 UDECX_WDF_DEVICE_RESET_ACTION ResetAction;
 PFN_UDECX_WDF_DEVICE_RESET EvtUdecxWdfDeviceReset;
} UDECX_WDF_DEVICE_CONFIG, *PUDECX_WDF_DEVICE_CONFIG;

Members

Size

The size of this structure.

NumberOfUsb20Ports

The number of USB 2.0 ports on the root hub of the emulated host controller.

NumberOfUsb30Ports

The number of USB 3.0 ports on the root hub of the emulated host controller.

EvtUdecxWdfDeviceQueryUsbCapability

A pointer to an EVT_UDECX_WDF_DEVICE_QUERY_USB_CAPABILITY callback function.

ResetAction

A UDECX_WDF_DEVICE_RESET_ACTION-type value that indicates the reset action: each attached device or the host controller.

EvtUdecxWdfDeviceReset

A pointer to an EVT_UDECX_WDF_DEVICE_RESET callback function.

Requirements

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

See also

UDECX_WDF_DEVICE_CONFIG_INIT

UdecxWdfDeviceAddUsbDeviceEmulation


Feedback

Was this page helpful?

Additional resources