HW_STREAM_DESCRIPTOR - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// strmini.h

typedef struct _HW_STREAM_DESCRIPTOR {
  HW_STREAM_HEADER      StreamHeader;
  HW_STREAM_INFORMATION StreamInfo;
} HW_STREAM_DESCRIPTOR, *PHW_STREAM_DESCRIPTOR;

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-strmini-_hw_stream_descriptor)

_HW_STREAM_DESCRIPTOR structure

Description

The minidriver uses the HW_STREAM_DESCRIPTOR structure to return stream information to the stream class driver.

Members

StreamHeader

Contains the HW_STREAM_HEADER for the stream descriptor.

StreamInfo

Contains the HW_STREAM_INFORMATION block for the zero stream.

Remarks

The minidriver returns this structure to the class driver in response to a SRB_GET_STREAM_INFO request. The class driver makes this request by calling the minidriver's StrMiniReceiveDevicePacket routine.

The class driver expects HW_STREAM_DESCRIPTOR to be laid out in memory as an HW_STREAM_HEADER followed by an array of HW_STREAM_INFORMATION structures. The array begins at the address of the StreamInfo member. The HW_STREAM_HEADER's NumberOfStreams member indicates the number of entries in the array. The minidriver uses HW_STREAM_HEADER to describe those kernel streaming properties of the driver as a whole, while each HW_STREAM_INFORMATION structure describes each individual stream the device supports.

See also

HW_STREAM_HEADER

HW_STREAM_INFORMATION