DEVICE_STATE_ACTIVE

Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
version(Windows)
extern (Windows)
enum DEVICE_STATE_ACTIVE = 0x00000001;

Meta