D | windows_version.cc | 41 RegKey(HKEY rootkey, const wchar_t* subkey, REGSAM access) in RegKey() argument 43 if (rootkey) { in RegKey() 45 Create(rootkey, subkey, access); in RegKey() 47 Open(rootkey, subkey, access); in RegKey() 56 LONG Create(HKEY rootkey, const wchar_t* subkey, REGSAM access) { in Create() argument 58 return CreateWithDisposition(rootkey, subkey, &disposition_value, access); in Create() 61 LONG CreateWithDisposition(HKEY rootkey, in CreateWithDisposition() argument 65 RTC_DCHECK(rootkey && subkey && access && disposition); in CreateWithDisposition() 68 ::RegCreateKeyExW(rootkey, subkey, 0, NULL, REG_OPTION_NON_VOLATILE, in CreateWithDisposition() 80 LONG Open(HKEY rootkey, const wchar_t* subkey, REGSAM access) { in Open() argument [all …]
|