注册表项 DeviceInstance

regedit

 

USB 设备注册表项 - Windows drivers | Microsoft Docs https://docs.microsoft.com/zh-cn/windows-hardware/drivers/usbcon/usb-device-specific-registry-settings

本主题介绍特定于设备的注册表项。

在 Windows 上枚举设备信息后查找设备信息

查看设备接口 GUID、硬件 ID 和设备类有关设备的信息

  1. 找到此注册表项并记下 DeviceInstance 值:

    HKEY _ LOCAL MACHINE SYSTEM _ \ \ CurrentControlSet \ 控件 \ DeviceClasses\

    usb 硬件 ID。

  2. 找到设备实例注册表项并获取设备接口 GUID:

    HKEY _ LOCAL MACHINE SYSTEM _ \ \ CurrentControlSet \ 枚举 USB 硬件 ID 实例 ID \ \ < > \ < > \ 设备参数

    usb 设备接口 guid。

  3. 在设备实例密钥下,记下设备类、子类和协议代码:

    HKEY _ LOCAL MACHINE SYSTEM _ \ \ CurrentControlSet \ 枚举 \ USB

    usb 设备类子类协议代码。

 

 

https://msdn.microsoft.com/en-us/library/windows/desktop/ms724871(v=vs.85).aspx

https://msdn.microsoft.com/en-us/library/windows/desktop/ms724946(v=vs.85).aspx

 

The registry is a system-defined database in which applications and system components store and retrieve configuration data. The data stored in the registry varies according to the version of Microsoft Windows. Applications use the registry API to retrieve, modify, or delete registry data.

 

The registry is a hierarchical database that contains data that is critical for the operation of Windows and the applications and services that run on Windows. The data is structured in a tree format. Each node in the tree is called a key. Each key can contain both subkeys and data entries called values. Sometimes, the presence of a key is all the data that an application requires; other times, an application opens a key and uses the values associated with the key. A key can have any number of values, and the values can be in any form. For more information, see Registry Value Types and Registry Element Size Limits.

Each key has a name consisting of one or more printable characters. Key names are not case sensitive. Key names cannot include the backslash character (\), but any other printable character can be used. Value names and data can include the backslash character.

The name of each subkey is unique with respect to the key that is immediately above it in the hierarchy. Key names are not localized into other languages, although values may be.

 

posted @ 2021-11-01 15:52  papering  阅读(278)  评论(0编辑  收藏  举报