DEVPKEY_Device_ProblemStatus

The DEVPKEY_Device_ProblemStatus device property is an NTSTATUS value that is set when a problem code is generated. It provides more context on why the problem code was set. If no additional context is available, ProblemStatus shows as STATUS_SUCCESS (0x00000000).

Attribute Value
Property key DEVPKEY_Device_ProblemStatus
Property-data-type identifier DEVPROP_TYPE_NTSTATUS
Property access Read-only access by installation applications and installers
Localized? No

Remarks

For info on finding problem status in Device Manager or the kernel debugger, see Retrieving the Status and Problem Code for a Device Instance.

For more info about NTSTATUS values, see Using NTSTATUS Values.

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

Requirements

Version: Windows 8 and later versions of Windows

Header: Devpkey.h (include Devpkey.h)

See also

CM_Get_DevNode_Status

SetupDiGetDeviceProperty