// udecxusbendpoint.h
PUDECXUSBENDPOINT_INIT UdecxUsbSimpleEndpointInitAllocate(
[in] UDECXUSBDEVICE UdecxUsbDevice
);
View the official Windows Driver Kit DDI referenceNo description available.
Allocates memory for an initialization structure that is used to create a simple endpoint for the specified virtual USB device.
UdecxUsbDevice [in]A handle to UDE device object. The client driver retrieved this pointer in the previous call to UdecxUsbDeviceCreate.
This method returns a pointer to an opaque UDECXUSBENDPOINT_INIT structure that contains the initialization parameters. The structure is allocated by the USB device emulation class extension (UdeCx).
The UDE client driver calls this method to allocate parameters for a simple endpoint that is created by a subsequent call to UdecxUsbEndpointCreate. If the device is not created or the driver is finished using the resources, the driver must free the resources by calling UdecxUsbEndpointInitFree.
The only valid time to create simple endpoints is after creating a UDE device object and before calling UdecxUsbDevicePlugIn on the device.
Architecture: USB Device Emulation (UDE)