EVT_UCX_ENDPOINT_STATIC_STREAMS_ENABLE callback function (ucxendpoint.h)

The client driver's implementation that UCX calls to enable the static streams.

Syntax

EVT_UCX_ENDPOINT_STATIC_STREAMS_ENABLE EvtUcxEndpointStaticStreamsEnable;

void EvtUcxEndpointStaticStreamsEnable(
  [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_OPEN_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_EvtUcxEndpointStaticStreamsEnable(
    UCXENDPOINT     UcxEndpoint,
    UCXSSTREAMS     UcxStaticStreams,
    WDFREQUEST      Request
)

{
    UNREFERENCED_PARAMETER(UcxEndpoint);
    UNREFERENCED_PARAMETER(UcxStaticStreams);

    DbgTrace(TL_INFO, Endpoint, "Endpoint_EvtUcxEndpointStaticStreamsEnable");

    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