IMMDeviceEnumeratorEnumAudioEndpoints Method

Generates a collection of audio endpoint devices that meet the specified criteria.

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.
[PreserveSigAttribute]
HResult EnumAudioEndpoints(
	EDataFlow dataFlow,
	EDeviceState stateMask,
	out IMMDeviceCollection refDevices
)

Parameters

dataFlow  EDataFlow
The EDataFlow direction for the endpoint devices in the collection.
stateMask  EDeviceState
One or more EDeviceState constants that indicate the state of the endpoints in the collection.
refDevices  IMMDeviceCollection
The IMMDeviceCollection interface of the device-collection object.

Return Value

HResult
If the method succeeds, it returns S_OK. If it fails, it returns an HResult value.

See Also