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
Seeks a character string in the registry.
Example
// Retrieve all the "FullScreen" values
// of the "HKEY_CURRENT_USER\Console" key
Key is string = "HKEY_CURRENT_USER\Console"
WHILE Key <> ""
Key = RegistrySeek(Key, "FullScreen")
Info(Key)
END
// Retrieve all the "FullScreen" values
// of the "HKEY_CURRENT_USER\Console" key
// Forced "64-bit application" access mode
Key is string = "HKEY_CURRENT_USER\Console"
WHILE Key <> ""
Key = RegistrySeek(registryMode64, Key, "FullScreen")
Info(Key)
END
Syntax
<Result> = RegistrySeek([<Access mode>, ] <Search base path> , <Search string> [, <Options>])
<Result>: Character string
Search result (empty string if an error occurred). The result has the following format:
<Key path> + TAB + <Subkey> [ + TAB + <Value> [ + TAB + <Data>]]
<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.
<Search base path>: Character string
Path of key from which the search is performed. This path has the following format:
<Key path>[ + TAB + <Subkey> [ + TAB + <Value> [ + TAB + <Data>]]]
<Search string>: Character string
Character string sought in the registry.
<Options>: Optional Integer constant (or combination of constants)
Search mode. The default search mode corresponds to:
RegistrySeekKey + RegistrySeekValue + RegistrySeekData + RegistrySeekRecursive.
registrySeekDataPerforms a search in the data (String, Multiple String or Extensible String data only).
registrySeekKeyPerforms a search in the name of keys.
registrySeekRecursivePerforms a recursive search from the base key of the search.
registrySeekValuePerforms a search in the names of values.
registrySeekWholeWordSearches for the full word specified in the <Search string> parameter.
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