-
11.4. Deleting A Configuration Entry
Function Description:
This function will delete any entry you send the name of. It will not be possible to recover the entry
in any way.
Function call:
BOOL RmConfigEntry (char *name);
Parameters(Input):
name:
char *
: Specifiy the name of the configuration you wish to
remove. Useful mainly when uninstalling an application as the entry will never be accessible again
unless created anew.
Return code:
0 upon success. error code upon failure
11.5. Verifying an Entry's Value
Function Description:
This function provides an easy way to check an entries value against a known possible value.
Function call:
BOOL CheckConfigValue (char *name, void * value);
Parameters(Input):
name:
char *
: Specify the name of the configuration you wish to check
against.
value:
void *
: enter the value you are looking for.
Return code:
0 upon success. error code upon failure
11.6. Handling Errors
Error Code
Meaning
Possible Causes / Solutions
1
Unable to read current settings
File Settings.conf may be corrupt
or missing, replace or Cold Boot
2
Data failed type validation
Data does not fit into boundaries
for the given type. If bool use only
0 or 1. If int use only digits 0,1-9
3
Invalid Name Entered
Name doesn’t exist for alter /
delete or does exist for add. A
blank name will also produce this
error
Содержание MR650
Страница 1: ...MR650 Programming Manual V 1 12 1 16 2008 ...
Страница 7: ... 7 13 FUNCTION KEY SETTING ON REGISTRY 65 14 UPDATE NOTES 66 ...
Страница 16: ... it is for internal use send messages ...
Страница 33: ... Be aware to release handles when program ends ...