DEVPKEY_Device_DriverInfPath
The PKEY_Device_DriverInfPath device property represents the name of the INF file that installed a device instance.
Attribute | Value |
---|---|
Property key |
DEVPKEY_Device_DriverInfPath |
Property-data-type identifier |
|
Property access |
Read-only access by installation applications and installers |
Corresponding registry value identifier and registry value name |
REGSTR_VAL_INFPATH InfPath |
Localized? |
No |
Remarks
Windows sets the value of DEVPKEY_Device_DriverInfPath. A copy of the INF file that installed a device is located in the system INF file directory. The name of the INF file copy is OemNnn.inf, where Nnn is a decimal number from 0 through 9999.
You can call CM_Get_DevNode_Property or SetupDiGetDeviceProperty to retrieve the value of DEVPKEY_Device_DriverInfPath.
Windows Server 2003, Windows XP, and Windows 2000 support this property, but do not support the DEVPKEY_Device_DriverInfPath property key. On these earlier versions of Windows, you can access the value of this property by accessing the corresponding InfPath registry value under the software key for the device instance. For information about how to access this property value on these earlier versions of Windows, see Accessing Device Driver Properties.
Requirements
Version: Windows Vista and later versions of Windows Header: Devpkey.h (include Devpkey.h)