UDECX_USB_ENDPOINT_CALLBACKS_INIT function (udecxusbendpoint.h)

Initializes a UDECX_USB_ENDPOINT_CALLBACKS structure before a UdecxUsbEndpointCreate call.

Syntax

void UDECX_USB_ENDPOINT_CALLBACKS_INIT(
  [out] PUDECX_USB_ENDPOINT_CALLBACKS Callbacks,
        PFN_UDECX_USB_ENDPOINT_RESET  EvtUsbEndpointReset
);

Parameters

[out] Callbacks

A pointer to a UDECX_USB_ENDPOINT_CALLBACKS to initialize.

EvtUsbEndpointReset

Pointer to an EVT_UDECX_USB_ENDPOINT_RESET callback function.

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

UdecxUsbEndpointCreate