|
ReactOS 0.4.16-dev-1983-g1a17364
|
#include <stdio.h>#include <stdlib.h>#include <windef.h>#include <winbase.h>#include <winreg.h>#include <wincon.h>#include <winioctl.h>#include <ntsecapi.h>#include <errno.h>#include <strsafe.h>#include <conutils.h>#include <ndk/cmfuncs.h>#include <ndk/exfuncs.h>#include <ndk/iofuncs.h>#include <ndk/kefuncs.h>#include <ndk/mmfuncs.h>#include <ndk/obfuncs.h>#include <ndk/psfuncs.h>#include <ndk/rtlfuncs.h>#include <ndk/setypes.h>#include <ndk/umfuncs.h>#include <fmifs/fmifs.h>#include "resource.h"

Go to the source code of this file.
Classes | |
| struct | _COMMAND |
| struct | _PARTENTRY |
| struct | _BIOSDISKENTRY |
| struct | _DISKENTRY |
| struct | _VOLENTRY |
Macros | |
| #define | WIN32_NO_STATUS |
| #define | NTOS_MODE_USER |
| #define | MAX_STRING_SIZE 1024 |
| #define | MAX_ARGS_COUNT 256 |
Typedefs | |
| typedef struct _COMMAND | COMMAND |
| typedef struct _COMMAND * | PCOMMAND |
| typedef enum _FORMATSTATE | FORMATSTATE |
| typedef enum _FORMATSTATE * | PFORMATSTATE |
| typedef enum _VOLUME_TYPE | VOLUME_TYPE |
| typedef enum _VOLUME_TYPE * | PVOLUME_TYPE |
| typedef struct _PARTENTRY | PARTENTRY |
| typedef struct _PARTENTRY * | PPARTENTRY |
| typedef struct _BIOSDISKENTRY | BIOSDISKENTRY |
| typedef struct _BIOSDISKENTRY * | PBIOSDISKENTRY |
| typedef struct _DISKENTRY | DISKENTRY |
| typedef struct _DISKENTRY * | PDISKENTRY |
| typedef struct _VOLENTRY | VOLENTRY |
| typedef struct _VOLENTRY * | PVOLENTRY |
Enumerations | |
| enum | _FORMATSTATE { Unformatted , UnformattedOrDamaged , UnknownFormat , Formatted , Unformatted , UnformattedOrDamaged , UnknownFormat , Preformatted , Formatted } |
| enum | _VOLUME_TYPE { VOLUME_TYPE_CDROM , VOLUME_TYPE_PARTITION , VOLUME_TYPE_REMOVABLE , VOLUME_TYPE_UNKNOWN } |
Variables | |
| COMMAND | cmds [] |
| LIST_ENTRY | DiskListHead |
| LIST_ENTRY | BiosDiskListHead |
| LIST_ENTRY | VolumeListHead |
| PDISKENTRY | CurrentDisk |
| PPARTENTRY | CurrentPartition |
| PVOLENTRY | CurrentVolume |
| #define MAX_ARGS_COUNT 256 |
Definition at line 81 of file diskpart.h.
| #define MAX_STRING_SIZE 1024 |
Definition at line 80 of file diskpart.h.
| #define NTOS_MODE_USER |
Definition at line 40 of file diskpart.h.
| #define WIN32_NO_STATUS |
Definition at line 17 of file diskpart.h.
| typedef struct _BIOSDISKENTRY BIOSDISKENTRY |
| typedef struct _DISKENTRY DISKENTRY |
| typedef enum _FORMATSTATE FORMATSTATE |
| typedef struct _PARTENTRY PARTENTRY |
| typedef struct _BIOSDISKENTRY * PBIOSDISKENTRY |
| typedef struct _DISKENTRY * PDISKENTRY |
| typedef enum _FORMATSTATE * PFORMATSTATE |
| typedef struct _PARTENTRY * PPARTENTRY |
| typedef enum _VOLUME_TYPE * PVOLUME_TYPE |
| typedef enum _VOLUME_TYPE VOLUME_TYPE |
| Enumerator | |
|---|---|
| Unformatted | |
| UnformattedOrDamaged | |
| UnknownFormat | |
| Formatted | |
| Unformatted | |
| UnformattedOrDamaged | |
| UnknownFormat | |
| Preformatted | |
| Formatted | |
Definition at line 84 of file diskpart.h.
| Enumerator | |
|---|---|
| VOLUME_TYPE_CDROM | |
| VOLUME_TYPE_PARTITION | |
| VOLUME_TYPE_REMOVABLE | |
| VOLUME_TYPE_UNKNOWN | |
Definition at line 93 of file diskpart.h.
Definition at line 135 of file partlist.c.
Definition at line 11 of file attributes.c.
Definition at line 94 of file convert.c.
Definition at line 149 of file convert.c.
Definition at line 15 of file convert.c.
Referenced by ConvertGPT(), and ConvertMBR().
Definition at line 16 of file create.c.
Definition at line 152 of file misc.c.
Referenced by ConvertGPT().
Definition at line 206 of file create.c.
Definition at line 1988 of file partlist.c.
Referenced by LoadSetupData(), rescan_main(), SelectPartitionPage(), UpgradeRepairPage(), and wmain().
Definition at line 406 of file create.c.
Definition at line 168 of file misc.c.
Referenced by ConvertMBR().
Definition at line 1491 of file partlist.c.
Referenced by rescan_main(), and wmain().
Definition at line 37 of file delete.c.
Definition at line 1210 of file partlist.c.
Definition at line 1529 of file partlist.c.
Referenced by rescan_main(), and wmain().
| NTSTATUS DismountVolume | ( | _In_ PPARTENTRY | PartEntry | ) |
Definition at line 2045 of file partlist.c.
Definition at line 48 of file dump.c.
Definition at line 146 of file dump.c.
Definition at line 84 of file misc.c.
Definition at line 129 of file misc.c.
| PPARTENTRY GetNextUnpartitionedEntry | ( | _In_ PPARTENTRY | PartEntry | ) |
Definition at line 2016 of file partlist.c.
Referenced by DeletePartition().
| PPARTENTRY GetPrevUnpartitionedEntry | ( | _In_ PPARTENTRY | PartEntry | ) |
Definition at line 1987 of file partlist.c.
Referenced by DeletePartition().
| ULONG GetPrimaryPartitionCount | ( | _In_ PDISKENTRY | DiskEntry | ) |
Definition at line 1714 of file partlist.c.
| PVOLENTRY GetVolumeFromPartition | ( | _In_ PPARTENTRY | PartEntry | ) |
Definition at line 2153 of file partlist.c.
Referenced by clean_main().
Definition at line 58 of file misc.c.
Referenced by AcpiExGetNameString(), CreateExtendedPartition(), CreateLogicalPartition(), CreatePrimaryPartition(), setid_main(), and UniqueIdDisk().
Definition at line 120 of file help.c.
Definition at line 46 of file help.c.
Referenced by help_main(), InterpretCmd(), and main().
Definition at line 16 of file help.c.
Referenced by help_main(), and InterpretCmd().
Definition at line 234 of file interpreter.c.
Referenced by wmain().
Definition at line 186 of file interpreter.c.
Referenced by RunScript().
Definition at line 14 of file misc.c.
Referenced by SelectDisk(), SelectPartition(), and SelectVolume().
Definition at line 36 of file misc.c.
Referenced by UniqueIdDisk().
Definition at line 59 of file list.c.
Definition at line 88 of file list.c.
Definition at line 282 of file list.c.
| VOID PrintDisk | ( | _In_ PDISKENTRY | DiskEntry | ) |
Definition at line 17 of file list.c.
Referenced by DetailVolume(), and ListDisk().
Definition at line 187 of file misc.c.
Referenced by DetailDisk(), and UniqueIdDisk().
Definition at line 230 of file list.c.
Referenced by DetailDisk(), DetailPartition(), and ListVolume().
| VOID ReadLayoutBuffer | ( | _In_ HANDLE | FileHandle, |
| _In_ PDISKENTRY | DiskEntry | ||
| ) |
Definition at line 816 of file partlist.c.
Referenced by AddDiskToList(), and CreateDisk().
Definition at line 2190 of file partlist.c.
Referenced by clean_main().
Definition at line 11 of file rescan.c.
Definition at line 17 of file select.c.
Definition at line 119 of file select.c.
Definition at line 209 of file select.c.
Definition at line 17 of file uniqueid.c.
| VOID UpdateDiskLayout | ( | _In_ PDISKENTRY | DiskEntry | ) |
Definition at line 1810 of file partlist.c.
| NTSTATUS WritePartitions | ( | _In_ PDISKENTRY | DiskEntry | ) |
Definition at line 1558 of file partlist.c.
|
extern |
Definition at line 73 of file partlist.c.
Referenced by AddDiskToList(), CreatePartitionList(), DestroyPartitionList(), and EnumerateBiosDiskEntries().
|
extern |
Definition at line 21 of file main.c.
Referenced by DoCommand(), handle_arrow_key(), handle_edit_event(), help_main(), HelpCommand(), HelpCommandList(), InterpretCmd(), PrintCommandList(), TEST_IsQSForward(), TEST_MayQSForwardMockup(), test_OleCommandTarget(), and wmain().
|
extern |
Definition at line 76 of file partlist.c.
Referenced by active_main(), clean_main(), ConvertGPT(), ConvertMBR(), CreateDisk(), CreateExtendedPartition(), CreateLogicalPartition(), CreatePartitionList(), CreatePrimaryPartition(), DeletePartition(), DestroyPartitionList(), DetailDisk(), DetailPartition(), DumpDisk(), DumpPartition(), GetNextPartition(), GetPrevPartition(), inactive_main(), ListPartition(), PrintDisk(), SelectDisk(), SelectPartition(), SelectVolume(), setid_main(), and UniqueIdDisk().
|
extern |
Definition at line 77 of file partlist.c.
Referenced by CreatePartitionList(), and DestroyPartitionList().
|
extern |
Definition at line 78 of file partlist.c.
Referenced by CreateVolumeList(), DestroyVolumeList(), DetailVolume(), filesystems_main(), PrintVolume(), RemoveVolume(), and SelectVolume().
|
extern |
Definition at line 72 of file partlist.c.
Referenced by AddDiskToList(), CreatePartitionList(), DestroyPartitionList(), DetailVolume(), ListDisk(), and SelectDisk().
|
extern |
Definition at line 74 of file partlist.c.
Referenced by AddVolumeToList(), CreateVolumeList(), DestroyVolumeList(), DetailDisk(), DetailPartition(), GetVolumeFromPartition(), ListVolume(), and SelectVolume().