Registry Base Key Flags

Const HKEY_CURRENT_USER = &H80000001
Const HKEY_LOCAL_MACHINE = &H80000002
Const HKEY_USERS = &H80000003
Const HKEY_CURRENT_CONFIG = &H80000005
Const HKEY_DYN_DATA = &H80000006

The registry base key flags identify the permanently-open base registry keys. All other registry keys are below one of these. Obviously, they cannot be combined.

HKEY_CURRENT_USER
The HKEY_CURRENT_USER base key, which stores program information for the current user.
HKEY_LOCAL_MACHINE
The HKEY_LOCAL_MACHINE base key, which stores program information for all users.
HKEY_USERS
The HKEY_USERS base key, which has all the information for any user (not just the one provided by HKEY_CURRENT_USER).
HKEY_CURRENT_CONFIG
The HKEY_CURRENT_CONFIG base key, which stores computer configuration information.
HKEY_DYN_DATA
The HKEY_DYN_DATA base key, which stores dynamic data.

Used by: RegCreateKeyEx, RegOpenKeyEx
Back to the index.


Back to Paul Kuliniewicz's Home Page
E-mail: Borg953@aol.com
This page is at http://members.aol.com/Borg953/api/constants/registrybasekeyflags.html