DataLab is a compact statistics package aiming at exploratory data analysis. Please visit the DataLab Web site for more information....


GetAllRegSubkeys

Declaration: GetAllRegSubkeys (RootKey: TRegRootKey; RegKey: string; SubKeys: TStringList): integer;
The function GetAllRegSubkeys returns all subkeys of a specific Windows registry path. The parameter RootKey defines the root key and the parameter RegKey specifies the key (including its path) for which the subkeys are to be retrieved. All subkey names of the specified key are returned in the string list SubKeys.

The function returns the number of keys in SubKeys as a function result.