Bewerken

Delen via


IMiniportAudioEngineNode::SetDeviceChannelMute method (portcls.h)

Sets the state of the Mute node for the audio device channel.

Syntax

NTSTATUS SetDeviceChannelMute(
  [in] ULONG  ulNodeId,
  [in] UINT32 ulChannel,
  [in] BOOL   bMute
);

Parameters

[in] ulNodeId

The ID for the node that represents the audio device.

[in] ulChannel

The audio device channel.

[in] bMute

The state to which the Mute node for the audio device channel will be set.

Return value

SetDeviceChannelMute 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