ReactOS 0.4.16-dev-297-gc569aee
inactive.c
Go to the documentation of this file.
1/*
2 * PROJECT: ReactOS DiskPart
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: base/system/diskpart/inactive.c
5 * PURPOSE: Manages all the partitions of the OS in an interactive way.
6 * PROGRAMMERS: Lee Schroeder
7 */
8
9#include "diskpart.h"
10
11#define NDEBUG
12#include <debug.h>
13
14
15BOOL
19{
21
22 DPRINT("Inactive()\n");
23
24 if (CurrentDisk == NULL)
25 {
27 return TRUE;
28 }
29
31 {
33 return TRUE;
34 }
35
37 {
39 return TRUE;
40 }
41
46 if (NT_SUCCESS(Status))
47 {
49 }
50 else
51 {
53 }
54
55 return TRUE;
56}
static int argc
Definition: ServiceArgs.c:12
#define StdOut
Definition: fc.c:14
void ConResPuts(FILE *fp, UINT nID)
Definition: fc.c:27
LONG NTSTATUS
Definition: precomp.h:26
#define IDS_SELECT_NO_PARTITION
Definition: resource.h:88
#define IDS_INACTIVE_ALREADY
Definition: resource.h:68
#define IDS_INACTIVE_FAIL
Definition: resource.h:66
#define IDS_INACTIVE_SUCCESS
Definition: resource.h:67
#define IDS_SELECT_NO_DISK
Definition: resource.h:85
PDISKENTRY CurrentDisk
Definition: partlist.c:74
#define NULL
Definition: types.h:112
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:33
unsigned int BOOL
Definition: ntddk_ex.h:94
Status
Definition: gdiplustypes.h:25
BOOL inactive_main(_In_ INT argc, _In_ PWSTR *argv)
Definition: inactive.c:16
#define argv
Definition: mplay32.c:18
#define _In_
Definition: no_sal2.h:158
static VOID UpdateDiskLayout(IN PDISKENTRY DiskEntry)
Definition: partlist.c:2585
NTSTATUS WritePartitions(IN PDISKENTRY DiskEntry)
Definition: partlist.c:3582
#define DPRINT
Definition: sndvol32.h:73
BOOLEAN Dirty
Definition: partlist.h:136
BOOLEAN BootIndicator
Definition: partlist.h:72
uint16_t * PWSTR
Definition: typedefs.h:56
int32_t INT
Definition: typedefs.h:58
static PPARTENTRY CurrentPartition
Definition: usetup.c:78