Method RegGetValues()
- Method RegGetValues
mapping(string:string|int|array(string)) RegGetValues(inthkey,stringkey)- Description
Get multiple values from the register.
- Parameter
hkey One of the following:
HKEY_CLASSES_ROOTHKEY_LOCAL_MACHINEHKEY_CURRENT_USERHKEY_USERS- Parameter
key Registry key.
- Returns
Returns a mapping with all the values stored at the specified location in the register if any. Returns
UNDEFINEDon missingkey. Throws errors on other failures.- Example
> RegGetValues(HKEY_CURRENT_USER, "Keyboard Layout\\Preload"); (5) Result: ([ "1":"0000041d" ])
- Note
This function threw errors on missing
keyin Pike 7.6 and earlier (see System.RegGetValues_76()).- Note
This function is only available on Win32 systems.
- See also