ReactOS 0.4.16-dev-456-ga97fcf1
|
#include <stdio.h>
#include <stdlib.h>
#include <windef.h>
#include <winbase.h>
#include <winreg.h>
#include <wincon.h>
#include <winioctl.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 78 of file diskpart.h.
#define MAX_STRING_SIZE 1024 |
Definition at line 77 of file diskpart.h.
#define NTOS_MODE_USER |
Definition at line 39 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 81 of file diskpart.h.
Enumerator | |
---|---|
VOLUME_TYPE_CDROM | |
VOLUME_TYPE_PARTITION | |
VOLUME_TYPE_REMOVABLE | |
VOLUME_TYPE_UNKNOWN |
Definition at line 90 of file diskpart.h.
Definition at line 84 of file partlist.c.
Definition at line 11 of file attributes.c.
Definition at line 16 of file create.c.
Definition at line 195 of file create.c.
Definition at line 1988 of file partlist.c.
Referenced by LoadSetupData(), rescan_main(), SelectPartitionPage(), UpgradeRepairPage(), and wmain().
Definition at line 395 of file create.c.
Definition at line 1414 of file partlist.c.
Referenced by rescan_main(), and wmain().
Definition at line 37 of file delete.c.
Definition at line 1133 of file partlist.c.
Definition at line 1452 of file partlist.c.
Referenced by rescan_main(), and wmain().
NTSTATUS DismountVolume | ( | _In_ PPARTENTRY | PartEntry | ) |
Definition at line 1960 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 1932 of file partlist.c.
Referenced by DeletePartition().
PPARTENTRY GetPrevUnpartitionedEntry | ( | _In_ PPARTENTRY | PartEntry | ) |
Definition at line 1903 of file partlist.c.
Referenced by DeletePartition().
ULONG GetPrimaryPartitionCount | ( | _In_ PDISKENTRY | DiskEntry | ) |
Definition at line 1637 of file partlist.c.
PVOLENTRY GetVolumeFromPartition | ( | _In_ PPARTENTRY | PartEntry | ) |
Definition at line 2068 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.
Definition at line 16 of file help.c.
Referenced by help_main(), and InterpretCmd().
Definition at line 231 of file interpreter.c.
Referenced by wmain().
Definition at line 183 of file interpreter.c.
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 230 of file list.c.
Referenced by DetailDisk(), DetailPartition(), and ListVolume().
Definition at line 2105 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 1733 of file partlist.c.
NTSTATUS WritePartitions | ( | _In_ PDISKENTRY | DiskEntry | ) |
Definition at line 1481 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_OleCommandTarget(), and wmain().
|
extern |
Definition at line 76 of file partlist.c.
Referenced by active_main(), clean_main(), 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().