使用计算机硬件 ID (CHID)Using Computer Hardware IDs (CHIDs)

计算机硬件 ID (CHID) 在为计算机指定硬件 ID 中定义。Computer Hardware IDs (CHIDs) are defined in the Specifying Hardware IDs for a Computer.

Windows10 添加多个合并基板制造商和基板产品信息的新 CHID。Windows 10 adds several new CHIDs that incorporate Baseboard Manufacturer and Baseboard Product information. 这些新 CHID 包含在 CHID 层次结构中,如下表所示。These new CHIDs are included in the CHID hierarchy as shown in the table below. 此表以特异性的降序顺序显示该层次结构。The table shows the hierarchy in descending order of specificity. Windows10 中新添加的 CHID 以粗体突出显示。CHIDs that are new to Windows 10 are highlighted in bold.

HWIDHWID 内容Contents

HardwareID-0HardwareID-0

制造商 + 系列 + 产品名称 + SKU 号 + BIOS 供应商 + BIOS 版本 + BIOS 主要版本 + BIOS 次要版本Manufacturer + Family + Product Name + SKU Number + BIOS Vendor + BIOS Version + BIOS Major Release + BIOS Minor Release

HardwareID-1HardwareID-1

制造商 + 系列 + 产品名称 + BIOS 供应商 + BIOS 版本 + BIOS 主要版本 + BIOS 次要版本Manufacturer + Family + Product Name + BIOS Vendor + BIOS Version + BIOS Major Release + BIOS Minor Release

HardwareID-2HardwareID-2

制造商 + 产品名称 + BIOS 供应商 + BIOS 版本 + BIOS 主要版本 + BIOS 次要版本Manufacturer + Product Name + BIOS Vendor + BIOS Version + BIOS Major Release + BIOS Minor Release

HardwareID-3HardwareID-3

制造商 + 系列 + 产品名称 + SKU 号 + Baseboard_Manufacturer + Baseboard_ProductManufacturer + Family + ProductName + SKU Number + Baseboard_Manufacturer + Baseboard_Product

HardwareID-4HardwareID-4

制造商 + 系列 + 产品名称 + SKU 号Manufacturer + Family + ProductName + SKU Number

HardwareID-5HardwareID-5

制造商 + 系列 + 产品名称Manufacturer + Family + ProductName

HardwareID-6HardwareID-6

制造商 + SKU 号 + Baseboard_Manufacturer + Baseboard_ProductManufacturer + SKU Number + Baseboard_Manufacturer + Baseboard_Product

HardwareID-7HardwareID-7

制造商 + SKU 号Manufacturer + SKU Number

HardwareID-8HardwareID-8

制造商 + 产品名称 + Baseboard_Manufacturer + Baseboard_ProductManufacturer + ProductName + Baseboard_Manufacturer + Baseboard_Product

HardwareID-9HardwareID-9

制造商 + 产品名称Manufacturer + ProductName

HardwareID-10HardwareID-10

制造商 + 系列 + Baseboard_Manufacturer + Baseboard_ProductManufacturer + Family + Baseboard_Manufacturer + Baseboard_Product

HardwareID-11HardwareID-11

制造商 + 系列Manufacturer + Family

HardwareID-12HardwareID-12

制造商 + 机箱类型Manufacturer + Enclosure Type

HardwareID-13HardwareID-13

制造商 + Baseboard_Manufacturer + Baseboard_ProductManufacturer + Baseboard_Manufacturer + Baseboard_Product

HardwareID-14HardwareID-14

制造商Manufacturer

OEM 必须向驱动程序发布者提供正确的 CHID 信息。OEMs must provide the correct CHID information to the driver publisher. 包含在 Windows 桌面工具 SDK 中的 ComputerHardwareIds 工具有助于从一组已知的系统管理 BIOS (SMBIOS) 值中报告 CHID。The ComputerHardwareIds tool, included in the Windows Desktop Tools SDK, can help with reporting CHIDs from a known set of System Management BIOS (SMBIOS) values. ComputerHardwareIds 执行两个不同的任务。ComputerHardwareIds performs two different tasks.

  1. 默认行为:该工具报告系统的 SMBIOS 值和生成的 CHID。Default behavior: The tool reports the system's SMBIOS values and generated CHIDs.

    默认情况下,该工具显示系统的 SMBIOS 值以及从 SMBIOS 值中生成的 CHID。By default, the tool displays the system’s SMBIOS values, and the CHIDs that are generated from the SMBIOS values.

  2. 模拟行为:该工具从用户提供的 SMBIOS 值中生成 CHID。Simulation behavior: The tool generates CHIDs from user provided SMBIOS values.

    可使用模拟 SMBIOS 值(例如制造商、系列和 SKU)运行该工具,以获取生成的 CHID 列表。You can run the tool with simulated SMBIOS values (such as manufacturer, family, and SKU) to get a list of generated CHIDs. 这允许你确定将在带有特定 SMBIOS 数据值的系统上生成哪些 CHID。This allows you to determine which CHIDs would be generated on a system with specific SMBIOS data values.

一致 CHID 的提示Tips for consistent CHIDs

CHID 基于区分大小写的 SMBIOS 值生成。CHIDs are generated based on case sensitive SMBIOS values. 必须小心地确保系统不在 SMBIOS 文本值中混合大小写。Care must be taken to ensure that systems do not mix cases in SMBIOS text values. 同样,不特殊处理 UNICODE 字符。Similarly, UNICODE characters are not specially treated. 区别对待特殊字符的大写和小写版本,如土耳其语的带点和不带点的字母 I:I、ı、İ 和 i 是不同的。Upper and lower case versions of special characters, such as the Turkish dotted and un-dotted letter I, are treated uniquely: I, ı, İ and i are not the same.

ComputerHardwareIds 工具仅计算提供必要的 SMBIOS 值的 CHID。The ComputerHardwareIds tool only computes CHIDs that have the necessary SMBIOS values available. 如果缺少 SMBIOS 数据字段(或为空),不会生成任何相关的 CHID。If an SMBIOS data field is missing (or it is null), then any related CHIDs are not generated. 例如,如果 SMBIOS SKU 字段为空,CHID 0、3、4、6 和 7 将不可用于该特定系统。For example, if the SMBIOS SKU field is null, then CHIDs 0, 3, 4 6 and 7 will not be available for that particular system.

有关 CHID 的详细信息,请参阅 Windows10 驱动程序发布工作流 第 3 部分。For more information about CHIDs, see Windows 10 Driver Publishing Workflow, section 3.

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