Registry Reference
gkScript Main Object
Script
Function
gkScript Registry Object
enum RegistryTypes {
REG_DWORD,
REG_BINARY,
REG_SZ,
REG_EXPAND_SZ,
REG_MULTI_SZ,
REG_LINK,
REG_NONE,
REG_DWORD_LITTLE_ENDIAN,
REG_DWORD_BIG_ENDIAN,
REG_QWORD,
REG_QWORD_LITTLE_ENDIAN,
};
class Registry
{
int readDWORD(string path); // returns 0 on error
bool writeDWORD(string path, int val);
string readString(string path); // returns "" on error
bool writeString(string path, string val);
bool readValue(string path, string &value, RegistryTypes &type);
bool writeValue(string path, string value, RegistryTypes type);
bool deleteValue(string path);
bool createKey(string path);
bool deleteKey(string path);
vector<string> enumSubkeys(string path);
vector<string> enumValues(string path);
};Registy paths and root keys
Strings
Script
Function
Registry sample
Last updated
Was this helpful?