DEVPKEY_DeviceClass_Name设备属性表示 设备设置类的友好名称。
| Attribute | Value |
|---|---|
属性键 |
DEVPKEY_DeviceClass_Name |
属性数据类型标识符 |
|
属性访问 |
安装应用程序和安装程序的只读访问权限 |
本地化? |
No |
Remarks
DEVPKEY_DeviceClass_Name的值由安装该类的 INF ClassInstall32 节中包含的 INF AddReg 指令设置。 若要设置类的友好名称,请使用 AddReg 指令设置类的 (Default) 注册表项值。
可以调用 CM_Get_Class_Property 或 SetupDiGetClassProperty 来检索DEVPKEY_DeviceClass_Name的值。
Windows Server 2003、Windows XP 和 Windows 2000 支持此属性,但不支持DEVPKEY_DeviceClass_Name属性键。 有关如何在 Windows Server 2003、Windows XP 和 Windows 2000 上访问设备安装类的友好名称的信息,请参阅访问设备安装程序类的友好名称和类名称。
要求
版本:Windows Vista 和更高版本的 Windows 标头:Devpkey.h(包括 Devpkey.h)