驅動程式中繼資料套件是與提交相關聯的檔案。 中繼資料套件包含驅動程式套件或套件組合中每個 INF 檔案的詳細數據。 您可以使用 取得提交 方法下載此檔案。 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 | 字串 | 驅動程式套件系列的識別碼 |
| InfClass | 字串 | 驅動程式的裝置類別或 INF 類別 |
| DriverVersion | 字串 | 驅動程式的版本 |
| DriverDate | 日期時間 | 此驅動程式的日期和時間 |
| ExtensionId | GUID | 適用於延伸 INF。 代表此 INF 延伸模組識別碼的 GUID |
| Provider | 字串 | 此驅動程式的提供者 |
| ClassGuid | 字串 | 驅動程式的類別 GUID |
| InstallationComputerHardwareIds | GUID 的陣列 | 此驅動程式可作為目標的 CHID 清單 |
| OSPnPInfoMap | 物件陣列 | 將作業系統對應至硬體識別碼的物件陣列。 物件具有基底專案,也就是作系統。 每個作系統內都是 PNP 或硬體識別碼的清單,以及詳細數據。 作業系統會對應至 硬體識別碼物件 中的 operatingSystemCode,而硬體識別碼會對應至 pnpString |
| Manufacturer | 字串 | 硬體識別碼的製造商 |
| DeviceDescription | 字串 | 硬體 ID 的描述 |
| FeatureScore | 字串 | 驅動程式的功能分數 |