Bewerken

Delen via


UcxStaticStreamsSetStreamInfo function (ucxsstreams.h)

Sets stream information for each stream enabled by the client driver.

Syntax

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

Parameters

[in] StaticStreams

The handle to the Static Streams object just been created.

[in] StreamInfo

A pointer to a STREAM_INFO structure that contains static stream-related information.

Return value

None

Remarks

The client driver must call this method from its implementation of the EVT_UCX_ENDPOINT_STATIC_STREAMS_ADD event callback . This method must be called for the number of streams on the endpoint.

For a code example, see EVT_UCX_ENDPOINT_STATIC_STREAMS_ADD.

Requirements

Requirement Value
Minimum supported client Windows 10
Target Platform Windows
Minimum KMDF version 1.0
Minimum UMDF version 2.0
Header ucxsstreams.h (include Ucxclass.h, Ucxstreams.h)

See also

UcxEndpointCreate