IMiniportAudioEngineNode::GetDeviceChannelPeakMeter method (portcls.h)

Gets the PeakMeter value for the audio device channel.

Syntax

NTSTATUS GetDeviceChannelPeakMeter(
  [in]  ULONG  ulNodeId,
  [in]  UINT32 ulChannel,
  [out] LONG   *plPeakMeter
);

Parameters

[in] ulNodeId

The ID for the node that represents the audio device.

[in] ulChannel

The audio device channel.

[out] plPeakMeter

The PeakMeter value for the audio device channel.

Return value

GetDeviceChannelPeakMeter 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