[SETUPLIB] Make the settings' Process* functions take an actual value instead of a GENERIC_LIST

The reason is to avoid enforcing the usage of a specific list
container by the users of the setup library. This is a departure
of what I originally thought would be the best, in commits
92692eae3 (r74553), 8f2c4f7a6 (r75700)

This should actually make some parts of the GUI setup code simpler
(e.g. using the win32 comboboxes to store the list contents).
This commit is contained in:
Hermès Bélusca-Maïto 2024-02-15 23:10:55 +01:00
parent fc3eeb61f3
commit b02dd8eb22
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
5 changed files with 79 additions and 77 deletions

View file

@ -43,14 +43,14 @@ CreateDisplayDriverList(
BOOLEAN
ProcessComputerFiles(
IN HINF InfFile,
IN PGENERIC_LIST List,
OUT PWSTR* AdditionalSectionName);
_In_ HINF InfFile,
_In_ PCWSTR ComputerType,
_Out_ PWSTR* AdditionalSectionName);
BOOLEAN
ProcessDisplayRegistry(
IN HINF InfFile,
IN PGENERIC_LIST List);
_In_ HINF InfFile,
_In_ PCWSTR DisplayType);
PGENERIC_LIST
CreateKeyboardDriverList(
@ -72,16 +72,18 @@ GetDefaultLanguageIndex(VOID);
BOOLEAN
ProcessKeyboardLayoutRegistry(
IN PGENERIC_LIST List,
IN PCWSTR LanguageId);
_In_ PCWSTR pszLayoutId,
_In_ PCWSTR LanguageId);
#if 0
BOOLEAN
ProcessKeyboardLayoutFiles(
IN PGENERIC_LIST List);
#endif
BOOLEAN
ProcessLocaleRegistry(
IN PGENERIC_LIST List);
_In_ PCWSTR LanguageId);
BOOLEAN
SetGeoID(
@ -89,6 +91,6 @@ SetGeoID(
BOOLEAN
SetDefaultPagefile(
IN WCHAR Drive);
_In_ WCHAR Drive);
/* EOF */