2017-05-13 16:13:19 +00:00
|
|
|
/*
|
|
|
|
* 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
|
|
|
|
*/
|
|
|
|
|
2017-05-23 11:39:12 +00:00
|
|
|
#pragma once
|
|
|
|
|
2017-05-13 16:13:19 +00:00
|
|
|
typedef struct _NTOS_INSTALLATION
|
|
|
|
{
|
|
|
|
LIST_ENTRY ListEntry;
|
2017-05-22 01:19:08 +00:00
|
|
|
// 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
|
2017-05-22 22:59:11 +00:00
|
|
|
PCWSTR PathComponent; // Pointer inside SystemNtPath.Buffer
|
|
|
|
ULONG DiskNumber;
|
|
|
|
ULONG PartitionNumber;
|
|
|
|
PPARTENTRY PartEntry;
|
|
|
|
WCHAR InstallationName[MAX_PATH];
|
2017-05-13 16:13:19 +00:00
|
|
|
} NTOS_INSTALLATION, *PNTOS_INSTALLATION;
|
|
|
|
|
|
|
|
// EnumerateNTOSInstallations
|
|
|
|
PGENERIC_LIST
|
|
|
|
CreateNTOSInstallationsList(
|
|
|
|
IN PPARTLIST List);
|
2017-05-23 11:39:12 +00:00
|
|
|
|
|
|
|
/* EOF */
|