IMMDevice 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("D666063F-1587-4E43-81F1-B948E807363F")]
public interface IMMDevice

Remarks

Methods

Activate Creates a COM object with the specified interface
GetId Retrieves an endpoint ID string that identifies the audio endpoint device
GetState Retrieves the current device state.
OpenPropertyStore Retrieves an interface to the device's property store.

See Also