Bewerken

Delen via


IMiniportAudioEngineNode::GetSupportedDeviceFormats method (portcls.h)

Gets the supported audio data formats for the audio device.

Syntax

NTSTATUS GetSupportedDeviceFormats(
  [in]  ULONG           ulNodeId,
  [out] KSMULTIPLE_ITEM *pFormats,
  [in]  ULONG           ulBufferSize
);

Parameters

[in] ulNodeId

The ID of the node that represents the audio device.

[out] pFormats

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

[in] 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

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

See also

IMiniportAudioEngineNode

KSMULTIPLE_ITEM