EVT_UCX_ENDPOINT_STATIC_STREAMS_DISABLE callback function (ucxendpoint.h)

The client driver's implementation that UCX calls to release controller resources for all streams for an endpoint.

Syntax

EVT_UCX_ENDPOINT_STATIC_STREAMS_DISABLE EvtUcxEndpointStaticStreamsDisable;

void EvtUcxEndpointStaticStreamsDisable(
  [in] UCXENDPOINT UcxEndpoint,
  [in] UCXSSTREAMS UcxStaticStreams,
  [in] WDFREQUEST Request
)
{...}

Parameters

[in] UcxEndpoint

A handle to a UCXENDPOINT object that represents the endpoint.

[in] UcxStaticStreams

A handle to a UCX object that represents the static streams.

[in] Request

Contains the URB for the URB_FUNCTION_CLOSE_STATIC_STREAMS.

Return value

None

Remarks

The UCX client driver registers this callback function with the USB host controller extension (UCX) by calling the UcxEndpointCreate method.

The client driver returns completion status in Request and in the USBD_STATUS in the URB header. The driver can complete the WDFREQUEST asynchronously.

Examples

VOID
Endpoint_EvtUcxEndpointStaticStreamsDisable(
    UCXENDPOINT     UcxEndpoint,
    UCXSSTREAMS     UcxStaticStreams,
    WDFREQUEST      Request
)

{
    UNREFERENCED_PARAMETER(UcxEndpoint);
    UNREFERENCED_PARAMETER(UcxStaticStreams);

    DbgTrace(TL_INFO, Endpoint, "Endpoint_EvtUcxEndpointStaticStreamsDisable");

    WdfRequestComplete(Request, STATUS_SUCCESS);
}

Requirements

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