|
|
|
|
RegistryFirstSubKey (Function) In french: RegistrePremièreSousClé Identifies the path of first subkey of specified key in the Windows registry. Path is string // Find out the name of primary key Path = RegistryFirstSubKey() // Browse all the subkeys WHILE Path <> "" Path = RegistryNextKey(Path) END
// Identifies the first subkey of "HKEY_LOCAL_MACHINE\SYSTEM" ResSubKey = RegistryFirstSubKey("HKEY_LOCAL_MACHINE\SYSTEM")
Syntax
<Result> = RegistryFirstSubKey([<Access mode> [, <Key path>]])
<Result>: Character string - Full path of first subkey for the specified key,
- Empty string ("") if no sub-key was found.
<Access mode>: Integer constant Registry access mode:
| | registryMode32 | Forced mode to access the registry as a 32-bit program. | registryMode64 | Forced 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>: Optional character string Path of key to use. If this parameter is not specified, the path of first subkey of "HKEY_CLASSES_ROOT" is returned. Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|