IAudioMute::GetMute method

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

Syntax


HRESULT GetMute(
  [out] BOOL *pbMuted
);

Parameters

pbMuted [out]

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_POINTERPointer pbMuted is NULL.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Devicetopology.h

See also

IAudioMute Interface

 

 

Show: