ReactOS 0.4.16-dev-297-gc569aee
active.c File Reference
#include "diskpart.h"
#include <debug.h>
Include dependency graph for active.c:

Go to the source code of this file.

Macros

#define NDEBUG
 

Functions

BOOL active_main (_In_ INT argc, _In_ PWSTR *argv)
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 11 of file active.c.

Function Documentation

◆ active_main()

BOOL active_main ( _In_ INT  argc,
_In_ PWSTR argv 
)

Definition at line 16 of file active.c.

19{
21
22 DPRINT("Active()\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}
#define StdOut
Definition: fc.c:14
void ConResPuts(FILE *fp, UINT nID)
Definition: fc.c:27
LONG NTSTATUS
Definition: precomp.h:26
#define IDS_ACTIVE_FAIL
Definition: resource.h:21
#define IDS_ACTIVE_SUCCESS
Definition: resource.h:22
#define IDS_SELECT_NO_PARTITION
Definition: resource.h:88
#define IDS_ACTIVE_ALREADY
Definition: resource.h:23
#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 NT_SUCCESS(StatCode)
Definition: apphelp.c:33
Status
Definition: gdiplustypes.h:25
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
static PPARTENTRY CurrentPartition
Definition: usetup.c:78