EDeviceState Enumeration

Indicate the current state of an audio endpoint device.

The GetState(EDeviceState) function use the constants defined in the EDeviceState 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.
[FlagsAttribute]
public enum EDeviceState

Remarks

Members

Active 1 The audio endpoint device is active.

That is, the audio adapter that connects to the endpoint device is present and enabled.

In addition, if the endpoint device plugs into a jack on the adapter, then the endpoint device is plugged in.

Disabled 2 The audio endpoint device is disabled.

The user has disabled the device in the Windows multimedia control panel, Mmsys.cpl.

NotPresent 4 The audio endpoint device is not present because the audio adapter that connects to the endpoint device has been removed from the system, or the user has disabled the adapter device in Device Manager.
Unplugged 8 The audio endpoint device is unplugged.

The audio adapter that contains the jack for the endpoint device is present and enabled, but the endpoint device is not plugged into the jack.

Only a device with jack-presence detection can be in this state.

All 15 Includes audio endpoint devices in all states active, disabled, not present, and unplugged.

See Also