Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


Additional Registry Key Handles

Keywords: registry keys 

There are only two real main keys in the Registry. One key, HKEY_LOCAL_MACHINE, contains all machine information including hardware, applications, and services. The other, HKEY_USERS, contains all user information. The other keys are merely pointers to the structures of these two.

There are some pre-defined registry keys in Windows NT and 95 that we don't have constants for. Users can specify their values as follows:

HKEY_PERFORMANCE_DATA		@REGCLASSES + 4
HKEY_CURRENT_CONFIG		@REGCLASSES + 5
HKEY_DYN_DATA			@REGCLASSES + 6

The remaining registry keys can be accessed via the following:

HKEY_CLASSES_ROOT		@REGCLASSES
HKEY_CURRENT_USER		@REGCURRENT
HKEY_LOCAL_MACHINE		@REGMACHINE
HKEY_USERS			@REGUSERS
NOTE: The @REGROOT constant is to be used for 16 bit Windows only.
Article ID:   W13710
Filename:   Additional Key Handles.txt