EVT_UDECX_USB_ENDPOINT_START callback function (udecxusbendpoint.h)

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.

Syntax

EVT_UDECX_USB_ENDPOINT_START EvtUdecxUsbEndpointStart;

void EvtUdecxUsbEndpointStart(
  [in] UDECXUSBENDPOINT UdecxUsbEndpoint
)
{...}

Parameters

[in] UdecxUsbEndpoint

A handle to a UDE endpoint object that represents the endpoint which can start receiving I/O requests. The client driver retrieved this pointer in the previous call to UdecxUsbEndpointCreate.

Return value

None

Remarks

The client driver registered this callback function in a previous call to UdecxUsbEndpointInitSetCallbacks by supplying a function pointer to its implementation.

After the client driver creates an endpoint, it does not automatically start receiving I/O requests. When UdeCx is ready to forward those request for processing, it invokes the client driver's EVT_UDECX_USB_ENDPOINT_START function and the client driver can begin processing I/O on the endpoint’s queue, and on any queues that receive forwarded I/O for the endpoint. This callback returns the endpoint to a state of processing I/O after an EVT_UDECX_USB_ENDPOINT_PURGE callback has and completed.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Target Platform Windows
Minimum KMDF version 1.15
Header udecxusbendpoint.h (include Udecx.h)
IRQL <=DISPATCH_LEVEL

See also

Architecture: USB Device Emulation (UDE)

EVT_UDECX_USB_ENDPOINT_PURGE

Managing I/O Queues

Write a UDE client driver