ERole Enumeration

Defines constants that indicate the role that the system has assigned to an audio endpoint device.

The GetDefaultAudioEndpoint(EDataFlow, ERole, IMMDevice) and IMMNotificationClient.OnDefaultDeviceChanged methods use the constants defined in the ERole enumeration.

Definition

Namespace: DevCase.Win32.Enums
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public enum ERole

Remarks

Members

Console 0 Games, system notification sounds, and voice commands.
Multimedia 1 Music, movies, narration, and live music recording.
Communications 2 Voice communications (talking to another person).
ERole_enum_count 3 The number of members in the ERole enumeration (not counting the ERole_enum_count member).

See Also