I.2. Registry Root Key Hives
In the Registry, a hive is a node that often contains other keys and values. There are several root keys that you can use for functions that require that a root key be supplied for one of the parameters. These keys are defined as follows:
Const HKEY_CLASSES_ROOT As Long = &H80000000 Const HKEY_CURRENT_CONFIG As Long = &H80000005 Const HKEY_CURRENT_USER As Long = &H80000001 Const HKEY_DYN_DATA As Long = &H80000006
Const HKEY_LOCAL_MACHINE As Long = &H80000002 Const HKEY_PERF_ROOT As Long = HKEY_LOCAL_MACHINE Const HKEY_PERFORMANCE_DATA As Long = &H80000004 Const HKEY_USERS As Long = &H80000003
Get Access™ 2007 VBA Programmer's Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.