Method System.RegGetValues()
- Method
RegGetValues
mapping(string:string|int|array(string)) RegGetValues(inthkey,stringkey,bool|voidno_expand)- 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.
- Parameter
no_expand Set this to
1to not expand variables inREG_EXPAND_SZ-values.- 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 is only available on Win32 systems.
- Note
Prior to Pike 9.0
REG_EXPAND_SZ-values were always expanded.- See also