IMiniportAudioEngineNode::GetSupportedDeviceFormats method

Gets the supported audio data formats for the audio device.

Syntax

NTSTATUS GetSupportedDeviceFormats(
  ULONG           ulNodeId,
  KSMULTIPLE_ITEM *pFormats,
  ULONG           ulBufferSize
);

Parameters

ulNodeId

The ID of the node that represents the audio device.

pFormats

A structure of type KSMULTIPLE_ITEM that points to the array of audio data formats supported by the audio device.

ulBufferSize

The buffer size for the audio data format information.

Return value

GetSupportedDeviceFormats returns S_OK, if the call was successful. Otherwise, the method

returns an appropriate error code.

Requirements

   
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Universal
Header portcls.h

See also

IMiniportAudioEngineNode

KSMULTIPLE_ITEM