IAudioMute::GetMute method (devicetopology.h)

The GetMute method gets the current state (enabled or disabled) of the mute control.

Syntax

HRESULT GetMute(
  [out] BOOL *pbMuted
);

Parameters

[out] pbMuted

Pointer to a BOOL variable into which the method writes the current state of the mute control. If the state is TRUE, muting is enabled. If FALSE, it is disabled.

Return value

Return code Description
E_POINTER Pointer pbMuted is NULL.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header devicetopology.h

See also

IAudioMute Interface