ReactOS 0.4.15-dev-8231-g29a56f3
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,
47 _In_ PCWSTR ComputerType,
48 _Out_ PWSTR* AdditionalSectionName);
49
52 _In_ HINF InfFile,
53 _In_ PCWSTR DisplayType);
54
57 IN HINF InfFile);
58
61 IN HINF InfFile,
62 IN PCWSTR LanguageId,
64
67 IN HINF InfFile,
69
72
75 _In_ PCWSTR pszLayoutId,
76 _In_ PCWSTR LanguageId);
77
78#if 0
80ProcessKeyboardLayoutFiles(
82#endif
83
86 _In_ PCWSTR LanguageId);
87
90 _In_ GEOID GeoId);
91
95
96/* EOF */
unsigned char BOOLEAN
PGENERIC_LIST CreateKeyboardDriverList(IN HINF InfFile)
Definition: settings.c:1072
PGENERIC_LIST CreateComputerTypeList(IN HINF InfFile)
Definition: settings.c:524
ULONG GetDefaultLanguageIndex(VOID)
Definition: settings.c:1098
BOOLEAN SetDefaultPagefile(_In_ WCHAR Drive)
Definition: settings.c:1370
PGENERIC_LIST CreateDisplayDriverList(IN HINF InfFile)
Definition: settings.c:708
struct _GENENTRY * PGENENTRY
BOOLEAN ProcessKeyboardLayoutRegistry(_In_ PCWSTR pszLayoutId, _In_ PCWSTR LanguageId)
Definition: settings.c:1267
BOOLEAN ProcessComputerFiles(_In_ HINF InfFile, _In_ PCWSTR ComputerType, _Out_ PWSTR *AdditionalSectionName)
Definition: settings.c:787
PGENERIC_LIST CreateKeyboardLayoutList(IN HINF InfFile, IN PCWSTR LanguageId, OUT PWSTR DefaultKBLayout)
Definition: settings.c:1209
BOOLEAN ProcessDisplayRegistry(_In_ HINF InfFile, _In_ PCWSTR DisplayType)
Definition: settings.c:806
PGENERIC_LIST CreateLanguageList(IN HINF InfFile, OUT PWSTR DefaultLanguage)
Definition: settings.c:1159
BOOLEAN SetGeoID(_In_ GEOID GeoId)
Definition: settings.c:1320
struct _GENENTRY GENENTRY
BOOLEAN ProcessLocaleRegistry(_In_ PCWSTR LanguageId)
Definition: settings.c:969
PWCHAR Drive
Definition: chkdsk.c:73
ULONG GEOID
Definition: mui.h:28
#define _Out_
Definition: ms_sal.h:345
#define _In_
Definition: ms_sal.h:308
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