Lines Matching refs:access
24 RegKey::RegKey(HKEY rootkey, const wchar_t* subkey, REGSAM access)
29 if (access & (KEY_SET_VALUE | KEY_CREATE_SUB_KEY | KEY_CREATE_LINK))
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);
48 DWORD* disposition, REGSAM access) {
50 DCHECK(rootkey && subkey && access && disposition);
54 REG_OPTION_NON_VOLATILE, access, NULL, &key_,
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_);
68 LONG RegKey::CreateKey(const wchar_t* name, REGSAM access) {
70 DCHECK(name && access);
74 access, NULL, &subkey, NULL);
81 LONG RegKey::OpenKey(const wchar_t* name, REGSAM access) {
83 DCHECK(name && access);
86 LONG result = RegOpenKeyEx(key_, name, 0, access, &subkey);