The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



GetAllRegValueNames


Unit: SDL_filesys
Class: none
Declaration: function GetAllRegValueNames (RootKey: HKEY; RegKey: string; ValueNames: TStringList): integer;

The function GetAllRegValueNames returns all value names of a specific Windows registry path. The parameter RootKey defines the root key and can take one of the following values: HKEY_CURRENT_USER, HKEY_LOCAL_MACHINE, HKEY_USERS, HKEY_PERFORMANCE_DATA, HKEY_CURRENT_CONFIG and HKEY_DYN_DATA. The parameter RegKey specifies the key (including its path) for which the values are to be retrieved. All value names of the specified key are returned in the string list ValueNames.

The function returns the number of values in ValueNames as a function result.



Last Update: 2023-Feb-06