|
|
|
|
|
RegistryDeleteKey (Function) In french: RegistreSupprimeClé Deletes a subkey from the Windows registry. Note The function RegistryDeleteKey function deletes the sub-key, values and descendants of the specified key. Chemin is string
Chemin = RegistryFirstSubKey()
Chemin = Chemin + "\MonAppli\"
IF RegistryDeleteKey(Chemin) = False THEN
Error("Erreur lors de la suppression de la clé")
RETURN
END
ResSupClé = RegistryDeleteKey("HKEY_LOCAL_MACHINE\SYSTEM\Appli")
Syntax
<Result> = RegistryDeleteKey([<Access mode>, ] <Subkey path>)
<Result>: Boolean - True if the subkey was deleted or if the key does not exist,
- False otherwise.
<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.
|
<Subkey path>: Character string Full path of subkey to delete. Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|