udecxusbendpoint.h header

This header is used by usbref. For more information, see:

Functions

Title Description
UDECX_USB_ENDPOINT_CALLBACKS_INIT Initializes a UDECX_USB_ENDPOINT_CALLBACKS structure before a UdecxUsbEndpointCreate call.
UdecxUsbEndpointCreate Creates a UDE endpoint object.
UdecxUsbEndpointInitFree Release the resources that were allocated by the UdecxUsbSimpleEndpointInitAllocate call.
UdecxUsbEndpointInitSetCallbacks Sets pointers to UDE client driver-implemented callback functions in the initialization parameters of the simple endpoint to create.
UdecxUsbEndpointInitSetEndpointAddress Sets the address of the endpoint in the initialization parameters of the simple endpoint to create.
UdecxUsbEndpointPurgeComplete Completes an asynchronous request for canceling all I/O requests queued to the specified endpoint.
UdecxUsbEndpointSetWdfIoQueue Sets a framework queue object with a UDE endpoint.
UdecxUsbSimpleEndpointInitAllocate Allocates memory for an initialization structure that is used to create a simple endpoint for the specified virtual USB device.

Callback functions

Title Description
EVT_UDECX_USB_ENDPOINT_PURGE The USB device emulation class extension (UdeCx) invokes this callback function to stop queuing I/O requests to the endpoint's queue and cancel unprocessed requests.
EVT_UDECX_USB_ENDPOINT_RESET The USB device emulation class extension (UdeCx) invokes this callback function to reset an endpoint of the virtual USB device.
EVT_UDECX_USB_ENDPOINT_START The USB device emulation class extension (UdeCx) invokes this callback function to start processing I/O requests on the specified endpoint of the virtual USB device.

Structures

Title Description
UDECX_USB_ENDPOINT_CALLBACKS Contains function pointers to endpoint callback functions implemented by the UDE client driver. Initialize this structure by calling UDECX_USB_ENDPOINT_CALLBACKS_INIT.