ReactOS 0.4.15-dev-7942-gd23573b
|
#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 CreateExtendedPartition | ( | _In_ PPARTLIST | List, |
_Inout_ PPARTENTRY | PartEntry, | ||
_In_opt_ ULONGLONG | SizeBytes | ||
) |
Definition at line 2930 of file partlist.c.
Referenced by CreatePartitionPage().
BOOLEAN CreatePartition | ( | _In_ PPARTLIST | List, |
_Inout_ PPARTENTRY | PartEntry, | ||
_In_opt_ ULONGLONG | SizeBytes | ||
) |
Definition at line 2869 of file partlist.c.
Referenced by CreatePartitionPage(), SelectFileSystemPage(), and SelectPartitionPage().
Definition at line 1867 of file partlist.c.
BOOLEAN DeletePartition | ( | IN PPARTLIST | List, |
IN PPARTENTRY | PartEntry, | ||
OUT PPARTENTRY *FreeRegion | OPTIONAL | ||
) |
Definition at line 3091 of file partlist.c.
Referenced by DeletePartitionPage().
Definition at line 1951 of file partlist.c.
Referenced by QuitPage(), rescan_main(), SelectPartitionPage(), and wmain().
NTSTATUS DismountVolume | ( | IN PPARTENTRY | PartEntry | ) |
Definition at line 2984 of file partlist.c.
Referenced by AddPartitionToDisk(), clean_main(), and DeletePartition().
ERROR_NUMBER ExtendedPartitionCreationChecks | ( | _In_ PPARTENTRY | PartEntry | ) |
Definition at line 2838 of file partlist.c.
Referenced by CreateExtendedPartition(), and SelectPartitionPage().
PPARTENTRY FindSupportedSystemPartition | ( | IN PPARTLIST | List, |
IN BOOLEAN | ForceSelect, | ||
IN PDISKENTRY AlternativeDisk | OPTIONAL, | ||
IN PPARTENTRY AlternativePart | OPTIONAL | ||
) |
Definition at line 3304 of file partlist.c.
Referenced by SelectFileSystemPage().
PDISKENTRY GetDiskByBiosNumber | ( | IN PPARTLIST | List, |
IN ULONG | HwDiskNumber | ||
) |
Definition at line 2008 of file partlist.c.
PDISKENTRY GetDiskByNumber | ( | IN PPARTLIST | List, |
IN ULONG | DiskNumber | ||
) |
Definition at line 2034 of file partlist.c.
Referenced by GetDiskOrPartition(), and SelectPartition().
Definition at line 2060 of file partlist.c.
Referenced by ResolveArcNameManually().
PDISKENTRY GetDiskBySignature | ( | IN PPARTLIST | List, |
IN ULONG | Signature | ||
) |
Definition at line 2090 of file partlist.c.
Referenced by ResolveArcNameManually().
BOOLEAN GetDiskOrPartition | ( | IN PPARTLIST | List, |
IN ULONG | DiskNumber, | ||
IN ULONG PartitionNumber | OPTIONAL, | ||
OUT PDISKENTRY * | pDiskEntry, | ||
OUT PPARTENTRY *pPartEntry | OPTIONAL | ||
) |
Definition at line 2163 of file partlist.c.
Referenced by EnumerateInstallations().
PPARTENTRY GetNextPartition | ( | IN PPARTLIST | List, |
IN PPARTENTRY CurrentPart | OPTIONAL | ||
) |
Definition at line 2227 of file partlist.c.
Referenced by ScrollDownPartitionList().
BOOLEAN GetNextUncheckedPartition | ( | IN PPARTLIST | List, |
OUT PDISKENTRY *pDiskEntry | OPTIONAL, | ||
OUT PPARTENTRY * | pPartEntry | ||
) |
Definition at line 4057 of file partlist.c.
Referenced by CheckFileSystemPage().
BOOLEAN GetNextUnformattedPartition | ( | IN PPARTLIST | List, |
OUT PDISKENTRY *pDiskEntry | OPTIONAL, | ||
OUT PPARTENTRY * | pPartEntry | ||
) |
Definition at line 3998 of file partlist.c.
Referenced by SelectFileSystemPage().
PPARTENTRY GetPartition | ( | IN PDISKENTRY | DiskEntry, |
IN ULONG | PartitionNumber | ||
) |
Definition at line 2116 of file partlist.c.
Referenced by GetDiskOrPartition(), ResolveArcNameManually(), and SelectPartition().
PPARTENTRY GetPrevPartition | ( | IN PPARTLIST | List, |
IN PPARTENTRY CurrentPart | OPTIONAL | ||
) |
Definition at line 2319 of file partlist.c.
Referenced by ScrollUpPartitionList().
BOOLEAN IsPartitionActive | ( | IN PPARTENTRY | PartEntry | ) |
Definition at line 1788 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 2793 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().
Definition at line 2203 of file partlist.c.
Referenced by SelectPartitionPage().
BOOLEAN SetActivePartition | ( | IN PPARTLIST | List, |
IN PPARTENTRY | PartEntry, | ||
IN PPARTENTRY OldActivePart | OPTIONAL | ||
) |
Definition at line 3599 of file partlist.c.
Referenced by SelectFileSystemPage().
VOID SetMBRPartitionType | ( | IN PPARTENTRY | PartEntry, |
IN UCHAR | PartitionType | ||
) |
Definition at line 3981 of file partlist.c.
Referenced by FormatPartition().
BOOLEAN SetMountedDeviceValue | ( | IN WCHAR | Letter, |
IN ULONG | Signature, | ||
IN LARGE_INTEGER | StartingOffset | ||
) |
Definition at line 3844 of file partlist.c.
Referenced by SetMountedDeviceValues().
Definition at line 3905 of file partlist.c.
Referenced by UpdateRegistry().
NTSTATUS WritePartitions | ( | IN PDISKENTRY | DiskEntry | ) |
Definition at line 3663 of file partlist.c.
Referenced by active_main(), CreateExtendedPartition(), CreateLogicalPartition(), CreatePrimaryPartition(), DeletePartition(), FormatPartition(), inactive_main(), setid_main(), UniqueIdDisk(), and WritePartitionsToDisk().
Definition at line 3807 of file partlist.c.
Referenced by SelectFileSystemPage().