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.
Namespace: DevCase.Win32.InterfacesAssembly: 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
<ComImportAttribute>
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>
<GuidAttribute("A95664D2-9614-4F35-A746-DE8DB63617E6")>
Public Interface IMMDeviceEnumerator
Dim instance As IMMDeviceEnumerator
[ComImportAttribute]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute(L"A95664D2-9614-4F35-A746-DE8DB63617E6")]
public interface class IMMDeviceEnumerator
[<ComImportAttribute>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("A95664D2-9614-4F35-A746-DE8DB63617E6")>]
type IMMDeviceEnumerator = interface end
No code example is currently available or this language may not be supported.