IMMNotificationClient Interface

Provides notifications when an audio endpoint device is added or removed, when the state or properties of an endpoint device change, or when there is a change in the default role assigned to an endpoint device.

Unlike the other interfaces in this section, which are implemented by the MMDevice API system component, an MMDevice API client implements the IMMNotificationClient interface.

To receive notifications, the client passes a pointer to its IMMNotificationClient interface instance as a parameter to the RegisterEndpointNotificationCallback(IMMNotificationClient) method.

Definition

Namespace: DevCase.Win32.Interfaces
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[ComImportAttribute]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("7991EEC9-7E89-4D85-8390-6C703CEC60C0")]
public interface IMMNotificationClient

Remarks

Methods

OnDefaultDeviceChanged Notifies the client that the default audio endpoint device for a particular role has changed.
OnDeviceAdded Indicates that a new audio endpoint device has been added.
OnDeviceRemoved Indicates that an audio endpoint device has been removed.
OnDeviceStateChanged Notifies the client that the default audio endpoint device for a particular role has changed.
OnPropertyValueChanged Indicates that the value of a property belonging to an audio endpoint device has changed.

See Also