ReactOS  0.4.14-dev-342-gdc047f9
settings.h
Go to the documentation of this file.
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 {
35 
38  IN HINF InfFile);
39 
42  IN HINF InfFile);
43 
44 BOOLEAN
46  IN HINF InfFile,
48  OUT PWSTR* AdditionalSectionName);
49 
50 BOOLEAN
52  IN HINF InfFile,
54 
57  IN HINF InfFile);
58 
61  IN HINF InfFile,
62  IN PCWSTR LanguageId,
64 
67  IN HINF InfFile,
69 
70 ULONG
72 
73 BOOLEAN
76  IN PCWSTR LanguageId);
77 
78 BOOLEAN
81 
82 BOOLEAN
85 
86 BOOLEAN
87 SetGeoID(
88  IN PCWSTR Id);
89 
90 BOOLEAN
92  IN WCHAR Drive);
93 
94 /* EOF */
const uint16_t * PCWSTR
Definition: typedefs.h:55
#define IN
Definition: typedefs.h:38
PGENERIC_LIST CreateDisplayDriverList(IN HINF InfFile)
Definition: settings.c:699
PGENERIC_LIST CreateComputerTypeList(IN HINF InfFile)
Definition: settings.c:515
uint16_t * PWSTR
Definition: typedefs.h:54
PCWSTR Value
Definition: settings.h:33
ULONG GetDefaultLanguageIndex(VOID)
Definition: settings.c:1099
DWORD Id
BOOLEAN ProcessKeyboardLayoutRegistry(IN PGENERIC_LIST List, IN PCWSTR LanguageId)
Definition: settings.c:1268
PWCHAR Drive
Definition: chkdsk.c:73
struct _GENENTRY GENENTRY
unsigned char BOOLEAN
PGENERIC_LIST CreateKeyboardDriverList(IN HINF InfFile)
Definition: settings.c:1073
BOOLEAN SetGeoID(IN PCWSTR Id)
Definition: settings.c:1324
LIST_ENTRY List
Definition: psmgr.c:57
__wchar_t WCHAR
Definition: xmlstorage.h:180
BOOLEAN ProcessLocaleRegistry(IN PGENERIC_LIST List)
Definition: settings.c:959
BOOLEAN SetDefaultPagefile(IN WCHAR Drive)
Definition: settings.c:1367
BOOLEAN ProcessDisplayRegistry(IN HINF InfFile, IN PGENERIC_LIST List)
Definition: settings.c:800
struct _GENENTRY * PGENENTRY
PGENERIC_LIST CreateLanguageList(IN HINF InfFile, OUT PWSTR DefaultLanguage)
Definition: settings.c:1160
PCWSTR Id
Definition: settings.h:32
PGENERIC_LIST CreateKeyboardLayoutList(IN HINF InfFile, IN PCWSTR LanguageId, OUT PWSTR DefaultKBLayout)
Definition: settings.c:1210
BOOLEAN ProcessKeyboardLayoutFiles(IN PGENERIC_LIST List)
static WCHAR DefaultLanguage[20]
Definition: usetup.c:67
#define OUT
Definition: typedefs.h:39
unsigned int ULONG
Definition: retypes.h:1
BOOLEAN ProcessComputerFiles(IN HINF InfFile, IN PGENERIC_LIST List, OUT PWSTR *AdditionalSectionName)
Definition: settings.c:778
static WCHAR DefaultKBLayout[20]
Definition: usetup.c:68