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'oggetto CRITERI per il 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.

Esempio

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

Requisiti

Requisito Valore
Piattaforma di destinazione Windows
Versione KMDF minima 1.0
Versione UMDF minima 2,0
Intestazione ucxendpoint.h (include Ucxclass.h, Ucxendpoint.h)
IRQL DISPATCH_LEVEL