阅读:1524回复:3
哪位帮忙看一个 INF 语句,多谢!
在普通驱动程序安装inf 文件中:
[ClassInstall32] Addreg=Class_AddReg ///////////////////////////////////////////// [Class_AddReg] HKR,,,,%DeviceClassName% HKR,,Icon,,"-5" 这个 HKR 具体表示什么?它后面的四个逗号又是什么意思 ? 还有下面那个 -5 听人说代表一种系统图标,不知哪位有其相关资料可否给贴上来或给个链接也行 多谢了! |
|
沙发#
发布于:2008-08-14 07:47
msdn中关于inf的部分有说明
|
|
|
板凳#
发布于:2008-08-14 08:07
哥啊, 您不能直接告我答案吗,
|
|
地板#
发布于:2008-08-14 08:24
reg-root
Identifies the root of the registry tree for other values supplied in this entry. The value can be one of the following: HKCR Abbreviation for HKEY_CLASSES_ROOT HKCU Abbreviation for HKEY_CURRENT_USER HKLM Abbreviation for HKEY_LOCAL_MACHINE HKU Abbreviation for HKEY_USERS HKR Relative root – that is, keys specified using this abbreviation are relative to the registry key associated with the INF section in which this AddReg directive appears, as indicated in the following table. INF Section Containing AddReg Directive Registry Key Referenced by HKR INF DDInstall section The device's software key INF DDInstall.HW section The device's hardware key INF DDInstall.Services section The Services key Note that HKR cannot be used in an add-registry-section referenced from an INF DefaultInstall section. For more information about driver information stored under the HKEY_LOCAL_MACHINE root, see Driver Information in the Registry. |
|