IAudioMute interface (devicetopology.h)
The IAudioMute interface provides access to a hardware mute control. The client obtains a reference to the IAudioMute interface of a subunit by calling the IPart::Activate method with parameter refiid set to REFIID IID_IAudioMute. The call to IPart::Activate succeeds only if the subunit supports the IAudioMute interface. Only a subunit object that represents a hardware mute control function will support this interface.
Most Windows audio adapter drivers support the Windows Driver Model (WDM) and use kernel-streaming (KS) properties to represent the hardware control parameters in subunits (referred to as KS nodes). The IAudioMute interface provides convenient access to the KSPROPERTY_AUDIO_MUTE property of a subunit that has a subtype GUID value of KSNODETYPE_MUTE. To obtain the subtype GUID of a subunit, call the IPart::GetSubType method. For more information about KS properties and KS node types, see the Windows DDK documentation.
Inheritance
The IAudioMute interface inherits from the IUnknown interface. IAudioMute also has these types of members:
Methods
The IAudioMute interface has these methods.
IAudioMute::GetMute The GetMute method gets the current state (enabled or disabled) of the mute control. |
IAudioMute::SetMute The SetMute method enables or disables the mute control. |
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 |