diff options
Diffstat (limited to '3rdparty/lzma/CPP/Windows/Registry.h')
-rw-r--r-- | 3rdparty/lzma/CPP/Windows/Registry.h | 39 |
1 files changed, 19 insertions, 20 deletions
diff --git a/3rdparty/lzma/CPP/Windows/Registry.h b/3rdparty/lzma/CPP/Windows/Registry.h index f0561e68856..ca79dfe3cda 100644 --- a/3rdparty/lzma/CPP/Windows/Registry.h +++ b/3rdparty/lzma/CPP/Windows/Registry.h @@ -3,9 +3,8 @@ #ifndef __WINDOWS_REGISTRY_H #define __WINDOWS_REGISTRY_H -#include "Common/Buffer.h" -#include "Common/MyString.h" -#include "Common/Types.h" +#include "../Common/MyBuffer.h" +#include "../Common/MyString.h" namespace NWindows { namespace NRegistry { @@ -32,49 +31,49 @@ public: LPTSTR keyClass = REG_NONE, DWORD options = REG_OPTION_NON_VOLATILE, REGSAM accessMask = KEY_ALL_ACCESS, LPSECURITY_ATTRIBUTES securityAttributes = NULL, - LPDWORD disposition = NULL); - LONG Open(HKEY parentKey, LPCTSTR keyName, REGSAM accessMask = KEY_ALL_ACCESS); + LPDWORD disposition = NULL) throw(); + LONG Open(HKEY parentKey, LPCTSTR keyName, REGSAM accessMask = KEY_ALL_ACCESS) throw(); - LONG Close(); + LONG Close() throw(); - LONG DeleteSubKey(LPCTSTR subKeyName); - LONG RecurseDeleteKey(LPCTSTR subKeyName); + LONG DeleteSubKey(LPCTSTR subKeyName) throw(); + LONG RecurseDeleteKey(LPCTSTR subKeyName) throw(); - LONG DeleteValue(LPCTSTR name); + LONG DeleteValue(LPCTSTR name) throw(); #ifndef _UNICODE LONG DeleteValue(LPCWSTR name); #endif - LONG SetValue(LPCTSTR valueName, UInt32 value); - LONG SetValue(LPCTSTR valueName, bool value); - LONG SetValue(LPCTSTR valueName, LPCTSTR value); + LONG SetValue(LPCTSTR valueName, UInt32 value) throw(); + LONG SetValue(LPCTSTR valueName, bool value) throw(); + LONG SetValue(LPCTSTR valueName, LPCTSTR value) throw(); // LONG SetValue(LPCTSTR valueName, const CSysString &value); #ifndef _UNICODE LONG SetValue(LPCWSTR name, LPCWSTR value); // LONG SetValue(LPCWSTR name, const UString &value); #endif - LONG SetValue(LPCTSTR name, const void *value, UInt32 size); + LONG SetValue(LPCTSTR name, const void *value, UInt32 size) throw(); LONG SetValue_Strings(LPCTSTR valueName, const UStringVector &strings); LONG GetValue_Strings(LPCTSTR valueName, UStringVector &strings); - LONG SetKeyValue(LPCTSTR keyName, LPCTSTR valueName, LPCTSTR value); + LONG SetKeyValue(LPCTSTR keyName, LPCTSTR valueName, LPCTSTR value) throw(); - LONG QueryValue(LPCTSTR name, UInt32 &value); - LONG QueryValue(LPCTSTR name, bool &value); - LONG QueryValue(LPCTSTR name, LPTSTR value, UInt32 &dataSize); + LONG QueryValue(LPCTSTR name, UInt32 &value) throw(); + LONG QueryValue(LPCTSTR name, bool &value) throw(); + LONG QueryValue(LPCTSTR name, LPTSTR value, UInt32 &dataSize) throw(); LONG QueryValue(LPCTSTR name, CSysString &value); - LONG GetValue_IfOk(LPCTSTR name, UInt32 &value); - LONG GetValue_IfOk(LPCTSTR name, bool &value); + LONG GetValue_IfOk(LPCTSTR name, UInt32 &value) throw(); + LONG GetValue_IfOk(LPCTSTR name, bool &value) throw(); #ifndef _UNICODE LONG QueryValue(LPCWSTR name, LPWSTR value, UInt32 &dataSize); LONG QueryValue(LPCWSTR name, UString &value); #endif - LONG QueryValue(LPCTSTR name, void *value, UInt32 &dataSize); + LONG QueryValue(LPCTSTR name, void *value, UInt32 &dataSize) throw(); LONG QueryValue(LPCTSTR name, CByteBuffer &value, UInt32 &dataSize); LONG EnumKeys(CSysStringVector &keyNames); |