26#if JUCE_WINDOWS || DOXYGEN
34class JUCE_API WindowsRegistry
58 static String JUCE_CALLTYPE getValue (
const String& regValuePath,
59 const String& defaultValue = String(),
60 WoW64Mode mode = WoW64_Default);
67 static uint32 JUCE_CALLTYPE getBinaryValue (
const String& regValuePath, MemoryBlock& resultData, WoW64Mode mode = WoW64_Default);
72 static bool JUCE_CALLTYPE setValue (
const String& regValuePath,
const String& value, WoW64Mode mode = WoW64_Default);
77 static bool JUCE_CALLTYPE setValue (
const String& regValuePath, uint32 value, WoW64Mode mode = WoW64_Default);
82 static bool JUCE_CALLTYPE setValue (
const String& regValuePath, uint64 value, WoW64Mode mode = WoW64_Default);
87 static bool JUCE_CALLTYPE setValue (
const String& regValuePath,
const MemoryBlock& value, WoW64Mode mode = WoW64_Default);
90 static bool JUCE_CALLTYPE valueExists (
const String& regValuePath, WoW64Mode mode = WoW64_Default);
93 static bool JUCE_CALLTYPE keyExists (
const String& regKeyPath, WoW64Mode mode = WoW64_Default);
96 static bool JUCE_CALLTYPE deleteValue (
const String& regValuePath, WoW64Mode mode = WoW64_Default);
99 static bool JUCE_CALLTYPE deleteKey (
const String& regKeyPath, WoW64Mode mode = WoW64_Default);
118 static bool JUCE_CALLTYPE registerFileAssociation (
const String& fileExtension,
119 const String& symbolicDescription,
120 const String& fullDescription,
121 const File& targetExecutable,
122 int iconResourceNumber,
123 bool registerForCurrentUserOnly,
124 WoW64Mode mode = WoW64_Default);
127 JUCE_DEPRECATED (
static String getValueWow64 (
const String&,
const String& defaultValue = String()));
128 JUCE_DEPRECATED (
static bool valueExistsWow64 (
const String&));
129 JUCE_DEPRECATED (
static bool keyExistsWow64 (
const String&));
132 WindowsRegistry() =
delete;
133 JUCE_DECLARE_NON_COPYABLE (WindowsRegistry)