LibreOffice Module registry (master) 1
Functions
regkey.hxx File Reference
#include <sal/config.h>
#include <registry/regtype.h>
#include <rtl/ustring.h>
#include <sal/types.h>
Include dependency graph for regkey.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void REGISTRY_CALLTYPE acquireKey (RegKeyHandle)
 
void REGISTRY_CALLTYPE releaseKey (RegKeyHandle)
 
sal_Bool REGISTRY_CALLTYPE isKeyReadOnly (RegKeyHandle)
 
RegError REGISTRY_CALLTYPE getKeyName (RegKeyHandle, rtl_uString **)
 
RegError REGISTRY_CALLTYPE createKey (RegKeyHandle, rtl_uString *, RegKeyHandle *)
 
RegError REGISTRY_CALLTYPE openKey (RegKeyHandle, rtl_uString *, RegKeyHandle *)
 
RegError REGISTRY_CALLTYPE openSubKeys (RegKeyHandle, rtl_uString *, RegKeyHandle **, sal_uInt32 *)
 
RegError REGISTRY_CALLTYPE closeSubKeys (RegKeyHandle *, sal_uInt32)
 
RegError REGISTRY_CALLTYPE deleteKey (RegKeyHandle, rtl_uString *)
 
RegError REGISTRY_CALLTYPE closeKey (RegKeyHandle)
 
RegError REGISTRY_CALLTYPE setValue (RegKeyHandle, rtl_uString *, RegValueType, RegValue, sal_uInt32)
 
RegError REGISTRY_CALLTYPE setLongListValue (RegKeyHandle, rtl_uString *, sal_Int32 const *, sal_uInt32)
 
RegError REGISTRY_CALLTYPE setStringListValue (RegKeyHandle, rtl_uString *, char **, sal_uInt32)
 
RegError REGISTRY_CALLTYPE setUnicodeListValue (RegKeyHandle, rtl_uString *, sal_Unicode **, sal_uInt32)
 
RegError REGISTRY_CALLTYPE getValueInfo (RegKeyHandle, rtl_uString *, RegValueType *, sal_uInt32 *)
 
RegError REGISTRY_CALLTYPE getValue (RegKeyHandle, rtl_uString *, RegValue)
 
RegError REGISTRY_CALLTYPE getLongListValue (RegKeyHandle, rtl_uString *, sal_Int32 **, sal_uInt32 *)
 
RegError REGISTRY_CALLTYPE getStringListValue (RegKeyHandle, rtl_uString *, char ***, sal_uInt32 *)
 
RegError REGISTRY_CALLTYPE getUnicodeListValue (RegKeyHandle, rtl_uString *, sal_Unicode ***, sal_uInt32 *)
 
RegError REGISTRY_CALLTYPE freeValueList (RegValueType, RegValue, sal_uInt32)
 
RegError REGISTRY_CALLTYPE getResolvedKeyName (RegKeyHandle, rtl_uString *, sal_Bool, rtl_uString **)
 
RegError REGISTRY_CALLTYPE getKeyNames (RegKeyHandle, rtl_uString *, rtl_uString ***, sal_uInt32 *)
 
RegError REGISTRY_CALLTYPE freeKeyNames (rtl_uString **, sal_uInt32)
 

Function Documentation

◆ acquireKey()

void REGISTRY_CALLTYPE acquireKey ( RegKeyHandle  hKey)

Definition at line 27 of file regkey.cxx.

References ORegistry::acquireKey(), and ORegKey::getRegistry().

Referenced by initRegistry_Api().

◆ closeKey()

Definition at line 152 of file regkey.cxx.

References ORegKey::closeKey(), and INVALID_KEY.

Referenced by initRegistry_Api(), and reg_closeKey().

◆ closeSubKeys()

RegError REGISTRY_CALLTYPE closeSubKeys ( RegKeyHandle phSubKeys,
sal_uInt32  nSubKeys 
)

Definition at line 120 of file regkey.cxx.

References ORegistry::closeKey(), i, INVALID_KEY, and NO_ERROR.

Referenced by initRegistry_Api().

◆ createKey()

RegError REGISTRY_CALLTYPE createKey ( RegKeyHandle  hKey,
rtl_uString *  keyName,
RegKeyHandle phNewKey 
)

◆ deleteKey()

RegError REGISTRY_CALLTYPE deleteKey ( RegKeyHandle  hKey,
rtl_uString *  keyName 
)

◆ freeKeyNames()

RegError REGISTRY_CALLTYPE freeKeyNames ( rtl_uString **  pKeyNames,
sal_uInt32  nKeys 
)

Definition at line 586 of file regkey.cxx.

References i, and NO_ERROR.

Referenced by initRegistry_Api().

