Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


::

enum RegError


Summary
specifies the possible error codes which can occur using the registry API.

Values

REG_NO_ERROR
Summary
no error.
REG_INTERNAL_ERROR
Summary
internal registry error.
REG_REGISTRY_NOT_OPEN
Summary
registry is not open.
REG_REGISTRY_NOT_EXISTS
Summary
registry does not exists.
REG_REGISTRY_READONLY
Summary
registry is open with readonly access rights.
REG_DESTROY_REGISTRY_FAILED
Summary
destroy a registry failed. There are may be any open keys.
REG_CANNOT_OPEN_FOR_READWRITE
Summary
registry cannot be opened with readwrite access because the registry is already open with readwrite access anywhere.
REG_INVALID_REGISTRY
Summary
registry is in an invalid state or the registry does not point to a valid registry data file.
REG_KEY_NOT_OPEN
Summary
the key or key handle points to an invalid key or closed key.
REG_KEY_NOT_EXISTS
Summary
the specified keyname points to a nonexisting key.
REG_CREATE_KEY_FAILED
Summary
the key with the specified keyname cannot be created.
REG_DELETE_KEY_FAILED
Summary
the specified key cannot be deleted. Maybe an open key handle exists to this key.
REG_INVALID_KEYNAME
Summary
the keyname is invalid. This error will return if the keyname is NULL but should not be NULL in the context of a called function.
REG_INVALID_KEY
Summary
the key is not in a valid state.
REG_VALUE_NOT_EXISTS
Summary
the key has no value
REG_SET_VALUE_FAILED
Summary
setting the specified value of a key failed.
REG_DELETE_VALUE_FAILED
Summary
deleting of the key value failed.
REG_INVALID_VALUE
Summary
the key has a invalid value or the value type is unknown.
REG_MERGE_ERROR
Summary
merging a key, the value and all subkeys failed.
REG_MERGE_CONFLICT
Summary
conflicts exists during the merge process of a key. This could happen if the value of a key already exists and the merge process will replace it.
REG_DETECT_RECURSION
Summary
a recursion was detected resolving different link targets (no longer used).
REG_INVALID_LINK
Summary
the link is invalid and can not be resolved (now used by all link-related operations, as links are no longer supported).
REG_INVALID_LINKNAME
Summary
the specified linkname is not valid (no longer used).
REG_INVALID_LINKTARGET
Summary
the linknane is not valid (no longer used).
REG_LINKTARGET_NOT_EXIST
Summary
the link target points to a nonexisting key (no longer used).
REG_BUFFERSIZE_TOSMALL
Summary
the reserved buffer for the resolved keyname is to small.

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.