驱动程序包元数据

驱动程序元数据包是与提交关联的文件。 元数据包包含驱动程序包或捆绑包中每个 INF 文件的详细信息。 可以使用 Get 提交 方法下载此文件。 The file is available in the Link object of the submission with the rel - driverMetadata.

如果你是发布者并通过共享收到提交,则可能需要运行 “创建发布服务器元数据 ”方法来生成该提交的驱动程序元数据。

驱动程序元数据结构

{
  "BundleInfoMap": {
    "dc3b111e-c750-4a55-96ce-0eae1d1da8a2": {
      "Locales": [
        "English"
      ],
      "InfInfoMap": {
        "foo_bar.inf": {
          "DriverPackageFamilyId": "RAID-foo_bar.inf",
          "InfClass": "SCSIAdapter",
          "DriverVersion": "1.1.1.1",
          "DriverDate": "2018-01-11T00:00:00",
          "ExtensionId": null,
          "Provider": "RAID",
          "ClassGuid": "{a43418dc-cfc9-42e1-85b0-2d644331e214}",
          "InstallationComputerHardwareIds": [
            "a9a8e6fc-4969-4336-927c-9d8f7b6c1d14",
            "a4a127cb-2c10-464e-abb5-e78fcdf0d3c3"
          ],
          "OSPnPInfoMap": {
            "WINDOWS_v100_RS3_FULL": {
              "pci\\ven_test&dev_abcd": {
                "Manufacturer": "RAID",
                "DeviceDescription": "Virtual Raid Adapter",
                "FeatureScore": null
              }
            }
          }
        }
      }
    }
  }
}

该文件具有以下值:

Value 类型 Description
BundleInfoMap 对象 这是父级。 它由 GUID 标识,并包含有关驱动程序捆绑包的所有详细信息。 This value maps to the bundleID in the Hardware ID object
Locales 字符串数组 捆绑包适用的区域设置数组
InfInfoMap 对象数组 描述捆绑包中每个 INF 文件的数组。 每个项的标识符是 INF 文件名。 The INF name maps to the infID in the Hardware ID object.
DriverPackageFamilyId 字符串 驱动程序包系列的 ID
InfClass 字符串 驱动程序的设备类或 INF 类
DriverVersion 字符串 驱动程序的版本
DriverDate 日期/时间 此驱动程序的日期和时间
ExtensionId GUID 适用于扩展 INF。 表示此 INF 的扩展 ID 的 GUID
Provider 字符串 此驱动程序的提供程序
ClassGuid 字符串 驱动程序的类 GUID
InstallationComputerHardwareIds GUID 数组 此驱动程序可定向到的 CHID 列表
OSPnPInfoMap 对象数组 将作系统映射到硬件 ID 的对象数组。 该对象有一个基元素,即作系统。 在每个作系统中,有 PNP 或硬件 ID 的列表以及详细信息。 作系统映射到 硬件 ID 对象 中的 operatingSystemCode,硬件 ID 映射到 pnpString
Manufacturer 字符串 硬件 ID 制造商
DeviceDescription 字符串 硬件 ID 的说明
FeatureScore 字符串 驱动程序的功能分数

See also