// udecxusbdevice.h
VOID UdecxUsbDeviceInitSetEndpointsType(
[in, out] PUDECXUSBDEVICE_INIT UdecxUsbDeviceInit,
[in] UDECX_ENDPOINT_TYPE UdecxEndpointType
);
View the official Windows Driver Kit DDI referenceNo description available.
Indicates the type of endpoint (simple or dynamic) in the initialization parameters that the client driver uses to create the virtual USB device.
UdecxUsbDeviceInit [in, out]A pointer to a WDF-allocated structure that contains initialization parameters for the virtual USB device. The client driver retrieved this pointer in the previous call to UdecxUsbDeviceInitAllocate.
UdecxEndpointType [in]A UDECX_ENDPOINT_TYPE-type value that indicates the type of USB endpoint.
Before creating the virtual USB device, the client driver must indicate the type of endpoint it supports. It can support one of two types (defined in UDECX_ENDPOINT_TYPE):
The UdecxUsbDeviceInit is an opaque structure that contains pointers to callback functions related to endpoints. If the client driver supports dynamic endpoints, then these callback functions must be implemented by the driver:
Before calling this method, the client driver must have set those pointers by calling UdecxUsbDeviceInitSetStateChangeCallbacks.
Architecture: USB Device Emulation (UDE)
EVT_UDECX_USB_DEVICE_ENDPOINTS_CONFIGURE
UdecxUsbDeviceInitSetStateChangeCallbacks