ReactOS 0.4.15-dev-6047-gb29e82d
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 */
30typedef struct _GENENTRY
31{
35
38 IN HINF InfFile);
39
42 IN HINF InfFile);
43
46 IN HINF InfFile,
48 OUT PWSTR* AdditionalSectionName);
49
52 IN HINF InfFile,
54
57 IN HINF InfFile);
58
61 IN HINF InfFile,
62 IN PCWSTR LanguageId,
64
67 IN HINF InfFile,
69
72
76 IN PCWSTR LanguageId);
77
81
85
88 IN PCWSTR Id);
89
92 IN WCHAR Drive);
93
94/* EOF */
DWORD Id
unsigned char BOOLEAN
PGENERIC_LIST CreateKeyboardDriverList(IN HINF InfFile)
Definition: settings.c:1093
BOOLEAN ProcessKeyboardLayoutRegistry(IN PGENERIC_LIST List, IN PCWSTR LanguageId)
Definition: settings.c:1288
PGENERIC_LIST CreateComputerTypeList(IN HINF InfFile)
Definition: settings.c:524
ULONG GetDefaultLanguageIndex(VOID)
Definition: settings.c:1119
BOOLEAN ProcessKeyboardLayoutFiles(IN PGENERIC_LIST List)
PGENERIC_LIST CreateDisplayDriverList(IN HINF InfFile)
Definition: settings.c:708
struct _GENENTRY * PGENENTRY
BOOLEAN SetGeoID(IN PCWSTR Id)
Definition: settings.c:1344
BOOLEAN ProcessComputerFiles(IN HINF InfFile, IN PGENERIC_LIST List, OUT PWSTR *AdditionalSectionName)
Definition: settings.c:787
BOOLEAN ProcessDisplayRegistry(IN HINF InfFile, IN PGENERIC_LIST List)
Definition: settings.c:809
PGENERIC_LIST CreateKeyboardLayoutList(IN HINF InfFile, IN PCWSTR LanguageId, OUT PWSTR DefaultKBLayout)
Definition: settings.c:1230
BOOLEAN ProcessLocaleRegistry(IN PGENERIC_LIST List)
Definition: settings.c:979
PGENERIC_LIST CreateLanguageList(IN HINF InfFile, OUT PWSTR DefaultLanguage)
Definition: settings.c:1180
BOOLEAN SetDefaultPagefile(IN WCHAR Drive)
Definition: settings.c:1387
struct _GENENTRY GENENTRY
PWCHAR Drive
Definition: chkdsk.c:73
PCWSTR Value
Definition: settings.h:33
PCWSTR Id
Definition: settings.h:32
uint16_t * PWSTR
Definition: typedefs.h:56
const uint16_t * PCWSTR
Definition: typedefs.h:57
#define IN
Definition: typedefs.h:39
uint32_t ULONG
Definition: typedefs.h:59
#define OUT
Definition: typedefs.h:40
static WCHAR DefaultLanguage[20]
Definition: usetup.c:67
static WCHAR DefaultKBLayout[20]
Definition: usetup.c:68
_Must_inspect_result_ _In_ WDFCMRESLIST List
Definition: wdfresource.h:550
__wchar_t WCHAR
Definition: xmlstorage.h:180