UdecxUsbEndpointInitSetCallbacks function (udecxusbendpoint.h)

Sets pointers to UDE client driver-implemented callback functions in the initialization parameters of the simple endpoint to create.

Syntax

void UdecxUsbEndpointInitSetCallbacks(
       PUDECXUSBENDPOINT_INIT        UdecxUsbEndpointInit,
  [in] PUDECX_USB_ENDPOINT_CALLBACKS EndpointCallbacks
);

Parameters

UdecxUsbEndpointInit

A pointer to an UDECXUSBENDPOINT_INIT structure that the client driver retrieved in the previous call to UdecxUsbSimpleEndpointInitAllocate.

[in] EndpointCallbacks

A pointer to UDECX_USB_ENDPOINT_CALLBACKS that contains function pointers to event callback functions implemented by the UDE client driver.

Return value

None

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)
Library Udecxstub.lib
IRQL PASSIVE_LEVEL

See also

Architecture: USB Device Emulation (UDE)

UdecxUsbEndpointCreate

Write a UDE client driver