mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 20:13:04 +00:00

CORE-13525 Notes: - Most of the exported functions have been turned from default cdecl to explicit stdcall / "NTAPI". - The two InitializeSetup() phases have been collapsed to make the initialization simpler. Average reductions (percentages; see PR #7523 for actual numbers): x86 Debug builds: reactos.exe: 35.1% smss.exe : 39.8% Total (including setuplib.dll): 17.9% x86 Release builds: reactos.exe: 22.3% smss.exe : 25.0% Total (including setuplib.dll): 10.6% x64 Debug builds: reactos.exe: 40.6% smss.exe : 41.6% Total (including setuplib.dll): 20.0% x64 Release builds: reactos.exe: 22.8% smss.exe : 22.3% Total (including setuplib.dll): 10.1%
32 lines
878 B
C
32 lines
878 B
C
/*
|
|
* PROJECT: ReactOS Setup Library
|
|
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
|
|
* PURPOSE: MBR and GPT Partition types
|
|
* COPYRIGHT: Copyright 2018-2020 Hermes Belusca-Maito
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
/* MBR PARTITION TYPES ******************************************************/
|
|
|
|
typedef struct _MBR_PARTITION_TYPE
|
|
{
|
|
UCHAR Type;
|
|
PCSTR Description;
|
|
} MBR_PARTITION_TYPE, *PMBR_PARTITION_TYPE;
|
|
|
|
#define NUM_MBR_PARTITION_TYPES 153
|
|
extern SPLIBAPI const MBR_PARTITION_TYPE MbrPartitionTypes[NUM_MBR_PARTITION_TYPES];
|
|
|
|
/* GPT PARTITION TYPES ******************************************************/
|
|
|
|
typedef struct _GPT_PARTITION_TYPE
|
|
{
|
|
GUID Guid;
|
|
PCSTR Description;
|
|
} GPT_PARTITION_TYPE, *PGPT_PARTITION_TYPE;
|
|
|
|
#define NUM_GPT_PARTITION_TYPES 177
|
|
extern SPLIBAPI const GPT_PARTITION_TYPE GptPartitionTypes[NUM_GPT_PARTITION_TYPES];
|
|
|
|
/* EOF */
|