DEVPKEY_Device_Legacy
The DEVPKEY_Device_Legacy device property represents a Boolean value that indicates whether a device is a root-enumerated device that the Plug and Play (PnP) manager automatically created when the non-PnP driver for the device was loaded.
Attribute | Value |
---|---|
Property key |
DEVPKEY_Device_Legacy |
Property-data-type identifier |
|
Property access |
Read-only access by installation applications and installers |
Localized? |
No |
Remarks
The PnP manager sets the value of DEVPKEY_Device_Reported to DEVPROP_TRUE if the PnP manager automatically created the device as a root-enumerated device when the non-PnP driver for the device was loaded. Otherwise, the PnP manager sets the value of the property to DEVPROP_FALSE.
You can call CM_Get_DevNode_Property or SetupDiGetDeviceProperty to retrieve the value of DEVPKEY_Device_Legacy.
Windows Server 2003, Windows XP, and Windows 2000 do not support this property.
Requirements
Version: Windows Vista and later versions of Windows Header: Devpkey.h (include Devpkey.h)
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for