RegDBGetDefaultRoot
InstallShield 2024 » InstallScript Language Reference
Project:
The RegDBGetDefaultRoot function returns the root key that is used by the general registry-related functions.
Note:This function supports the 64-bit parts of the registry by using the REGDB_OPTION_WOW64_64KEY option. For more information, see REGDB_OPTIONS.
Syntax
RegDBGetDefaultRoot ( );
Parameters
None.
Return Values
• | HKEY_CLASSES_ROOT |
• | HKEY_CURRENT_USER |
• | HKEY_LOCAL_MACHINE |
• | HKEY_USERS |
• | HKEY_CURRENT_CONFIG |
• | HKEY_DYN_DATA |
• | HKEY_USER_SELECTABLE |
Note:The return value HKEY_USER_SELECTABLE indicates that a subsequent registry function call uses HKEY_LOCAL_MACHINE as the root key if the ALLUSERS system variable is non-zero when the function is called, or uses HKEY_CURRENT_USER as the root key if ALLUSERS is FALSE when the function is called.
See Also