_USBD_STREAM_INFORMATION structure

The USBD_STREAM_INFORMATION structure stores information about a stream associated with a bulk endpoint.

Syntax

typedef struct _USBD_STREAM_INFORMATION {
  USBD_PIPE_HANDLE PipeHandle;
  ULONG            StreamID;
  ULONG            MaximumTransferSize;
  ULONG            PipeFlags;
} USBD_STREAM_INFORMATION, *PUSBD_STREAM_INFORMATION;

Members

MaximumTransferSize

Maximum transfer size (in bytes) that a client driver can send in a single URB for an I/O transfer to the stream.

PipeFlags

Reserved. Do not use.

PipeHandle

An opaque handle to the stream.

StreamID

Stream identifier. The open-static streams request obtains stream identifiers that are assigned by the USB driver stack.

Remarks

A client driver allocates an array of USBD_STREAM_INFORMATION structures and sends it in an open-streams request (URB_FUNCTION_OPEN_STATIC_STREAMS). Upon completion, the USB driver stack retrieves stream information and populates each USBD_STREAM_INFORMATION structure with stream information. The stream identifiers returned by the request are sequential and start at 1.

Requirements

   
Windows version Windows 8 Windows 8
Header usb.h

See Also

URB

_URB_OPEN_STATIC_STREAMS

USB Structures

How to Open and Close Static Streams in a USB Bulk Endpoint

_URB_HEADER

Send comments about this topic to Microsoft