// udecxusbdevice.h
EVT_UDECX_USB_DEVICE_DEFAULT_ENDPOINT_ADD EvtUdecxUsbDeviceDefaultEndpointAdd;
NTSTATUS EvtUdecxUsbDeviceDefaultEndpointAdd(
[in] UDECXUSBDEVICE UdecxUsbDevice,
[in] PUDECXUSBENDPOINT_INIT UdecxEndpointInit
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The USB device emulation class extension (UdeCx) invokes this callback function to request the client driver to create the default control endpoint on the virtual USB device.
UdecxUsbDevice [in]A handle to the UDE device object for which the client driver creates the default endpoint. The driver created this object in a previous call to UdecxUsbDeviceCreate.
UdecxEndpointInit [in]A pointer to an UDECXUSBENDPOINT_INIT structure that the client driver retrieved in the previous call to UdecxUsbSimpleEndpointInitAllocate.
If the operation is successful, the callback function must return STATUS_SUCCESS, or another status value for which NT_SUCCESS(status) equals TRUE.
Architecture: USB Device Emulation (UDE)
UdecxUsbSimpleEndpointInitAllocate