LibreOffice Module shell (master) 1
|
Go to the source code of this file.
Functions | |
bool | SetRegistryKey (HKEY RootKey, const Filepath_char_t *KeyName, const Filepath_char_t *ValueName, const Filepath_char_t *Value) |
Sets a value of the specified registry key, an empty ValueName sets the default value Returns true on success. More... | |
bool | DeleteRegistryKey (HKEY RootKey, const Filepath_char_t *KeyName) |
Deletes the specified registry key and all of its subkeys Returns true on success. More... | |
bool | HasSubkeysRegistryKey (HKEY RootKey, const Filepath_char_t *KeyName, bool &bResult) |
May be used to determine if the specified registry key has subkeys The function returns true on success else if an error occurs false. More... | |
Filepath_t | ClsidToString (const CLSID &clsid) |
Converts a GUID to its string representation. More... | |
bool | QueryRegistryKey (HKEY RootKey, const Filepath_char_t *KeyName, const Filepath_char_t *ValueName, Filepath_char_t *pszData, DWORD dwBufLen) |
Get the content of a specific key. More... | |
Filepath_t ClsidToString | ( | const CLSID & | clsid | ) |
Converts a GUID to its string representation.
Definition at line 135 of file registry.cxx.
bool DeleteRegistryKey | ( | HKEY | RootKey, |
const Filepath_char_t * | KeyName | ||
) |
Deletes the specified registry key and all of its subkeys Returns true on success.
Definition at line 53 of file registry.cxx.
References DELETE, and DeleteRegistryKey().
Referenced by DeleteRegistryKey().
bool HasSubkeysRegistryKey | ( | HKEY | RootKey, |
const Filepath_char_t * | KeyName, | ||
bool & | bResult | ||
) |
May be used to determine if the specified registry key has subkeys The function returns true on success else if an error occurs false.
Definition at line 115 of file registry.cxx.
References LONG.
bool QueryRegistryKey | ( | HKEY | RootKey, |
const Filepath_char_t * | KeyName, | ||
const Filepath_char_t * | ValueName, | ||
Filepath_char_t * | pszData, | ||
DWORD | dwBufLen | ||
) |
Get the content of a specific key.
Definition at line 150 of file registry.cxx.
Referenced by getFileTypeInfo().
bool SetRegistryKey | ( | HKEY | RootKey, |
const Filepath_char_t * | KeyName, | ||
const Filepath_char_t * | ValueName, | ||
const Filepath_char_t * | Value | ||
) |
Sets a value of the specified registry key, an empty ValueName sets the default value Returns true on success.
Definition at line 31 of file registry.cxx.
References Value.