pike.hubbe.net

[Top]
system
previoussystem.RegGetKeyNames() system.RegGetValues()next

Method system.RegGetValue()


Method RegGetValue

string|int|array(string) system.RegGetValue(int hkey, string key, string index)

Description

Get a single value from the register.

Parameter hkey

One of the following:

HKEY_CLASSES_ROOT
HKEY_LOCAL_MACHINE
HKEY_CURRENT_USER
HKEY_USERS

Parameter key

Registry key.

Parameter index

Value name.

Returns

Returns the value stored at the specified location in the register if any. Throws errors on failure.

Note

This function is only available on Win32 systems.

See also

system.RegGetValues, system.RegGetKeyNames


Extracted from Pike v7.3 release 11 at 2001-11-03.