blob: 60b8be6e6a4b0fa8a7e6aa331152819545f92a99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef RLZ_WIN_LIB_REGISTRY_UTIL_H_
#define RLZ_WIN_LIB_REGISTRY_UTIL_H_
namespace base {
namespace win {
class RegKey;
} // namespace win
} // namespace base
namespace rlz_lib {
bool RegKeyReadValue(base::win::RegKey& key,
const wchar_t* name,
char* value,
size_t* value_size);
bool RegKeyWriteValue(base::win::RegKey& key,
const wchar_t* name,
const char* value);
bool HasUserKeyAccess(bool write_access);
} // namespace rlz_lib
#endif // RLZ_WIN_LIB_REGISTRY_UTIL_H_
|