ReactOS 0.4.15-dev-8434-g155a7c7
|
#include <pshpack1.h>
#include <poppack.h>
Go to the source code of this file.
Classes | |
struct | _PARTENTRY |
struct | _DISKENTRY |
struct | _BIOSDISKENTRY |
struct | _PARTLIST |
struct | _PARTITION |
struct | _PARTITION_SECTOR |
struct | BIOS_DISK |
Macros | |
#define | PARTITION_EISA 0x12 |
#define | PARTITION_HIBERNATION 0x84 |
#define | PARTITION_DIAGNOSTIC 0xA0 |
#define | PARTITION_DELL 0xDE |
#define | PARTITION_IBM 0xFE |
#define | IsOEMPartition(PartitionType) |
#define | PARTITION_TBL_SIZE 4 |
#define | PARTITION_MAGIC 0xAA55 |
#define | EFI_PMBR_OSTYPE_EFI 0xEE |
#define | GetPartEntryOffsetInBytes(PartEntry) ((PartEntry)->StartSector.QuadPart * (PartEntry)->DiskEntry->BytesPerSector) |
#define | GetPartEntrySizeInBytes(PartEntry) ((PartEntry)->SectorCount.QuadPart * (PartEntry)->DiskEntry->BytesPerSector) |
#define | GetDiskSizeInBytes(DiskEntry) ((DiskEntry)->SectorCount.QuadPart * (DiskEntry)->BytesPerSector) |
Typedefs | |
typedef enum _FORMATSTATE | FORMATSTATE |
typedef enum _FORMATSTATE * | PFORMATSTATE |
typedef struct _PARTENTRY | PARTENTRY |
typedef struct _PARTENTRY * | PPARTENTRY |
typedef struct _DISKENTRY | DISKENTRY |
typedef struct _DISKENTRY * | PDISKENTRY |
typedef struct _BIOSDISKENTRY | BIOSDISKENTRY |
typedef struct _BIOSDISKENTRY * | PBIOSDISKENTRY |
typedef struct _PARTLIST | PARTLIST |
typedef struct _PARTLIST * | PPARTLIST |
typedef struct _PARTITION | PARTITION |
typedef struct _PARTITION * | PPARTITION |
typedef struct _PARTITION_SECTOR | PARTITION_SECTOR |
typedef struct _PARTITION_SECTOR * | PPARTITION_SECTOR |
typedef struct BIOS_DISK * | PBIOS_DISK |
Enumerations | |
enum | _FORMATSTATE { Unformatted , UnformattedOrDamaged , UnknownFormat , Preformatted , Formatted , Unformatted , UnformattedOrDamaged , UnknownFormat , Preformatted , Formatted } |
#define EFI_PMBR_OSTYPE_EFI 0xEE |
Definition at line 172 of file partlist.h.
#define GetDiskSizeInBytes | ( | DiskEntry | ) | ((DiskEntry)->SectorCount.QuadPart * (DiskEntry)->BytesPerSector) |
Definition at line 233 of file partlist.h.
#define GetPartEntryOffsetInBytes | ( | PartEntry | ) | ((PartEntry)->StartSector.QuadPart * (PartEntry)->DiskEntry->BytesPerSector) |
Definition at line 227 of file partlist.h.
#define GetPartEntrySizeInBytes | ( | PartEntry | ) | ((PartEntry)->SectorCount.QuadPart * (PartEntry)->DiskEntry->BytesPerSector) |
Definition at line 230 of file partlist.h.
#define IsOEMPartition | ( | PartitionType | ) |
Definition at line 22 of file partlist.h.
#define PARTITION_DELL 0xDE |
Definition at line 19 of file partlist.h.
#define PARTITION_DIAGNOSTIC 0xA0 |
Definition at line 18 of file partlist.h.
#define PARTITION_EISA 0x12 |
Definition at line 16 of file partlist.h.
#define PARTITION_HIBERNATION 0x84 |
Definition at line 17 of file partlist.h.
#define PARTITION_IBM 0xFE |
Definition at line 20 of file partlist.h.
#define PARTITION_MAGIC 0xAA55 |
Definition at line 169 of file partlist.h.
#define PARTITION_TBL_SIZE 4 |
Definition at line 167 of file partlist.h.
typedef struct _BIOSDISKENTRY BIOSDISKENTRY |
typedef struct _DISKENTRY DISKENTRY |
typedef enum _FORMATSTATE FORMATSTATE |
typedef struct _PARTENTRY PARTENTRY |
typedef struct _PARTITION PARTITION |
typedef struct _PARTITION_SECTOR PARTITION_SECTOR |
typedef struct BIOS_DISK * PBIOS_DISK |
typedef struct _BIOSDISKENTRY * PBIOSDISKENTRY |
typedef struct _DISKENTRY * PDISKENTRY |
typedef enum _FORMATSTATE * PFORMATSTATE |
typedef struct _PARTENTRY * PPARTENTRY |
typedef struct _PARTITION * PPARTITION |
typedef struct _PARTITION_SECTOR * PPARTITION_SECTOR |
Enumerator | |
---|---|
Unformatted | |
UnformattedOrDamaged | |
UnknownFormat | |
Preformatted | |
Formatted | |
Unformatted | |
UnformattedOrDamaged | |
UnknownFormat | |
Preformatted | |
Formatted |
Definition at line 32 of file partlist.h.
Definition at line 67 of file partlist.c.
Referenced by InitializePartitionEntry(), and ScanForUnpartitionedDiskSpace().
Definition at line 79 of file partlist.c.
Referenced by PeFmtCreateSection().
BOOLEAN CreatePartition | ( | _In_ PPARTLIST | List, |
_Inout_ PPARTENTRY | PartEntry, | ||
_In_opt_ ULONGLONG | SizeBytes, | ||
_In_opt_ ULONG_PTR | PartitionInfo | ||
) |
Definition at line 2844 of file partlist.c.
Referenced by CreatePartitionPage(), InitSystemPartition(), and SelectPartitionPage().
Definition at line 1923 of file partlist.c.
BOOLEAN DeletePartition | ( | _In_ PPARTLIST | List, |
_In_ PPARTENTRY | PartEntry, | ||
_Out_opt_ PPARTENTRY * | FreeRegion | ||
) |
Definition at line 3002 of file partlist.c.
Referenced by DeletePartitionPage().
Definition at line 2007 of file partlist.c.
Referenced by QuitPage(), rescan_main(), SelectPartitionPage(), and wmain().
NTSTATUS DismountVolume | ( | IN PPARTENTRY | PartEntry | ) |
Definition at line 2895 of file partlist.c.
Referenced by AddPartitionToDisk(), clean_main(), and DeletePartition().
ERROR_NUMBER ExtendedPartitionCreationChecks | ( | _In_ PPARTENTRY | PartEntry | ) |
Definition at line 2806 of file partlist.c.
Referenced by CreatePartition(), and SelectPartitionPage().
PPARTENTRY FindSupportedSystemPartition | ( | IN PPARTLIST | List, |
IN BOOLEAN | ForceSelect, | ||
IN PDISKENTRY AlternativeDisk | OPTIONAL, | ||
IN PPARTENTRY AlternativePart | OPTIONAL | ||
) |
Definition at line 3215 of file partlist.c.
Referenced by InitSystemPartition().
PDISKENTRY GetDiskByBiosNumber | ( | _In_ PPARTLIST | List, |
_In_ ULONG | HwDiskNumber | ||
) |
Definition at line 2064 of file partlist.c.
PDISKENTRY GetDiskByNumber | ( | _In_ PPARTLIST | List, |
_In_ ULONG | DiskNumber | ||
) |
Definition at line 2087 of file partlist.c.
Referenced by SelectPartition().
Definition at line 2110 of file partlist.c.
Referenced by ResolveArcNameManually().
PDISKENTRY GetDiskBySignature | ( | _In_ PPARTLIST | List, |
_In_ ULONG | Signature | ||
) |
Definition at line 2140 of file partlist.c.
Referenced by ResolveArcNameManually().
PPARTENTRY GetNextPartition | ( | IN PPARTLIST | List, |
IN PPARTENTRY CurrentPart | OPTIONAL | ||
) |
Definition at line 2229 of file partlist.c.
Referenced by ScrollUpDownPartitionList().
PPARTENTRY GetPartition | ( | _In_ PDISKENTRY | DiskEntry, |
_In_ ULONG | PartitionNumber | ||
) |
Definition at line 2163 of file partlist.c.
Referenced by ResolveArcNameManually(), and SelectPartition().
PPARTENTRY GetPrevPartition | ( | IN PPARTLIST | List, |
IN PPARTENTRY CurrentPart | OPTIONAL | ||
) |
Definition at line 2321 of file partlist.c.
Referenced by ScrollUpDownPartitionList().
BOOLEAN IsPartitionActive | ( | IN PPARTENTRY | PartEntry | ) |
Definition at line 1844 of file partlist.c.
Referenced by GetActiveDiskPartition(), SelectPartitionPage(), and SetActivePartition().
BOOLEAN IsSuperFloppy | ( | IN PDISKENTRY | DiskEntry | ) |
Definition at line 501 of file partlist.c.
Referenced by AddDiskToList(), BootLoaderHardDiskPage(), ExtendedPartitionCreationChecks(), PartitionCreationChecks(), and xHalIoWritePartitionTable().
ERROR_NUMBER PartitionCreationChecks | ( | _In_ PPARTENTRY | PartEntry | ) |
Definition at line 2761 of file partlist.c.
Referenced by CreatePartition(), and SelectPartitionPage().
Definition at line 95 of file partlist.c.
Referenced by CreatePartitionPage(), IsPartitionLargeEnough(), ListPartition(), PrettifySize1(), PrettifySize2(), PrintDisk(), PrintDiskData(), PrintPartitionData(), and PrintVolume().
PPARTENTRY SelectPartition | ( | _In_ PPARTLIST | List, |
_In_ ULONG | DiskNumber, | ||
_In_ ULONG | PartitionNumber | ||
) |
Definition at line 2204 of file partlist.c.
Referenced by EnumerateInstallations(), and SelectPartitionPage().
BOOLEAN SetActivePartition | ( | IN PPARTLIST | List, |
IN PPARTENTRY | PartEntry, | ||
IN PPARTENTRY OldActivePart | OPTIONAL | ||
) |
Definition at line 3515 of file partlist.c.
Referenced by InitSystemPartition().
VOID SetMBRPartitionType | ( | IN PPARTENTRY | PartEntry, |
IN UCHAR | PartitionType | ||
) |
Definition at line 3897 of file partlist.c.
Referenced by FormatPartition().
BOOLEAN SetMountedDeviceValue | ( | IN WCHAR | Letter, |
IN ULONG | Signature, | ||
IN LARGE_INTEGER | StartingOffset | ||
) |
Definition at line 3760 of file partlist.c.
Referenced by SetMountedDeviceValues().
Definition at line 3821 of file partlist.c.
Referenced by UpdateRegistry().
NTSTATUS WritePartitions | ( | IN PDISKENTRY | DiskEntry | ) |
Definition at line 3579 of file partlist.c.
Referenced by active_main(), CreateExtendedPartition(), CreateLogicalPartition(), CreatePrimaryPartition(), DeletePartition(), FormatPartition(), inactive_main(), setid_main(), UniqueIdDisk(), and WritePartitionsToDisk().
Definition at line 3723 of file partlist.c.
Referenced by FsVolCommitOpsQueue().