2 * PROJECT: ReactOS Setup Library
3 * LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
4 * PURPOSE: NT 5.x family (MS Windows <= 2003, and ReactOS)
5 * operating systems detection code.
6 * COPYRIGHT: Copyright 2017-2018 Hermes Belusca-Maito
11 typedef struct _NTOS_INSTALLATION
14 // BOOLEAN IsDefault; // TRUE / FALSE whether this installation is marked as "default" in its corresponding loader configuration file.
15 // Vendor???? (Microsoft / ReactOS)
16 UNICODE_STRING SystemArcPath
; // Normalized ARC path
17 UNICODE_STRING SystemNtPath
; // Corresponding NT path
18 PCWSTR PathComponent
; // Pointer inside SystemNtPath.Buffer
20 ULONG PartitionNumber
;
22 WCHAR InstallationName
[MAX_PATH
];
23 } NTOS_INSTALLATION
, *PNTOS_INSTALLATION
;
25 // EnumerateNTOSInstallations
27 CreateNTOSInstallationsList(