mirror of
https://github.com/reactos/reactos.git
synced 2024-09-08 19:59:49 +00:00
![Hermès Bélusca-Maïto](/assets/img/avatar_default.png)
- filesup.c's functions ConcatPaths(), Does[Path|File]Exist(), NtPathToDiskPartComponents(), OpenAndMapFile(), UnMapFile(); - Move the inicache library to setuplib as it'll be used for the 1st stage GUI setup too (indeed, there is no good INI file API under Win32; the Win32 profile "API" is just good enough to manipulate the win16 ini files, and are here anyways for backward compatibility purposes only); - Move the OS detector too. - Remove the duplicated ConcatPaths() code in arcname.c. svn path=/branches/setup_improvements/; revision=74634 svn path=/branches/setup_improvements/; revision=74638
31 lines
986 B
C
31 lines
986 B
C
/*
|
|
* PROJECT: ReactOS Setup Library
|
|
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
|
|
* PURPOSE: NT 5.x family (MS Windows <= 2003, and ReactOS)
|
|
* operating systems detection code.
|
|
* COPYRIGHT: Copyright 2017-2018 Hermes Belusca-Maito
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
typedef struct _NTOS_INSTALLATION
|
|
{
|
|
LIST_ENTRY ListEntry;
|
|
// BOOLEAN IsDefault; // TRUE / FALSE whether this installation is marked as "default" in its corresponding loader configuration file.
|
|
// Vendor???? (Microsoft / ReactOS)
|
|
UNICODE_STRING SystemArcPath; // Normalized ARC path
|
|
UNICODE_STRING SystemNtPath; // Corresponding NT path
|
|
PCWSTR PathComponent; // Pointer inside SystemNtPath.Buffer
|
|
ULONG DiskNumber;
|
|
ULONG PartitionNumber;
|
|
PPARTENTRY PartEntry;
|
|
WCHAR InstallationName[MAX_PATH];
|
|
} NTOS_INSTALLATION, *PNTOS_INSTALLATION;
|
|
|
|
// EnumerateNTOSInstallations
|
|
PGENERIC_LIST
|
|
CreateNTOSInstallationsList(
|
|
IN PPARTLIST List);
|
|
|
|
/* EOF */
|