◆ freeValueList()

RegError REGISTRY_CALLTYPE freeValueList ( RegValueType  valueType,
RegValue  pValueList,
sal_uInt32  len 
)

Definition at line 511 of file regkey.cxx.

References i, LONGLIST, NO_ERROR, and STRINGLIST.

Referenced by initRegistry_Api().

◆ getKeyName()

RegError REGISTRY_CALLTYPE getKeyName ( RegKeyHandle  hKey,
rtl_uString **  pKeyName 
)

Definition at line 53 of file regkey.cxx.

References ORegKey::getName(), INVALID_KEY, and NO_ERROR.

Referenced by initRegistry_Api().

◆ getKeyNames()

RegError REGISTRY_CALLTYPE getKeyNames ( RegKeyHandle  hKey,
rtl_uString *  keyName,
rtl_uString ***  pSubKeyNames,
sal_uInt32 *  pnSubKeys 
)

Definition at line 571 of file regkey.cxx.

References ORegKey::getKeyNames(), INVALID_KEY, and ORegKey::isDeleted().

Referenced by initRegistry_Api().

◆ getLongListValue()

RegError REGISTRY_CALLTYPE getLongListValue ( RegKeyHandle  hKey,
rtl_uString *  keyName,
sal_Int32 **  pValueList,
sal_uInt32 *  pLen 
)

◆ getResolvedKeyName()

RegError REGISTRY_CALLTYPE getResolvedKeyName ( RegKeyHandle  ,
rtl_uString *  ,
sal_Bool  ,
rtl_uString **   
)

◆ getStringListValue()

RegError REGISTRY_CALLTYPE getStringListValue ( RegKeyHandle  hKey,
rtl_uString *  keyName,
char ***  pValueList,
sal_uInt32 *  pLen 
)

◆ getUnicodeListValue()

RegError REGISTRY_CALLTYPE getUnicodeListValue ( RegKeyHandle  hKey,
rtl_uString *  keyName,
sal_Unicode ***  pValueList,
sal_uInt32 *  pLen 
)

◆ getValue()

RegError REGISTRY_CALLTYPE getValue ( RegKeyHandle  hKey,
rtl_uString *  keyName,
RegValue  pValue 
)

◆ getValueInfo()

RegError REGISTRY_CALLTYPE getValueInfo ( RegKeyHandle  hKey,
rtl_uString *  keyName,
RegValueType pValueType,
sal_uInt32 *  pValueSize 
)

◆ isKeyReadOnly()

sal_Bool REGISTRY_CALLTYPE isKeyReadOnly ( RegKeyHandle  hKey)

Definition at line 47 of file regkey.cxx.

References ORegKey::isReadOnly().

Referenced by initRegistry_Api().

◆ openKey()

RegError REGISTRY_CALLTYPE openKey ( RegKeyHandle  hKey,
rtl_uString *  keyName,
RegKeyHandle phOpenKey 
)

Definition at line 86 of file regkey.cxx.

References INVALID_KEY, ORegKey::isDeleted(), and ORegKey::openKey().

Referenced by initRegistry_Api(), and reg_openKey().

◆ openSubKeys()

RegError REGISTRY_CALLTYPE openSubKeys ( RegKeyHandle  hKey,
rtl_uString *  keyName,
RegKeyHandle **  pphSubKeys,
sal_uInt32 *  pnSubKeys 
)

Definition at line 102 of file regkey.cxx.

References INVALID_KEY, ORegKey::isDeleted(), and ORegKey::openSubKeys().

Referenced by initRegistry_Api().

◆ releaseKey()

void REGISTRY_CALLTYPE releaseKey ( RegKeyHandle  hKey)

Definition at line 37 of file regkey.cxx.

References ORegKey::getRegistry(), and ORegistry::releaseKey().

Referenced by initRegistry_Api().

◆ setLongListValue()

RegError REGISTRY_CALLTYPE setLongListValue ( RegKeyHandle  hKey,
rtl_uString *  keyName,
sal_Int32 const *  pValueList,
sal_uInt32  len 
)

◆ setStringListValue()

RegError REGISTRY_CALLTYPE setStringListValue ( RegKeyHandle  hKey,
rtl_uString *  keyName,
char **  pValueList,
sal_uInt32  len 
)

◆ setUnicodeListValue()

RegError REGISTRY_CALLTYPE setUnicodeListValue ( RegKeyHandle  hKey,
rtl_uString *  keyName,
sal_Unicode **  pValueList,
sal_uInt32  len 
)

◆ setValue()

RegError REGISTRY_CALLTYPE setValue ( RegKeyHandle  hKey,
rtl_uString *  keyName,
RegValueType  valueType,
RegValue  pData,
sal_uInt32  valueSize 
)