- Abbreviation for HKEY_CLASSES_ROOT
- Abbreviation for HKEY_CURRENT_USER
- Abbreviation for HKEY_LOCAL_MACHINE
- Abbreviation for HKEY_USERS
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.