Interface IMMNotificationClient


  • public interface IMMNotificationClient
    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.
    Author:
    Lyubomir Marinov
    • Method Detail

      • OnDefaultDeviceChanged

        void OnDefaultDeviceChanged​(int flow,
                                    int role,
                                    String pwstrDefaultDevice)
      • OnDeviceAdded

        void OnDeviceAdded​(String pwstrDeviceId)
      • OnDeviceRemoved

        void OnDeviceRemoved​(String pwstrDeviceId)
      • OnDeviceStateChanged

        void OnDeviceStateChanged​(String pwstrDeviceId,
                                  int dwNewState)
      • OnPropertyValueChanged

        void OnPropertyValueChanged​(String pwstrDeviceId,
                                    long key)