23 static void setRegPath(std::string regPath);
24 static std::string getRegPath();
26 static const char* getMachineName();
27 static uint16_t getVolumeHash();
28 static uint16_t getCpuHash();
29 static std::string getMachineGUID();
31 static long createRegistryKey(HKEY* hKey, std::string regPath = regpath, HKEY registryHive = HKEY_CURRENT_USER);
32 static long deleteRegistryKey(HKEY hKey, std::string keyPath);
34 static long openRegistryKey(HKEY* hKey, std::string regPath = regpath, HKEY registryHive = HKEY_CURRENT_USER);
35 static long closeRegistryKey(HKEY hKey);
37 static long setRegistryValue(HKEY hKey, std::string name, std::string value);
38 static std::string getRegistryValue(std::string name, std::string regPath = regpath, HKEY registryHive = HKEY_CURRENT_USER);
39 static long deleteRegistryValue(HKEY hKey, std::string name);
43 static std::string regpath;