Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

TPJRegRootKey type

Project: Window State Components.

Unit: PJWdwState.

Applies to: ~>5.6

type
  TPJRegRootKey = (
    hkClassesRoot, hkCurrentUser, hkLocalMachine,
    hkUsers, hkPerformanceData, hkCurrentConfig, hkDynData
  );

Description

This enumerated type has an entry for each supported type of registry root key.

Each value represents a value defined by one of the HKEY_xxx constants as follows:

TPJRegRootKey value HKEY constant
hkClassesRoot HKEY_CLASSES_ROOT
hkCurrentUser HKEY_CURRENT_USER
hkLocalMachine HKEY_LOCAL_MACHINE
hkUsers HKEY_USERS
hkPerformanceData HKEY_PERFORMANCE_DATA
hkCurrentConfig HKEY_CURRENT_CONFIG
hkDynData HKEY_DYN_DATA

TPJRegRootKey is used as the type for the TPJRegWdwState.RootKeyEx [~>5.6] property and the RootKeyEx parameter of the TPJRegWdwState.OnGetRegDataEx [~>5.6] event.