ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Registry functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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
// Récupération de la liste des valeurs de la clé "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:
    <Nom Valeur 1> + RC + <Nom Valeur 2> + ... + <Nom Valeur N>
  • Detailed list:
    <Nom Valeur 1> + TAB + <Type Valeur 1> + RC + ... +
    <Nom Valeur N> + TAB + <Type Valeur N>

    In this case, <Type> corresponds to the following letters:
    • "N": Numerical value
    • "T": Chain
    • "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) to get the value of specified key.
Business / UI classification: Business Logic
Component: wd300std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help