Bewerken

Delen via


UcxEndpointSetWdfIoQueue function (ucxendpoint.h)

Sets a framework queue on the specified endpoint object.

Syntax

void UcxEndpointSetWdfIoQueue(
  [in] UCXENDPOINT Endpoint,
  [in] WDFQUEUE    WdfQueue
);

Parameters

[in] Endpoint

A handle to the endpoint object. The client driver retrieved the handle in a previous call to UcxEndpointCreate.

[in] WdfQueue

A handle to the framework queue object to set on the endpoint.

Return value

None

Remarks

This routine can only get called from EVT_UCX_USBDEVICE_ENDPOINT_ADD and EVT_UCX_USBDEVICE_DEFAULT_ENDPOINT_ADD callback functions. The client driver must call this routine only once for each endpoint.

For a code example, see EVT_UCX_USBDEVICE_ENDPOINT_ADD.

Requirements

Requirement Value
Minimum supported client Windows 10
Target Platform Windows
Minimum KMDF version 1.0
Minimum UMDF version 2.0
Header ucxendpoint.h (include Ucxclass.h, Ucxendpoint.h)

See also

UcxEndpointCreate