Windows Driver Kit: Device Installation
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.

Property keyDEVPKEY_Device_Legacy
Property-data-type identifierDEVPROP_TYPE_BOOLEAN
Property accessRead-only access by installation applications and installers
Localized?No

Comments

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 SetupDiGetDeviceProperty to retrieve the value of DEVPKEY_Device_Legacy.

Windows Server 2003, Windows XP, and Windows 2000 do not support this property.

Requirements

Versions: Available in Windows Vista and later versions of Windows.

Headers: Declared in Devpkey.h. Include Devpkey.h.

See Also

SetupDiGetDeviceProperty


Send feedback on this topic
Built on November 19, 2009
Page view tracker