Condividi tramite


EVT_UCX_ENDPOINT_STATIC_STREAMS_ENABLE funzione di callback (ucxendpoint.h)

Implementazione del driver client che UCX chiama per abilitare i flussi statici.

Sintassi

EVT_UCX_ENDPOINT_STATIC_STREAMS_ENABLE EvtUcxEndpointStaticStreamsEnable;

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

Parametri

[in] UcxEndpoint

Handle per un oggetto UCXENDPOINT che rappresenta l'endpoint.

[in] UcxStaticStreams

Handle per un oggetto UCX che rappresenta i flussi statici.

[in] Request

Contiene l'ELEMENTO FRAMEWORK per l'URB_FUNCTION_OPEN_STATIC_STREAMS.

Valore restituito

Nessuno

Osservazioni

Il driver client UCX registra questa funzione di callback con l'estensione del controller host USB (UCX) chiamando il metodo UcxEndpointCreate.

Il driver client restituisce lo stato di completamento in Request e nella USBD_STATUS nell'intestazione ODBC. Il driver può completare WDFREQUEST in modo asincrono.

Esempi

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);
}

Fabbisogno

Requisito Valore
piattaforma di destinazione Finestre
versione minima di KMDF 1.0
versione minima di UMDF 2.0
intestazione ucxendpoint.h (include Ucxclass.h, Ucxendpoint.h)
IRQL DISPATCH_LEVEL