ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Registry functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
RegistryListValue (Function)
In french: RegistreListeValeur
Returns the name (and possibly the type) of values for a key found in the registry.
Example
// Retrieve the list of values for "HKEY_CURRENT_USER\Console"
Info(RegistryListValue("HKEY_CURRENT_USER\Console"))
Syntax
<Result> = RegistryListValue([<Access mode>, ] <Key path> [, <Detailed result>])
<Result>: Character string
  • List of requested information
  • Empty string ("") if an error occurred or if the key contains no value.
This result has the following format:
  • Simple list:
    <Name Value 1> + CR + <Name Value 2> + ... + <Name Value N>
  • Detailed list:
    <Name Value 1> + TAB + <Type Value 1> + CR + ... +
    <Name Value N> + TAB + <Type Value N>

    In this case, <Type> corresponds to the following letters:
    • "N": Numeric value
    • "T": String
    • "B": Binary value
<Access mode>: Integer constant
Registry access mode:
registryMode32Forced mode to access the registry as a 32-bit program.
registryMode64Forced mode to access the registry as a 64-bit program.
registryModeAuto
(Default value)
Automatic registry access mode:
  • a 32-bit application running on a 32-bit system manipulates the registry as a 32-bit program.
  • a 32-bit application running on a 64-bit system manipulates the registry from the following branch:
    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node
  • a 64-bit application running on a 64-bit system manipulates the registry as a 64-bit program.
<Key path>: Character string
Full path of key to use.
<Detailed result>: Optional boolean
  • True to get the value and type of the specified key,
  • False (default value) to get the value of specified key.
Business / UI classification: Business Logic
Component: wd290std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help