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