Funzione UcxStaticStreamsSetStreamInfo (ucxsstreams.h)

Imposta le informazioni di flusso per ogni flusso abilitato dal driver client.

Sintassi

void UcxStaticStreamsSetStreamInfo(
  [in] UCXSSTREAMS  StaticStreams,
  [in] PSTREAM_INFO StreamInfo
);

Parametri

[in] StaticStreams

L'handle per l'oggetto Stream statico è stato appena creato.

[in] StreamInfo

Puntatore a una struttura STREAM_INFO contenente informazioni correlate al flusso statico.

Valore restituito

nessuno

Osservazioni

Il driver client deve chiamare questo metodo dall'implementazione del callback dell'evento EVT_UCX_ENDPOINT_STATIC_STREAMS_ADD . Questo metodo deve essere chiamato per il numero di flussi nell'endpoint.

Per un esempio di codice, vedere EVT_UCX_ENDPOINT_STATIC_STREAMS_ADD.

Requisiti

Requisito Valore
Client minimo supportato Windows 10
Piattaforma di destinazione Windows
Versione KMDF minima 1,0
Versione UMDF minima 2,0
Intestazione ucxsstreams.h (include Ucxclass.h, Ucxstreams.h)

Vedi anche

UcxEndpointCreate