Extracted from Pike v7.6 release 61 at 2005-12-30.
pike.ida.liu.se
[Top]
System

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

RegGetValues() , RegGetKeyNames()