Bewerken

Delen via


HW_STREAM_HEADER structure (strmini.h)

The HW_STREAM_HEADER structure describes the kernel streaming semantics supported by the minidriver as a whole, as part of a HW_STREAM_DESCRIPTOR structure.

Syntax

typedef struct _HW_STREAM_HEADER {
  ULONG             NumberOfStreams;
  ULONG             SizeOfHwStreamInformation;
  ULONG             NumDevPropArrayEntries;
  PKSPROPERTY_SET   DevicePropertiesArray;
  ULONG             NumDevEventArrayEntries;
  PKSEVENT_SET      DeviceEventsArray;
  PKSTOPOLOGY       Topology;
  PHW_EVENT_ROUTINE DeviceEventRoutine;
  LONG              NumDevMethodArrayEntries;
  PKSMETHOD_SET     DeviceMethodsArray;
  ULONG             Reserved[2];
} HW_STREAM_HEADER, *PHW_STREAM_HEADER;

Members

NumberOfStreams

The number of HW_STREAM_INFORMATION structures that follow this header.

SizeOfHwStreamInformation

The size, in bytes, of the HW_STREAM_INFORMATION structure.

NumDevPropArrayEntries

The number of entries in the array pointed to by DevicePropertiesArray.

DevicePropertiesArray

Pointer to the beginning of the array of property sets that the minidriver as a whole supports. (Property sets supported by individual streams can be found in the StreamPropertiesArray member of the stream's HW_STREAM_INFORMATION structure.)

NumDevEventArrayEntries

The number of entries in the array pointed to by DeviceEventsArray.

DeviceEventsArray

Pointer to the beginning of the array of event sets supported by the minidriver.

Topology

Pointer to the KSTOPOLOGY structure that describes the minidriver's internal topology of nodes and pins. The class driver uses this to handle the KSPROPSETID_Topology property set for the minidriver.

DeviceEventRoutine

Points to the minidriver's StrMiniEvent routine.

NumDevMethodArrayEntries

DeviceMethodsArray

Reserved[2]

Reserved for system use. Do not use.

Requirements

Requirement Value
Header strmini.h (include Strmini.h)

See also

HW_STREAM_DESCRIPTOR

HW_STREAM_INFORMATION