|
|
|
|
- Registry of the Mobile Device
- Equivalence
- Registry of a Smartphone
ceRegistryDeleteKey (Function) In french: ceRegistreSupprimeClé Deletes a sub-key from the registry of the Mobile Device (Pocket PC) connected to the current computer. Remark: To handle the registry of the Mobile Device, a connection must be established between the current computer and the Mobile Device ( ceConnect).
Path is string // Find out the name of primary key Path = ceRegistryFirstSubKey() // Delete the key from "MyApp" Path = Path + "\MyApp\" IF ceRegistryDeleteKey(Path) = True THEN Info("The key was deleted.") ELSE Error("Error during the deletion.", ErrorInfo()) END
Syntax
<Result> = ceRegistryDeleteKey(<Sub-key path>)
<Result>: Boolean - True if the key was deleted,
- False otherwise. If an error occurs, you can get the details of the error with ErrorInfo.
<Sub-key path>: Character string (with quotes) Full path of sub-key to delete. Remarks Registry of the Mobile Device The following branches do not exist on a Mobile Device: - HKEY_PERFORMANCE_DATA,
- HKEY_CURRENT_CONFIG,
- HKEY_DYN_DATA.
The only difference is: - ceRegistryDeleteKey handles the registry of the Mobile Device from a WINDEV application.
- RegistryDeleteKey handles the registry of the Mobile Device only from a WINDEV Mobile application.
The access to the registry may fail on some Smartphones. In this case, the ErrorOccurred variable is set to True.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|