c97d897a78fef44540fb4d0148667f7d2b698283
[reactos.git] / base / setup / usetup / registry.h
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 text-mode setup
22 * FILE: base/setup/usetup/registry.h
23 * PURPOSE: Registry creation functions
24 * PROGRAMMER:
25 */
26
27 #pragma once
28
29 HANDLE
30 GetRootKeyByPredefKey(
31 IN HANDLE KeyHandle,
32 OUT PCWSTR* RootKeyMountPoint OPTIONAL);
33
34 HANDLE
35 GetRootKeyByName(
36 IN PCWSTR RootKeyName,
37 OUT PCWSTR* RootKeyMountPoint OPTIONAL);
38
39 BOOLEAN
40 ImportRegistryFile(
41 PWSTR Filename,
42 PWSTR Section,
43 LCID LocaleId,
44 BOOLEAN Delete);
45
46 NTSTATUS
47 RegInitializeRegistry(
48 IN PUNICODE_STRING InstallPath);
49
50 VOID
51 RegCleanupRegistry(VOID);
52
53 VOID
54 SetDefaultPagefile(
55 WCHAR Drive);
56
57 /* EOF */