Lines Matching defs:rootkey
24 RegKey::RegKey(HKEY rootkey, const wchar_t* subkey, REGSAM access)
28 if (rootkey) {
30 Create(rootkey, subkey, access);
32 Open(rootkey, subkey, access);
42 LONG RegKey::Create(HKEY rootkey, const wchar_t* subkey, REGSAM access) {
44 return CreateWithDisposition(rootkey, subkey, &disposition_value, access);
47 LONG RegKey::CreateWithDisposition(HKEY rootkey, const wchar_t* subkey,
50 DCHECK(rootkey && subkey && access && disposition);
53 LONG result = RegCreateKeyEx(rootkey, subkey, 0, NULL,
59 LONG RegKey::Open(HKEY rootkey, const wchar_t* subkey, REGSAM access) {
61 DCHECK(rootkey && subkey && access);
64 LONG result = RegOpenKeyEx(rootkey, subkey, 0, access, &key_);