|
|
|
|
- Registry of the Mobile Device
- Equivalence
- Registry of a Smartphone
ceRegistryExist (Function) In french: ceRegistreExiste Checks the existence of a key in 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).
// Checks the existence of the "HKEY_LOCAL_MACHINE\SOFTWARE\MyApp" key ResExist = ceRegistryExist("HKEY_LOCAL_MACHINE\SOFTWARE\MyApp")
Syntax
Checking the existence of a key or key value Hide the details
<Result> = ceRegistryExist(<Key path> [, <Value name>])
<Result>: Boolean - True if the specified key or value exists,
- False otherwise. If an error occurs, you can get the details of the error with ErrorInfo.
<Key path>: Character string (with quotes) Full path of key to check. <Value name>: Optional character string (with quotes) Name of value to check. If this parameter is not specified, the value checked will be the "<Default>" value.
Checking the existence of a key value identified by its subscript Hide the details
<Result> = ceRegistryExist(<Key path> , <Value subscript>)
<Result>: Boolean - True if the specified key or value exists,
- False otherwise. If an error occurs, you can get the details of the error with ErrorInfo.
<Key path>: Character string (with quotes) Full path of key to check. <Value subscript>: Integer Subscript of value to check. To check the "<Default>" value, enter 0. 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.
ceRegistryExist and RegistryExist have equivalent operating modes. The only difference is: - ceRegistryExist handles the registry of the Mobile Device from a WINDEV application.
- RegistryExist 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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|