INF对注册表的操作

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.

转载于:https://www.cnblogs.com/fanzi2009/archive/2009/07/20/1527081.html

评论将由博主筛选后显示,对所有人可见 | 还能输入1000个字符 “速评一下”
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页