DEVPKEY_Device_InstallDate

DEVPKEY_Device_InstallDate设备属性指定上次在系统中安装设备实例时的时间戳。

Attribute
属性键 DEVPKEY_Device_InstallDate
Property-data-type identifier DEVPROP_TYPE_FILETIME
安装应用程序和安装程序的只读访问权限。
本地化?

备注

Windows 使用时间戳设置 DEVPKEY_Device_InstallDate 的值,该时间戳指定上次在系统中安装设备实例的时间。

每次连续更新设备驱动程序时,此时间戳值都会更改。 例如,此时间戳报告上次通过Windows 更新更新设备驱动程序的日期和时间。

可以调用 CM_Get_DevNode_PropertySetupDiGetDeviceProperty 来检索DEVPKEY_Device_FirstInstallDate 属性的值。

要求

版本:Windows 7 及更高版本的 Windows

标头:Devpkey.h (包括 Devpkey.h)

另请参阅

SetupDiGetDeviceProperty