Reactos
1/*
2 * ReactOS kernel
3 * Copyright (C) 2003 ReactOS Team
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 */
19/*
20 * COPYRIGHT: See COPYING in the top level directory
21 * PROJECT: ReactOS Setup Library
22 * FILE: base/setup/lib/registry.h
23 * PURPOSE: Registry creation functions
24 * PROGRAMMERS: ...
25 * Hermes Belusca-Maito (hermes.belusca@sfr.fr)
26 */
27
28#pragma once
29
30HANDLE
31GetRootKeyByPredefKey(
32 IN HANDLE KeyHandle,
33 OUT PCWSTR* RootKeyMountPoint OPTIONAL);
34
35HANDLE
36GetRootKeyByName(
37 IN PCWSTR RootKeyName,
38 OUT PCWSTR* RootKeyMountPoint OPTIONAL);
39
40BOOLEAN
41ImportRegistryFile(
42 IN PCWSTR SourcePath,
43 IN PCWSTR FileName,
44 IN PCWSTR Section,
45 IN LCID LocaleId,
46 IN BOOLEAN Delete);
47
48NTSTATUS
49VerifyRegistryHives(
50 IN PUNICODE_STRING NtSystemRoot,
51 OUT PBOOLEAN ShouldRepairRegistry);
52
53NTSTATUS
54RegInitializeRegistry(
55 IN PUNICODE_STRING NtSystemRoot);
56
57VOID
58RegCleanupRegistry(
59 IN PUNICODE_STRING NtSystemRoot);
60
61/* EOF */