Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The minidriver uses the HW_STREAM_DESCRIPTOR structure to return stream information to the stream class driver.
Syntax
typedef struct _HW_STREAM_DESCRIPTOR {
HW_STREAM_HEADER StreamHeader;
HW_STREAM_INFORMATION StreamInfo;
} HW_STREAM_DESCRIPTOR, *PHW_STREAM_DESCRIPTOR;
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.
Requirements
Requirement | Value |
---|---|
Header | strmini.h (include Strmini.h) |