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.
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("D666063F-1587-4E43-81F1-B948E807363F")]
public interface IMMDevice
<ComImportAttribute>
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>
<GuidAttribute("D666063F-1587-4E43-81F1-B948E807363F")>
Public Interface IMMDevice
Dim instance As IMMDevice
[ComImportAttribute]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute(L"D666063F-1587-4E43-81F1-B948E807363F")]
public interface class IMMDevice
[<ComImportAttribute>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("D666063F-1587-4E43-81F1-B948E807363F")>]
type IMMDevice = interface end
No code example is currently available or this language may not be supported.
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.
|