Export (0) Print
Expand All
URB
Expand Minimize

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

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.

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.

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

Minimum support

Windows 8

Header

Usb.h

See also

URB
_URB_HEADER
_URB_OPEN_STATIC_STREAMS
How to Open and Close Static Streams in a USB Bulk Endpoint
USB Structures

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft