提交电脑设备清单包Submit a PC device manifest package

提交电脑设备清单包Submitting a PC device manifest package

你可以使用相同的方法提交用于预览或发布的包。You can use the same method to submit packages for preview or release.

提交设备清单包To submit a device manifest package

  1. 使用 SignTool 工具对 devicemanifest-ms 程序包进行签名。Sign the devicemanifest-ms package with the SignTool tool.

  2. 从硬件开发人员中心或 Windows 开发人员中心,使用 Microsoft 帐户登录到“仪表板”*Sign in to the *Dashboard from either the Hardware Dev Center or the Windows Dev Center by using a Microsoft account.

  3. 在“设备元数据”*下,单击“创建体验”(如果你希望提交新体验),或单击“管理体验”(如果你希望修改现有体验)。Under *Device metadata, click Create experience if you want to submit a new experience, or click Manage experience if you want to modify an existing experience.

  4. 浏览并选择你的新 devicemanifest-ms 程序包,然后单击“提交”*Browse for and select your new devicemanifest-ms package, and then click *Submit.

创建设备清单提交程序包Creating a Device Manifest Submission Package

设备清单提交程序包是所有电脑设备元数据包提交到硬件开发人员中心时必须采用的格式。A device manifest submission package is the package format in which all PC device metadata must be submitted to the Hardware Dev Center.

设备清单提交程序包包含声明区域设置支持和能够验证电脑 HWID 属于正在进行提交公司的文件。The device manifest submission package contains files that declare locale support and enable validation of PC HWIDs to belong to submitting companies. 设备清单包还包含设备元数据包。The device manifest package also includes a device metadata package.

设备清单提交程序包采用与设备元数据包相同的方式上载到硬件开发人员中心。Device manifest submission packages get uploaded to the Hardware Dev Center in the same way as device metadata packages. 使用相同的用户界面和上载框,输入要上载的 *.devicemanifest-ms 文件的名称。Using the same user interface and upload boxes, enter the name of your *.devicemanifest-ms file for upload.

硬件开发人员中心用户界面上批量上载以外的所有文件上载框都将接受设备清单提交程序包。All file upload boxes other than bulk upload on the Hardware Dev Center user interface will accept device manifest submission packages.

设备清单提交程序包内容Device Manifest Submission Package Contents

每个设备清单提交包都包含以下组成部分:Each device manifest submission package consists of the following components:

  • 设备元数据包Device metadata package

    此包包含用于在 Windows 中显示设备图标、设置操作及使用设备体验功能的信息和图片。This package contains information and graphics to display device icons, set actions, and utilize device experience features in Windows.

    设备元数据包始终必需。The device metadata package is always required.

  • LocaleInfo XML 文档LocaleInfo XML document

    此文档包含有关包含在附带设备元数据包中的区域设置的数据。This document contains data about the locales included in the accompanying device metadata package. 硬件开发人员中心使用此数据来正确验证一个或多个区域设置的设备元数据包。The Hardware Dev Center uses this data to properly validate the device metadata package for one or more locales.

    LocaleInfo XML 文档始终是必需的,即使设备元数据包仅包含单个区域设置。The LocaleInfo XML document is always required, even if the device metadata package only contains a single locale.

  • PcMetadataSubmission XML 文档PcMetadataSubmission XML document

    此文档包含用于验证附带的电脑设备元数据包中的 HWID 的数据。This document contains data used to validate the HWIDs in the accompanying PC device metadata package. 硬件开发人员中心使用此数据来验证设备元数据包中的 HWID 是否属于正确的公司。The Hardware Dev Center uses this data to verify the HWIDs in the device metadata package belong to the correct companies.

    PcMetadataSubmission XML 文档仅对电脑设备元数据包是必需的。The PcMetadataSubmission XML document is only required for PC device metadata packages

注意Note
这些 XML 文档必须使用 UTF-8 编码进行保存。The XML documents must be saved by using UTF-8 encoding.

电脑设备清单提交包的结构Structure of a PC Device Manifest Submission Package

设备清单包的结构取决于包含的设备元数据用于电脑、用于移动宽带还是包含对多个区域设置的支持。The structure of a device manifest package depends on whether the included device metadata is for a PC, for mobile broadband, or contains support for multiple locales.

如果设备元数据不属于这三个类别中的任何一个,则不需要设备清单包。If the device metadata does not fall into any of the three categories, a device manifest package is not necessary. 但是,设备清单包仍然可用于指示设备元数据包是用于单个区域设置的。However, a device manifest package can still be used to indicate the device metadata package is for a single locale.

电脑设备清单提交包的组成部分存储在压缩的 Cab 文件中。The components of a PC device manifest submission package are stored in a compressed cabinet file. 该文件名必须具有后缀 .devicemanifest-ms。The file name must have a suffix of .devicemanifest-ms.

每个电脑设备清单提交包都必须具有以下结构:Each PC device manifest submission package must have the following structure:

GUID1.devicemanifest-ms
  \GUID1.devicemetadata-ms
  \LocaleInfo.xml
  \PcMetadataSubmission.xml

“GUID1”必须是一个 GUID。“GUID1” must be a GUID.

若要创建 LocaleInfo.xml 和 PcMetadataSubmission.xml,请参阅以下内容。To create the LocaleInfo.xml and PcMetadataSubmission.xml, see below.

若要了解如何开发设备元数据包 *.devicemetadata-ms,请参阅 Windows 8 的设备元数据包架构参考To learn how to develop the device metadata package, *.devicemetadata-ms, see Device Metadata Package Schema Reference for Windows 8

你可以使用 Cabarc 工具创建这些 CAB 程序包。You can use the Cabarc tool to create these CAB packages. 有关此工具的详细信息,请参阅 Cabarc 概述You can find more information about this tool in Cabarc Overview

使用 Cabarc 工具创建 *.devicemanifest-ms 文件时,你必须创建一个本地目录,其中设备元数据包 (*.devicemetadata-ms)、LocaleInfo XML 文档和 PcMetadataSubmission XML 文档位于该目录的根目录中。When you create a *.devicemanifest-ms file by using the Cabarc tool, you must create a local directory in which the device metadata package (*.devicemetadata-ms), the LocaleInfo XML document, and the PcMetadataSubmission XML document are at the root of the directory.

备注Remarks

  • .devicemanifest -ms 和 .devicemetadata-ms 文件名必须指定不带花括号 ({}) 分隔符的 GUID。The .devicemanifest -ms and .devicemetadata-ms filenames must specify the GUID without the curly brace ({}) delimiters.

  • 每个电脑设备清单提交和设备元数据包的 GUID 都必须唯一。The GUID for each PC device manifest submission and device metadata package must be unique. 当你创建新的或修改的程序包时,必须创建新 GUID。When you create a new or revised package, you must create a new GUID.

  • 有关如何创建 cabinet 文件的详细信息,请参阅 Microsoft Cabinet 软件开发工具包For more details about how to create cabinet files, see the Microsoft Cabinet Software Development Kit.

示例Example

下面显示了如何使用 Cabarc 工具创建 .devicemanifest-ms 文件的示例。The following shows an example of how to use the Cabarc tool to create a .devicemanifest-ms file. 在此示例中,电脑设备清单文件的组成部分位于名为 PcPackages 的本地目录中:In this example, the components of the PC device manifest file are located in a local directory that is named PcPackages:

.\PcPackages\
.\PcPackages\PcMetadataSubmission.xml
.\PcPackages\LocaleInfo.xml
.\PcPackages\GUID.devicemetadata-ms

GUID.devicemanifest-ms 文件在名为 PCFiles 的本地目录中创建:The GUID.devicemanifest-ms file was created in a local directory that is named PCFiles:

Cabarc.exe -r -p -P  .\PcPackages\ 
N .\PCFiles\ GUID.devicemanifest-ms 
.\PcPackages\PcMetadataSubmission.xml
.\PcPackages\LocaleInfo.xml

有关此工具的详细信息,请参阅 Cabarc 概述You can find more information about this tool in in the Cabarc Overview.

创建 PcMetadataSubmission.xmlCreating PcMetadataSubmission.xml

PcMetadataSubmission XML 架构PcMetadataSubmission XML Schema

设备清单提交程序包可包含一个 PcMetadataSubmission.xml 文档,其中包含硬件开发人员中心站点用于验证 PackageInfo.xml 中的计算机硬件 ID 的信息。A device manifest submission package may contain one PcMetadataSubmission.xml document, which has information that the Hardware Dev Center site uses to validate the Computer HardwareIDs in PackageInfo.xml.

PcMetadataSubmission.xml 文档中的数据基于 PcMetadataSubmission XML 架构(将在下面进行介绍)设置格式。The data in the PcMetadataSubmission.xml document is formatted based on the PcMetadataSubmission XML schema, which is described below.

注意Note
该 XML 文档必须使用 UTF-8 编码进行保存。The XML document must be saved by using UTF-8 encoding.

有关 ComputerHardwareID 的详细信息,请参阅如何创建设备和打印机的设备元数据包For more information about ComputerHardwareID, see How to Create a Device Metadata Package for Devices and Printers.

PcMetadataSubmission XML 架构命名空间PcMetadataSubmission XML Schema NameSpace

以下是 PcMetadataSubmission XML 架构的命名空间:The following are the namespaces of the PcMetadataSubmission XML schema:

PcMetadataSubmission XML 元素/属性概述Overview of PcMetadataSubmission XML Elements/Attributes

下表描述 PcMetadataSubmission XML 架构的元数据元素和属性。The following table describes the metadata elements and attributes of the PcMetadataSubmission XML schema.

元素/属性Element/Attributes 元素/属性类型Element/Attribute type 必需/可选Required/ optional 描述Description

SMBIOSEntrySMBIOSEntry

SMBIOSEntryTypeSMBIOSEntryType

必需Required

指定计算机的 SMBIOS 信息。Specifies SMBIOS information for the computer.

SystemManufacturerSystemManufacturer

tns:SMBIOSStringTypetns:SMBIOSStringType

必需Required

指定计算机的名称。Specifies the name of the computers.

SystemFamilySystemFamily

tns:SMBIOSStringTypetns:SMBIOSStringType

可选Optional

指定计算机制造商的系列名称。Specifies the family name of the computer manufacturer.

SystemProductNameSystemProductName

tns:SMBIOSStringTypetns:SMBIOSStringType

可选Optional

指定产品(计算机)的名称。Specifies the name of the product (computer).

BIOSVendorBIOSVendor

tns:SMBIOSStringTypetns:SMBIOSStringType

可选Optional

指定 BIOS 制造商的名称。Specifies the name of the BIOS manufacturer.

BIOSVersionBIOSVersion

tns:SMBIOSStringTypetns:SMBIOSStringType

可选Optional

指定 BIOS 的版本号。Specifies the version number of the BIOS.

SystemBIOSMajorReleaseSystemBIOSMajorRelease

tns:BIOSReleaseTypetns:BIOSReleaseType

可选Optional

指定 BIOS 的 MajorRelease 版本。Specifies the MajorRelease version of the BIOS.

SystemBIOSMinorReleaseSystemBIOSMinorRelease

tns:BIOSReleaseTypetns:BIOSReleaseType

可选Optional

指定 BIOS 的 MinorRelease 版本。Specifies the MinorRelease version of the BIOS.

EnclosuretypeEnclosuretype

tns:TypeofEnclosureTypetns:TypeofEnclosureType

可选Optional

指定计算机的机箱类型。Specifies the Enclosure type of the computer.

SKUNumberSKUNumber

v2:SMBIOSStringTypev2:SMBIOSStringType

可选Optional

指定计算机的 SKU 号。Specifies the SKU Number of the computer.

PcMetadataSubmission XML 架构定义PcMetadataSubmission XML Schema Definition

以下是 PcMetadataSubmission XML 架构定义:The following is the PcMetadataSubmission XML schema definition

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://schemas.microsoft.com/Windows/2009/05/MetadataSubmission/PcMetadataSubmission" xmlns:tns="http://schemas.microsoft.com/Windows/2009/05/MetadataSubmission/PcMetadataSubmission" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:v2="http://schemas.microsoft.com/Windows/2011/06/MetadataSubmission/PcMetadataSubmissionv2" elementFormDefault="qualified" blockDefault="#all">

  <xs:element name="PcMetadataSubmission" type="tns:PcMetadataSubmissionType" />
  <xs:complexType name="PcMetadataSubmissionType">
    <xs:sequence>
      <xs:element name="SMBIOSList" type="tns:SMBIOSListType" />
      <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
    </xs:sequence>
  </xs:complexType>

  <xs:complexType name="SMBIOSListType">
    <xs:sequence>
      <xs:element name="SMBIOSEntry" type="tns:SMBIOSEntryType" maxOccurs="unbounded" />
      <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
    </xs:sequence>
  </xs:complexType>

  <xs:complexType name="SMBIOSEntryType">
    <xs:simpleContent>
      <xs:extension base="xs:string">
        <xs:attribute name="SystemManufacturer" type="tns:SMBIOSStringType" use="required" />
        <xs:attribute name="SystemFamily" type="tns:SMBIOSStringType" use="optional" />
        <xs:attribute name="SystemProductName" type="tns:SMBIOSStringType" use="optional" />
        <xs:attribute name="BIOSVendor" type="tns:SMBIOSStringType" use="optional" />
        <xs:attribute name="BIOSVersion" type="tns:SMBIOSStringType" use="optional" />
        <xs:attribute name="SystemBIOSMajorRelease" type="tns:BIOSReleaseType" use="optional" />
        <xs:attribute name="SystemBIOSMinorRelease" type="tns:BIOSReleaseType" use="optional" />
        <xs:attribute name="EnclosureType" type="tns:TypeofEnclosureType" use="optional" />
        <xs:attribute ref="v2:SKUNumber" use="optional" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="SMBIOSStringType">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="64" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="BIOSReleaseType">
    <xs:restriction base="xs:hexBinary">
      <xs:minLength value="1" />
      <xs:maxLength value="1" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="TypeofEnclosureType">
    <xs:restriction base="xs:hexBinary">
      <xs:pattern value="([0-7][0-9A-F]|0[0-9A-F])" />
    </xs:restriction>
  </xs:simpleType>
</xs:schema>

以下是 PcMetadataSubmissionv2 XML 架构定义:The following is the PcMetadataSubmissionv2 XML schema definition:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://schemas.microsoft.com/Windows/2011/06/MetadataSubmission/PcMetadataSubmissionv2" xmlns:tns="http://schemas.microsoft.com/Windows/2011/06/MetadataSubmission/PcMetadataSubmissionv2" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" blockDefault="#all">

  <xs:attribute name="SKUNumber" type="tns:SMBIOSStringType" />

  <xs:simpleType name="SMBIOSStringType">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="64" />
    </xs:restriction>
  </xs:simpleType>

</xs:schema>

PcMetadataSubmission XML 架构参考PcMetadataSubmission XML Schema Reference

PcMetadataSubmission XML 架构定义以下元素和属性:The PcMetadataSubmission XML schema defines the following elements and attributes:

  • SMBIOSListSMBIOSList

    • SMBIOSEntrySMBIOSEntry

      • SystemManufacturerSystemManufacturer

      • SystemFamilySystemFamily

      • SystemProductNameSystemProductName

      • BIOSVendorBIOSVendor

      • BIOSVersionBIOSVersion

      • SystemBIOSMajorReleaseSystemBIOSMajorRelease

      • SystemBIOSMinorReleaseSystemBIOSMinorRelease

      • EnclosuretypeEnclosuretype

      • SKUNumberSKUNumber

SMBIOSEntry 元素SMBIOSEntry Elements

SMBIOSEntry 元素指定计算机系统信息。The SMBIOSEntry element specifies computer system information. 硬件开发人员中心将基于此信息创建计算机硬件 ID,并将该值与你随 PcMetadataSubmission.xml 一起提交的 packageinfo.xml 中的计算机硬件 ID 进行比较。Based on this information, Hardware Dev Center creates computer hardware IDs and compares the value with the computer hardwareID in the packageinfo.xml that you submit along with the PcMetadataSubmission.xml.

<xs:element name="SMBIOSEntry" type="tns:SMBIOSEntryType" maxOccurs="unbounded" />

<xs:complexType name="SMBIOSEntryType">
    <xs:simpleContent>
      <xs:extension base="xs:string">
        <xs:attribute name="SystemManufacturer" type="tns:SMBIOSStringType" use="required" />
        <xs:attribute name="SystemFamily" type="tns:SMBIOSStringType" use="optional" />
        <xs:attribute name="SystemProductName" type="tns:SMBIOSStringType" use="optional" />
        <xs:attribute name="BIOSVendor" type="tns:SMBIOSStringType" use="optional" />
        <xs:attribute name="BIOSVersion" type="tns:SMBIOSStringType" use="optional" />
        <xs:attribute name="SystemBIOSMajorRelease" type="tns:BIOSReleaseType" use="optional" />
        <xs:attribute name="SystemBIOSMinorRelease" type="tns:BIOSReleaseType" use="optional" />
        <xs:attribute name="Enclosuretype" type="tns:TypeofEnclosureType" use="optional" />
        <xs:anyAttribute namespace="##other" processContents="lax" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

备注Remarks

可以使用多个 SMBIOSEntry 元素指定多个系统。More than one SMBIOSEntry element can be used to specify multiple systems.

例如,考虑元数据包支持多个电脑系统。For example, consider a metadata package supports multiple PC systems. 可以使用以下 SMBIOSEntry 元素定义电脑系统。The following SMBIOSEntry elements can be used to define the PC systems.

<SMBIOSList>
  <SMBIOSEntry
      SystemManufacturer="FABRIKAM" SystemFamily…
  />
  <SMBIOSEntry
      SystemManufacturer="FABRIKAM" SystemFamily…
</SMBIOSList>

SystemManufacturer 属性SystemManufacturer Attributes

SystemManufacturer 属性指定计算机的系列名称。The SystemManufacturer attributes specifies the family name of the computers.

<xs:attribute name="SystemManufacturer" type="tns:SMBIOSStringType" use="required" />

<xs:simpleType name="SMBIOSStringType">
  <xs:restriction base="xs:string">
    <xs:minLength value="1" />
    <xs:maxLength value="64" />
  </xs:restriction>
</xs:simpleType>

备注Remarks

SystemManufacturer 属性指定的值必须与目标电脑 SMBIOS 表中“制造商”字段中的值相同。The value specified by the SystemManufacturer attribute must be identical with the value in the Manufacturer field in the SMBIOS table in the target PC. 下表显示了 SMBIOS 中“制造商”字段的字段信息。The following table shows the field information in SMBIOS of the Manufacturer field.

字段名称Field name 结构名称和类型Structure name and type SMBIOS 规范版本SMBIOS specification version 偏移量Offset 长度Length Value 描述Description

制造商Manufacturer

系统信息(类型 1)System Information (Type 1)

2.0+2.0+

04h04h

BYTEBYTE

STRINGSTRING

dmiStrucBuffer 数组中以 Null 结尾的字符串的索引。The index of a null-terminated string within the dmiStrucBuffer array. 此字符串指定计算机制造商的名称。This string specifies the name of the computer manufacturer.

有关 dmiStrucBuffer 数组和 SMBIOS 字段的详细信息,请参阅系统管理 BIOS (SMBIOS) 规范For more information about the dmiStrucBuffer array and the SMBIOS fields, see System Management BIOS (SMBIOS) Specification.

SystemFamily 属性SystemFamily Attributes

SystemFamily 属性指定计算机制造商的名称。The SystemFamily attributes specifies the name of the computer manufacturer.

<xs:attribute name="SystemFamily" type="tns:SMBIOSStringType" use="optional" />

<xs:simpleType name="SMBIOSStringType">
  <xs:restriction base="xs:string">
    <xs:minLength value="1" />
    <xs:maxLength value="64" />
  </xs:restriction>
</xs:simpleType>

备注Remarks

SystemFamily 属性指定的值必须与目标电脑 SMBIOS 表中“系列”字段中的值相同。The value specified by the SystemFamily attribute must be identical with the value in Family field in SMBIOS table in the target PC. 下表显示了 SMBIOS 中“系列”字段的字段信息。The following table shows the field information in SMBIOS of the Family field.

字段名称Field name 结构名称和类型Structure name and type SMBIOS 规范版本SMBIOS specification version 偏移量Offset 长度Length Value 描述Description

系列Family

系统信息(类型 1)System Information (Type 1)

2.4+2.4+

1Ah1Ah

BYTEBYTE

STRINGSTRING

dmiStrucBuffer 数组中以 Null 结尾的字符串的索引。The index of a null-terminated string within the dmiStrucBuffer array. 此字符串指定特定计算机所属的系列。系列指从硬件或软件的视角来看相似但不完全相同的一组计算机。通常,一个系列由不同的计算机型号组成,而这些型号具有不同的配置和价格点。This string specifies the family to which a particular computer belongs.A family refers to a set of computers that are similar but not identical from a hardware or software point of view.Typically a family is composed of different computer models, which have different configurations and pricing points. 同一系列中的计算机通常具有相似的品牌和外观特点。Computers in the same family often have similar branding and cosmetic features.

有关 dmiStrucBuffer 数组和 SMBIOS 字段的详细信息,请参阅系统管理 BIOS (SMBIOS) 规范For more information about the dmiStrucBuffer array and the SMBIOS fields, refer to System Management BIOS (SMBIOS) Specification.

SystemProductName 属性SystemProductName Attributes

SystemProductName 属性指定产品(计算机)的名称。The SystemProductName attributes specifies the name of the product (computer).

<xs:attribute name="SystemProductName" type="tns:SMBIOSStringType" use="optional" />

<xs:simpleType name="SMBIOSStringType">
  <xs:restriction base="xs:string">
    <xs:minLength value="1" />
    <xs:maxLength value="64" />
  </xs:restriction>
</xs:simpleType>

备注Remarks

SystemProductName 属性指定的值必须与目标电脑 SMBIOS 表中“产品名称”字段中的值相同。The value specified by the SystemProductName attribute must be identical with the value in Product Name field in SMBIOS table in the target PC. 下表显示了 SMBIOS 中“产品名称”字段的字段信息。The following table shows the field information in SMBIOS of the Product Name field.

字段名称Field name 结构名称和类型Structure name and type SMBIOS 规范版本SMBIOS specification version 偏移量Offset 长度Length Value 描述Description

产品名称Product Name

系统信息(类型 1)System Information (Type 1)

2.0+2.0+

05h05h

BYTEBYTE

STRINGSTRING

dmiStrucBuffer 数组中以 Null 结尾的字符串的索引。The index of a null-terminated string within the dmiStrucBuffer array. 此字符串指定计算机的产品名称。This string specifies the product name of the computer.

有关 dmiStrucBuffer 数组和 SMBIOS 字段的详细信息,请参阅系统管理 BIOS (SMBIOS) 规范For more information about the dmiStrucBuffer array and the SMBIOS fields, see System Management BIOS (SMBIOS) Specification.

BIOSVendor 属性BIOSVendor Attributes

BIOSVendor 属性指定 BIOS 制造商的名称。The BIOSVendor attributes specifies the name of the BIOS manufacturer.

<xs:attribute name="BIOSVendor" type="tns:SMBIOSStringType" use="optional" />

<xs:simpleType name="SMBIOSStringType">
  <xs:restriction base="xs:string">
    <xs:minLength value="1" />
    <xs:maxLength value="64" />
  </xs:restriction>
</xs:simpleType>

备注Remarks

BIOSVendor 属性指定的值必须与目标电脑 SMBIOS 表中“供应商”字段中的值相同。The value specified by the BIOSVendor attribute must be identical with the value in the Vendor field in the SMBIOS table in the target PC. 下表显示了 SMBIOS 中“供应商”字段的字段信息。The following table shows the field information in the SMBIOS of the Vendor field.

字段名称Field name 结构名称和类型Structure name and type SMBIOS 规范版本SMBIOS specification version 偏移量Offset 长度Length Value 描述Description

供应商Vendor

BIOS 信息(类型 0)BIOS Information (Type 0)

2.02.0

04h04h

BYTEBYTE

STRINGSTRING

dmiStrucBuffer 数组中以 Null 结尾的字符串的索引。The index of a null-terminated string within the dmiStrucBuffer array. 此字符串指定 BIOS 供应商的名称。This string specifies the name of the BIOS vendor.

有关 dmiStrucBuffer 数组和 SMBIOS 字段的详细信息,请参阅系统管理 BIOS (SMBIOS) 规范For more information about the dmiStrucBuffer array and the SMBIOS fields, see System Management BIOS (SMBIOS) Specification.

BIOSVersion 属性BIOSVersion Attributes

BIOSVersion 属性指定 BIOS 的版本号。The BIOSVersion attributes specifies the version number of the BIOS.

<xs:attribute name="BIOSVersion" type="tns:SMBIOSStringType" use="optional" />

<xs:simpleType name="SMBIOSStringType">
  <xs:restriction base="xs:string">
    <xs:minLength value="1" />
    <xs:maxLength value="64" />
  </xs:restriction>
</xs:simpleType>

备注Remarks

BIOSVersion 属性指定的值必须与目标电脑 SMBIOS 表中“BIOS 版本”字段中的值相同。The value specified by the BIOSVersion attribute must be identical with the value in the BIOS Version field in the SMBIOS table in the target PC. 下表显示了 SMBIOS 中“BIOS 版本”字段的字段信息。The following table shows the field information in the SMBIOS of the BIOS Version field.

字段名称Field name 结构名称和类型Structure name and type SMBIOS 规范版本SMBIOS specification version 偏移量Offset 长度Length Value 描述Description

BIOS 版本BIOS Version

BIOS 信息(类型 0)BIOS Information (Type 0)

2.02.0

05h05h

BYTEBYTE

STRINGSTRING

dmiStrucBuffer 数组中以 Null 结尾的字符串的索引。The index of a null-terminated string within the dmiStrucBuffer array. 此字符串包含有关处理器核心和 OEM 版本的信息。This string can contain information about the processor core and OEM version.

有关 dmiStrucBuffer 数组和 SMBIOS 字段的详细信息,请参阅系统管理 BIOS (SMBIOS) 规范For more information about the dmiStrucBuffer array and the SMBIOS fields, see System Management BIOS (SMBIOS) Specification.

SystemBIOSMajorRelease 属性SystemBIOSMajorRelease Attributes

SystemBIOSMajorRelease 属性指定 BIOS 的主要发行版本。The SystemBIOSMajorRelease attributes specifies the Major Release version of the BIOS.

<xs:attribute name="SystemBIOSMajorRelease" type="tns:BIOSReleaseType" use="optional" />

<xs:simpleType name="BIOSReleaseType">
  <xs:restriction base="xs:hexBinary">
    <xs:minLength value="1" />
    <xs:maxLength value="1" />
  </xs:restriction>
</xs:simpleType>

备注Remarks

SystemBIOSMajorRelease 属性指定的值必须与目标电脑 SMBIOS 表中 SystemBIOSMajorRelease 字段中的值相同。The value specified by the SystemBIOSMajorRelease attribute must be identical with the value in the SystemBIOSMajorRelease field in the SMBIOS table in the target PC. 下表显示了 SMBIOS 中 SystemBIOSMajorRelease 字段的字段信息。The following table shows the field information in the SMBIOS of the SystemBIOSMajorRelease field.

字段名称Field name 结构名称和类型Structure name and type SMBIOS 规范版本SMBIOS specification version 偏移量Offset 长度Length Value 描述Description

系统 BIOS 主要版本System BIOS Major Release

BIOS 信息(类型 0)BIOS Information (Type 0)

2.42.4

14h14h

BYTEBYTE

视情况而定。Varies.

系统 BIOS 的主要版本。The major release of the system BIOS.

有关 SMBIOS 字段的详细信息,请参阅系统管理 BIOS (SMBIOS) 规范For more information about the SMBIOS fields, see System Management BIOS (SMBIOS) Specification.

SystemBIOSMinorRelease 属性SystemBIOSMinorRelease Attributes

SystemBIOSMinorRelease 属性指定 BIOS 的次要发行版本。The SYSTEMBIOSMinorRelease attributes specifies the minor release version of the BIOS.

<xs:attribute name="SystemBIOSMinorRelease" type="tns:BIOSReleaseType" use="optional" />

<xs:simpleType name="BIOSReleaseType">
  <xs:restriction base="xs:hexBinary">
    <xs:minLength value="1" />
    <xs:maxLength value="1" />
  </xs:restriction>
</xs:simpleType>

备注Remarks

SystemBIOSMinorRelease 属性指定的值必须与目标电脑 SMBIOS 表中 SystemBIOSMinorRelease 字段中的值相同。The value specified by the SystemBIOSMinorRelease attribute must be identical with the value in the SystemBIOSMinorRelease field in the SMBIOS table in the target PC. 下表显示了 SMBIOS 中 SystemBIOSMinorRelease 字段的字段信息。The following table shows the field information in the SMBIOS of the SystemBIOSMinorRelease field.

字段名称Field name 结构名称和类型Structure name and type SMBIOS 规范版本SMBIOS specification version 偏移量Offset 长度Length Value 描述Description

系统 BIOS 次要版本System BIOS Minor Release

BIOS 信息(类型 0)BIOS Information (Type 0)

2.42.4

15h15h

BYTEBYTE

视情况而定。Varies.

系统 BIOS 的次要版本。The minor release of the system BIOS.

有关 SMBIOS 字段的详细信息,请参阅系统管理 BIOS (SMBIOS) 规范For more information about the SMBIOS fields, see System Management BIOS (SMBIOS) Specification.

Enclosuretype 属性Enclosuretype Attribute

Enclosuretype 属性指定计算机的机箱类型。The Enclosuretype attributes specifies the Enclosure type of the computer.

<xs:attribute name="EnclosureType" type="tns:TypeofEnclosureType" use="optional" />

<xs:simpleType name="TypeofEnclosureType">
  <xs:restriction base="xs:hexBinary">
    <xs:pattern value="([0-7][0-9A-F]|0[0-9A-F])" />
  </xs:restriction>
</xs:simpleType>

备注Remarks

Enclosuretype 属性指定的值必须与目标电脑 SMBIOS 表中“机箱”字段中的值相同。The value specified by the Enclosuretype attribute must be identical with the value in the Enclosure field in the SMBIOS table in the target PC. 下表显示了 SMBIOS 中“机箱”字段的字段信息。The following table shows the field information in the SMBIOS of the Enclosure field.

字段名称Field name 结构名称和类型Structure name and type SMBIOS 规范版本SMBIOS specification version 偏移量Offset 长度Length Value 描述Description

机箱类型Enclosure type

系统机箱(类型 3)System Enclosure (Type 3)

2.0+2.0+

05h05h

BYTEBYTE

视情况而定。Varies.

系统机箱或机壳类型。The system enclosure or chassis types.

有关 SMBIOS 字段的详细信息,请参阅系统管理 BIOS (SMBIOS) 规范For more information about the SMBIOS fields, see System Management BIOS (SMBIOS) Specification.

SKUNumber 元素SKUNumber Element

SKUNumber 元素指定计算机的 SKU 号。The SKUNumber element specifies the SKU Number of the computer.

<xs:attribute name="SKUNumber" type="tns:SMBIOSStringType" />

<xs:simpleType name="SMBIOSStringType">
  <xs:restriction base="xs:string">
    <xs:minLength value="1" />
    <xs:maxLength value="64" />
  </xs:restriction>
</xs:simpleType>

备注Remarks

SKUNumber 元素指定的值必须与目标电脑 SMBIOS 表中“SKU 号”字段中的值相同。The value specified by the SKUNumber element must be identical with the value in the SKU Number field in the SMBIOS table in the target PC. 下表显示了 SMBIOS 中“SKU 号”字段的字段信息。The following table shows the field information in the SMBIOS of the SKU Number field.

字段名称Field name 结构名称和类型Structure name and type SMBIOS 规范版本SMBIOS specification version 偏移量Offset 长度Length Value 描述Description

SKU 号SKU Number

系统信息(类型 1)System Information (Type 1)

2.4+2.4+

19h19h

BYTEBYTE

STRINGSTRING

以 Null 结尾的字符串编号。此文本字符串用于标识销售的特定计算机配置。Number of Null terminated string.This text string is used to identify a particular computer configuration for sale. 有时也将它称为产品 ID 或采购订单号。It is sometimes also called a product ID or purchase order number. 此编号通常会在现有字段中找到,但是没有标准格式。This number is frequently found in existing fields, but there is no standard format. 通常,对于给定 OEM 的给定系统板,会有数十个独特的处理器、内存、硬盘驱动器和光驱配置。Typically for a given system board from a given OEM, there are tens of unique processor, memory, hard drive, and optical drive configurations.

有关 SMBIOS 字段的详细信息,请参阅系统管理 BIOS (SMBIOS) 规范For more information about the SMBIOS fields, see System Management BIOS (SMBIOS) Specification.

PcMetadataSubmission XML 示例PcMetadataSubmission XML Example

以下 XML 文档使用 PcMetadataSubmission XML 架构来指定目标计算机的 PcMetadataSubmission 信息的组成部分。The following XML document uses the PcMetadataSubmission XML schema to specify the components of PcMetadataSubmission information of the target computer.

<?xml version="1.0" encoding="utf-8"?>
<PcMetadataSubmission xmlns="http://schemas.microsoft.com/Windows/2009/05/MetadataSubmission/PcMetadataSubmission">
  <SMBIOSList>
   <SMBIOSEntry
      SystemManufacturer="FABRIKAM"
      SystemFamily="FABRIKAM A SERIES"
      SystemProductName="FABRIKAM LAPTOP"
      BIOSVendor="FABRIKAM"
      BIOSVersion="7BETC7WW (2.08 )"
      SystemBIOSMajorRelease="08"
      SystemBIOSMinorRelease="00"
      EnclosureType="0A"
      v2:SKUNumber="1234567890ABCD"
    />
  </SMBIOSList>
</PcMetadataSubmission>

创建 LocaleInfo.xmlCreating LocaleInfo.xml

有关创建用于提交的 Localeinfo.xml 文件的信息,请参阅创建 LocaleInfo.xml 提交文件For information about creating the Localeinfo.xml file for submission, see Create the LocaleInfo.xml Submission File.

向 Microsoft 发送有关该主题的评论Send comments about this topic to Microsoft