[SNDVOL32] Advanced controls dialog: Remove the TBS_AUTOTICKS style from the trackbar...
[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 /* Settings entries with simple 1:1 mapping */
30 typedef struct _GENENTRY
31 {
32 PCWSTR Id;
33 PCWSTR Value;
34 } GENENTRY, *PGENENTRY;
35
36 PGENERIC_LIST
37 CreateComputerTypeList(
38 IN HINF InfFile);
39
40 PGENERIC_LIST
41 CreateDisplayDriverList(
42 IN HINF InfFile);
43
44 BOOLEAN
45 ProcessComputerFiles(
46 IN HINF InfFile,
47 IN PGENERIC_LIST List,
48 OUT PWSTR* AdditionalSectionName);
49
50 BOOLEAN
51 ProcessDisplayRegistry(
52 IN HINF InfFile,
53 IN PGENERIC_LIST List);
54
55 PGENERIC_LIST
56 CreateKeyboardDriverList(
57 IN HINF InfFile);
58
59 PGENERIC_LIST
60 CreateKeyboardLayoutList(
61 IN HINF InfFile,
62 IN PCWSTR LanguageId,
63 OUT PWSTR DefaultKBLayout);
64
65 PGENERIC_LIST
66 CreateLanguageList(
67 IN HINF InfFile,
68 OUT PWSTR DefaultLanguage);
69
70 ULONG
71 GetDefaultLanguageIndex(VOID);
72
73 BOOLEAN
74 ProcessKeyboardLayoutRegistry(
75 IN PGENERIC_LIST List,
76 IN PCWSTR LanguageId);
77
78 BOOLEAN
79 ProcessKeyboardLayoutFiles(
80 IN PGENERIC_LIST List);
81
82 BOOLEAN
83 ProcessLocaleRegistry(
84 IN PGENERIC_LIST List);
85
86 BOOLEAN
87 SetGeoID(
88 IN PCWSTR Id);
89
90 BOOLEAN
91 SetDefaultPagefile(
92 IN WCHAR Drive);
93
94 /* EOF */