EVT_UCX_ENDPOINT_STATIC_STREAMS_DISABLE funzione di callback (ucxendpoint.h)

Implementazione del driver client che UCX chiama per rilasciare le risorse del controller per tutti i flussi per un endpoint.

Sintassi

EVT_UCX_ENDPOINT_STATIC_STREAMS_DISABLE EvtUcxEndpointStaticStreamsDisable;

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

Parametri

[in] UcxEndpoint

Handle a un oggetto UCXENDPOINT che rappresenta l'endpoint.

[in] UcxStaticStreams

Handle a un oggetto UCX che rappresenta i flussi statici.

[in] Request

Contiene l'OGGETTO URB per il URB_FUNCTION_CLOSE_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 nella richiesta e nell'USBD_STATUS nell'intestazione URB. Il driver può completare in modo asincrono WDFREQUEST.

Esempio

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

Requisiti

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