mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 15:33:07 +00:00
[SETUPLIB][USETUP] Move the registry-update procedure into setuplib.
- It can therefore be also used by the 1st-stage GUI setup. - Rename some function parameters to clarify what they should be. Based on: svn path=/branches/setup_improvements/; revision=75750
This commit is contained in:
parent
dae658088a
commit
6c2d3dee04
7 changed files with 332 additions and 236 deletions
|
@ -123,4 +123,32 @@ LoadSetupInf(
|
|||
IN OUT PUSETUP_DATA pSetupData);
|
||||
|
||||
|
||||
typedef enum _REGISTRY_STATUS
|
||||
{
|
||||
Success = 0,
|
||||
RegHiveUpdate,
|
||||
ImportRegHive,
|
||||
DisplaySettingsUpdate,
|
||||
LocaleSettingsUpdate,
|
||||
KeybLayouts,
|
||||
KeybSettingsUpdate,
|
||||
CodePageInfoUpdate,
|
||||
} REGISTRY_STATUS;
|
||||
|
||||
typedef VOID
|
||||
(__cdecl *PREGISTRY_STATUS_ROUTINE)(IN REGISTRY_STATUS, ...);
|
||||
|
||||
ERROR_NUMBER
|
||||
UpdateRegistry(
|
||||
IN HINF SetupInf,
|
||||
IN OUT PUSETUP_DATA pSetupData,
|
||||
/**/IN BOOLEAN RepairUpdateFlag, /* HACK HACK! */
|
||||
/**/IN PPARTLIST PartitionList, /* HACK HACK! */
|
||||
/**/IN WCHAR DestinationDriveLetter, /* HACK HACK! */
|
||||
/**/IN PCWSTR SelectedLanguageId, /* HACK HACK! */
|
||||
IN PGENERIC_LIST DisplayList,
|
||||
IN PGENERIC_LIST LayoutList,
|
||||
IN PGENERIC_LIST LanguageList,
|
||||
IN PREGISTRY_STATUS_ROUTINE StatusRoutine OPTIONAL);
|
||||
|
||||
/* EOF */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue