DEVPKEY_Device_DevNodeStatus

The DEVPKEY_Device_DevNodeStatus device property represents the status of a device node (devnode).

Attribute Value

Property key

DEVPKEY_Device_DevNodeStatus

Property-data-type identifier

DEVPROP_TYPE_INT32

Property access

Read-only access by installation applications and installers

Localized?

No

Remarks

The value of DEVPKEY_Device_DevNodeStatus is a bitwise OR of the DN_Xxx bit flags that are defined in Cfg.h.

You can call CM_Get_DevNode_Property or SetupDiGetDeviceProperty to retrieve the value of DEVPKEY_Device_DevNodeStatus.

Windows Server 2003, Windows XP, and Windows 2000 do not directly support this property. For information about how to access the status of a device instance on these earlier versions of Windows, see Retrieving the Status and Problem Code for a Device Instance.

Requirements

Version: Windows Vista and later versions of Windows Header: Devpkey.h (include Devpkey.h)

See also

CM_Get_DevNode_Status

SetupDiGetDeviceProperty