|
|
|
|
- Creating a key
- Registry of the Mobile Device
- Equivalence
- Registry of a Smartphone
ceRegistryCreateKey (Function) In french: ceRegistreCréeClé Creates 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).
// Create the "HKEY_LOCAL_MACHINE\SYSTEM\SOFTWARE\MyApp" key ResCreateKey = ceRegistryCreateKey("HKEY_LOCAL_MACHINE\SYSTEM\SOFTWARE\MyApp")
Syntax
<Result> = ceRegistryCreateKey(<Key path>)
<Result>: Boolean - True if the key was created,
- 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 create. Remarks - The key creation is recursive: if the directories specified in <Key path> do not exist, they are automatically created in the registry.
- Only secondary keys can be created (no primary key can be created).
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: - ceRegistryCreateKey handles the registry of the Mobile Device from a WINDEV application.
- RegistryCreateKey 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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|