win.EnumRegValue

LuaFAR 3

win.EnumRegValue


ValueName = win.EnumRegValue (RootKey, Key, Index, [AccessMask])

Parameters:
  RootKey:     string (one of: "HKLM", "HKCC", "HKCR", "HKCU", "HKU")
  Key:         string (specify "" if RootKey itself is enumerated)
  Index:       integer (0-based)
  AccessMask:  flag ("KEY_WOW64_32KEY" or "KEY_WOW64_64KEY"; the default is 0)

Returns:
  ValueName: string, or nil

Description:
  This function enumerates values of the given registry key.