Skip to content

Latest commit

 

History

History
85 lines (60 loc) · 3.39 KB

nn-mmdeviceapi-immdevicecollection.md

File metadata and controls

85 lines (60 loc) · 3.39 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NN:mmdeviceapi.IMMDeviceCollection
IMMDeviceCollection (mmdeviceapi.h)
The IMMDeviceCollection interface represents a collection of multimedia device resources.
IMMDeviceCollection
IMMDeviceCollection interface [Core Audio]
IMMDeviceCollection interface [Core Audio]
described
coreaudio.immdevicecollection
mmdeviceapi/IMMDeviceCollection
coreaudio\immdevicecollection.htm
CoreAudio
4769b0a6-a319-4605-8742-5e7c285679cf
12/05/2018
IMMDeviceCollection, IMMDeviceCollection interface [Core Audio], IMMDeviceCollection interface [Core Audio],described, coreaudio.immdevicecollection, mmdeviceapi/IMMDeviceCollection
mmdeviceapi.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Windows
19H1
IMMDeviceCollection
mmdeviceapi/IMMDeviceCollection
c++
APIRef
kbSyntax
COM
Mmdeviceapi.h
IMMDeviceCollection

IMMDeviceCollection interface

-description

The IMMDeviceCollection interface represents a collection of multimedia device resources. In the current implementation, the only device resources that the MMDevice API can create collections of are audio endpoint devices.

A client can obtain a reference to an IMMDeviceCollection interface instance by calling the IMMDeviceEnumerator::EnumAudioEndpoints method. This method creates a collection of endpoint objects, each of which represents an audio endpoint device in the system. Each endpoint object in the collection supports the IMMDevice and IMMEndpoint interfaces. For more information, see IMMDeviceEnumerator Interface.

For a code example that uses the IMMDeviceCollection interface, see Device Properties.

-inheritance

The IMMDeviceCollection interface inherits from the IUnknown interface. IMMDeviceCollection also has these types of members:

-see-also

Core Audio Interfaces

IMMDevice Interface

IMMDeviceEnumerator Interface

IMMDeviceEnumerator::EnumAudioEndpoints

IMMEndpoint Interface

MMDevice API