Lines Matching refs:subkey
45 RegKey::RegKey(HKEY rootkey, const char16_t* subkey, REGSAM access) in RegKey() argument
49 Create(rootkey, subkey, access); in RegKey()
51 Open(rootkey, subkey, access); in RegKey()
53 DCHECK(!subkey); in RegKey()
62 LONG RegKey::Create(HKEY rootkey, const char16_t* subkey, REGSAM access) { in Create() argument
64 return CreateWithDisposition(rootkey, subkey, &disposition_value, access); in Create()
68 const char16_t* subkey, in CreateWithDisposition() argument
71 DCHECK(rootkey && subkey && access && disposition); in CreateWithDisposition()
73 LONG result = RegCreateKeyEx(rootkey, ToWCharT(subkey), 0, NULL, in CreateWithDisposition()
96 HKEY subkey = NULL; in CreateKey() local
99 access, NULL, &subkey, NULL); in CreateKey()
102 key_ = subkey; in CreateKey()
109 LONG RegKey::Open(HKEY rootkey, const char16_t* subkey, REGSAM access) { in Open() argument
110 DCHECK(rootkey && subkey && access); in Open()
113 LONG result = RegOpenKeyEx(rootkey, ToWCharT(subkey), 0, access, &subhkey); in Open()
134 HKEY subkey = NULL; in OpenKey() local
136 RegOpenKeyEx(key_, ToWCharT(relative_key_name), 0, access, &subkey); in OpenKey()
142 key_ = subkey; in OpenKey()
197 HKEY subkey = NULL; in DeleteKey() local
202 READ_CONTROL | wow64access_, &subkey); in DeleteKey()
205 RegCloseKey(subkey); in DeleteKey()