MSI Factory 2.3

Registry.GetValueNames

Registry.GetValueNames

Previous topic Next topic  

Registry.GetValueNames

Previous topic Next topic  

OverviewExamples

table Registry.GetValueNames (

number MainKey,

string SubKey )

Description

Returns the names of all of the values within a specific sub key.

Parameters

MainKey

(number) The main or "root" key containing the sub key. Choose from:

CONSTANT

VALUE

HKEY_CLASSES_ROOT

0

HKEY_CURRENT_CONFIG

1

HKEY_CURRENT_USER

2

HKEY_LOCAL_MACHINE

3

HKEY_USERS

4

SubKey

(string) The sub key whose value names you want.

Returns

(table) A table containing the names of all the values in the sub key. If the sub key contains no values or an error occurs, nil is returned.  You can use Application.GetLastError to determine whether this action failed, and why.

See also: Related Actions


Learn More: Indigo Rose Software - MSI Factory - Buy Now - Contact Us