[USETUP] Introduce an NT OS installation detector: a functionality that attempts...
[reactos.git] / base / setup / usetup / osdetect.h
1 /*
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
7 */
8
9 typedef struct _NTOS_INSTALLATION
10 {
11 LIST_ENTRY ListEntry;
12 ULONG DiskNumber;
13 ULONG PartitionNumber;
14 // Vendor????
15 WCHAR SystemRoot[MAX_PATH];
16 /**/WCHAR InstallationName[MAX_PATH];/**/
17 } NTOS_INSTALLATION, *PNTOS_INSTALLATION;
18
19 // EnumerateNTOSInstallations
20 PGENERIC_LIST
21 CreateNTOSInstallationsList(
22 IN PPARTLIST List);