[SETUPLIB] Improve the bootloader 'validity' checks -- Addendum to f06734e5 (r74512).
[reactos.git] / base / setup / lib / settings.h
1 /*
2 * ReactOS kernel
3 * Copyright (C) 2004 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/settings.h
23 * PURPOSE: Device settings support functions
24 * PROGRAMMERS: Colin Finck
25 */
26
27 #pragma once
28
29 PGENERIC_LIST
30 CreateComputerTypeList(
31 IN HINF InfFile);
32
33 PGENERIC_LIST
34 CreateDisplayDriverList(
35 IN HINF InfFile);
36
37 BOOLEAN
38 ProcessComputerFiles(
39 IN HINF InfFile,
40 IN PGENERIC_LIST List,
41 OUT PWSTR* AdditionalSectionName);
42
43 BOOLEAN
44 ProcessDisplayRegistry(
45 IN HINF InfFile,
46 IN PGENERIC_LIST List);
47
48 PGENERIC_LIST
49 CreateKeyboardDriverList(
50 IN HINF InfFile);
51
52 PGENERIC_LIST
53 CreateKeyboardLayoutList(
54 IN HINF InfFile,
55 IN PCWSTR LanguageId,
56 OUT PWSTR DefaultKBLayout);
57
58 PGENERIC_LIST
59 CreateLanguageList(
60 IN HINF InfFile,
61 OUT PWSTR DefaultLanguage);
62
63 ULONG
64 GetDefaultLanguageIndex(VOID);
65
66 BOOLEAN
67 ProcessKeyboardLayoutRegistry(
68 IN PGENERIC_LIST List,
69 IN PCWSTR LanguageId);
70
71 BOOLEAN
72 ProcessKeyboardLayoutFiles(
73 IN PGENERIC_LIST List);
74
75 BOOLEAN
76 ProcessLocaleRegistry(
77 IN PGENERIC_LIST List);
78
79 BOOLEAN
80 SetGeoID(
81 IN PCWSTR Id);
82
83 BOOLEAN
84 SetDefaultPagefile(
85 IN WCHAR Drive);
86
87 /* EOF */