xref: /reactos/base/setup/lib/utils/partinfo.h (revision 74c0a37e)
1 /*
2  * PROJECT:     ReactOS Setup Library
3  * LICENSE:     GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
4  * PURPOSE:     MBR and GPT Partition types
5  * COPYRIGHT:   Copyright 2018-2020 Hermes Belusca-Maito
6  */
7 
8 #pragma once
9 
10 /* MBR PARTITION TYPES ******************************************************/
11 
12 typedef struct _MBR_PARTITION_TYPE
13 {
14     UCHAR Type;
15     PCSTR Description;
16 } MBR_PARTITION_TYPE, *PMBR_PARTITION_TYPE;
17 
18 #define NUM_MBR_PARTITION_TYPES 153
19 extern const MBR_PARTITION_TYPE MbrPartitionTypes[NUM_MBR_PARTITION_TYPES];
20 
21 /* GPT PARTITION TYPES ******************************************************/
22 
23 typedef struct _GPT_PARTITION_TYPE
24 {
25     GUID Guid;
26     PCSTR Description;
27 } GPT_PARTITION_TYPE, *PGPT_PARTITION_TYPE;
28 
29 #define NUM_GPT_PARTITION_TYPES 177
30 extern const GPT_PARTITION_TYPE GptPartitionTypes[NUM_GPT_PARTITION_TYPES];
31 
32 /* EOF */
33