Method System.RegGetKeyNames()
- Method
RegGetKeyNames
array(string) RegGetKeyNames(inthkey,stringkey)- Description
Get a list of value key names from the register.
- Parameter
hkey One of the following:
HKEY_CLASSES_ROOTHKEY_LOCAL_MACHINEHKEY_CURRENT_USERHKEY_USERS- Parameter
key A registry key.
- Returns
Returns an array of value keys stored at the specified location if any. Returns
UNDEFINEDon missingkey. Throws errors on other failures.- Example
> RegGetKeyNames(HKEY_CURRENT_USER, "Keyboard Layout"); (1) Result: ({ "IMEtoggle", "Preload", "Substitutes", "Toggle" })
- Note
This function is only available on Win32 systems.
- See also