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 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 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 in Request e nella USBD_STATUS nell'intestazione ODBC. Il driver può completare WDFREQUEST in modo asincrono.
Esempi
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);
}
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 |