12 #ifndef __UT_NTREGKEY_H_INCLUDED__
13 #define __UT_NTREGKEY_H_INCLUDED__
36 bool open(HKEY key_parent,
const char *reg_path)
40 if (RegOpenKeyEx(key_parent, reg_path, 0, KEY_QUERY_VALUE, &myHandle)
57 RegCloseKey(myHandle);
70 if (RegQueryValueEx(myHandle, key_name, 0, 0, NULL, &len)
74 bool ok = (RegQueryValueEx(myHandle, key_name, 0, 0,
75 (LPBYTE)value.
lock(0, len), &len)
88 #endif // __UT_NTREGKEY_H_INCLUDED__
SYS_FORCE_INLINE const char * buffer() const
__hostdev__ float getValue(uint32_t i) const
void release(bool recompute_length=false)
char * lock(exint offset=0, exint reserve_bytes=0)
SYS_FORCE_INLINE bool isstring() const
SYS_FORCE_INLINE void clear()