IMMDeviceEnumerator Interface

Provides methods for enumerating multimedia device resources.

In the current implementation of the MMDevice API, the only device resources that this interface can enumerate are audio endpoint devices.

A client obtains a reference to an IMMDeviceEnumerator interface by calling the CoCreateInstance.

The device resources enumerated by the methods in the IMMDeviceEnumerator interface are represented as collections of objects with IMMDevice interfaces.

A collection has an IMMDeviceCollection interface. The IMMDeviceEnumerator.EnumAudioEndpoints method creates a device collection.

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("A95664D2-9614-4F35-A746-DE8DB63617E6")]
public interface IMMDeviceEnumerator

Remarks

Methods

EnumAudioEndpoints Generates a collection of audio endpoint devices that meet the specified criteria.
GetDefaultAudioEndpoint Retrieves the default audio endpoint for the specified data-flow direction and role.
GetDevice Retrieves an endpoint device that is specified by an endpoint device-identification string.
RegisterEndpointNotificationCallback Registers a client's notification callback interface.
UnregisterEndpointNotificationCallback Deletes the registration of a notification interface that the client registered in a previous call to the RegisterEndpointNotificationCallback(IMMNotificationClient) method.

See Also