/* * ReactOS kernel * Copyright (C) 2004 ReactOS Team * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS text-mode setup * FILE: base/setup/usetup/settings.h * PURPOSE: Device settings support functions * PROGRAMMERS: Colin Finck */ #pragma once /* Settings entries with simple 1:1 mapping */ typedef struct _GENENTRY { PCWSTR Id; PCWSTR Value; } GENENTRY, *PGENENTRY; PGENERIC_LIST CreateComputerTypeList( IN HINF InfFile); PGENERIC_LIST CreateDisplayDriverList( IN HINF InfFile); BOOLEAN ProcessComputerFiles( _In_ HINF InfFile, _In_ PCWSTR ComputerType, _Out_ PWSTR* AdditionalSectionName); BOOLEAN ProcessDisplayRegistry( _In_ HINF InfFile, _In_ PCWSTR DisplayType); PGENERIC_LIST CreateKeyboardDriverList( IN HINF InfFile); PGENERIC_LIST CreateKeyboardLayoutList( IN HINF InfFile, IN PCWSTR LanguageId, OUT PWSTR DefaultKBLayout); PGENERIC_LIST CreateLanguageList( IN HINF InfFile, OUT PWSTR DefaultLanguage); ULONG GetDefaultLanguageIndex(VOID); BOOLEAN ProcessKeyboardLayoutRegistry( _In_ PCWSTR pszLayoutId, _In_ PCWSTR LanguageId); #if 0 BOOLEAN ProcessKeyboardLayoutFiles( IN PGENERIC_LIST List); #endif BOOLEAN ProcessLocaleRegistry( _In_ PCWSTR LanguageId); BOOLEAN SetGeoID( _In_ GEOID GeoId); BOOLEAN SetDefaultPagefile( _In_ WCHAR Drive); /* EOF */