KSDATAFORMAT_WAVEFORMATEX - NtDoc

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

typedef struct {
  KSDATAFORMAT DataFormat;
  WAVEFORMATEX WaveFormatEx;
} KSDATAFORMAT_WAVEFORMATEX, *PKSDATAFORMAT_WAVEFORMATEX;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ksmedia-ksdataformat_waveformatex)

KSDATAFORMAT_WAVEFORMATEX structure

Description

The KSDATAFORMAT_WAVEFORMATEX structure provides detailed information about the data format of an audio stream consisting of wave data.

Members

DataFormat

Specifies the general features of the stream's data format. This member is a structure of type KSDATAFORMAT.

WaveFormatEx

Describes the wave-specific details of the audio stream's data format. This member contains an initialized WAVEFORMATEX structure.

Remarks

In response to an input DataRange parameter that specifies a WAVEFORMATEX format (see example in PCM Stream Data Range), the IMiniport::DataRangeIntersection method checks to see if the specified pin supports a compatible WAVEFORMATEX format. If so, the method outputs a KSDATAFORMAT_WAVEFORMATEX structure (see example in PCM Stream Data Format) to the buffer that its ResultantFormat parameter points to.

Note that the WaveFormatEx member of the KSDATAFORMAT_WAVEFORMATEX structure can be extended to include additional format information (for example, a channel configuration mask). For more information, see WAVEFORMATEXTENSIBLE.

See also

IMiniport::DataRangeIntersection

KSDATAFORMAT

WAVEFORMATEX

WAVEFORMATEXTENSIBLE