IMiniportWavePciStream::SetFormat method

The SetFormat method sets the KS data format of the wave stream.

Syntax


NTSTATUS SetFormat(
  [in]  PKSDATAFORMAT DataFormat
);

Parameters

DataFormat [in]

Pointer to KSDATAFORMAT structure that describes the new format of the stream.

Return value

SetFormat returns STATUS_SUCCESS if the call was successful. Otherwise, the method returns an appropriate error code.

Remarks

The wave stream's initial format is specified in the IMiniportWavePci::NewStream call that creates the stream. Following stream creation, the SetFormat call can change the stream's format from its initial setting.

For information about specifying wave stream formats, see Audio Data Formats and Data Ranges.

Requirements

Header

Portcls.h (include Portcls.h)

IRQL

PASSIVE_LEVEL

See also

KSDATAFORMAT
IMiniportWavePci::NewStream

 

 

Send comments about this topic to Microsoft

Mostra:
© 2014 Microsoft