ReactOS  0.4.15-dev-5461-g062a8f2
inactive.c File Reference
#include "diskpart.h"
#include <debug.h>
Include dependency graph for inactive.c:

Go to the source code of this file.

Macros

#define NDEBUG
 

Functions

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

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 11 of file inactive.c.

Function Documentation

◆ inactive_main()

BOOL inactive_main ( _In_ INT  argc,
_In_ PWSTR argv 
)

Definition at line 16 of file inactive.c.

19 {
21 
22  DPRINT("Inactive()\n");
23 
24  if (CurrentDisk == NULL)
25  {
27  return TRUE;
28  }
29 
30  if (CurrentPartition == NULL)
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 IDS_SELECT_NO_PARTITION
Definition: resource.h:88
#define TRUE
Definition: types.h:120
LONG NTSTATUS
Definition: precomp.h:26
static PPARTENTRY CurrentPartition
Definition: usetup.c:76
PDISKENTRY CurrentDisk
Definition: partlist.c:74
#define FALSE
Definition: types.h:117
BOOLEAN Dirty
Definition: partlist.h:118
void ConResPuts(FILE *fp, UINT nID)
Definition: fc.c:27
static VOID UpdateDiskLayout(IN PDISKENTRY DiskEntry)
Definition: partlist.c:2534
Status
Definition: gdiplustypes.h:24
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:32
#define IDS_SELECT_NO_DISK
Definition: resource.h:85
#define IDS_INACTIVE_SUCCESS
Definition: resource.h:67
#define IDS_INACTIVE_FAIL
Definition: resource.h:66
#define NULL
Definition: types.h:112
BOOLEAN BootIndicator
Definition: partlist.h:52
#define StdOut
Definition: fc.c:14
NTSTATUS WritePartitions(IN PDISKENTRY DiskEntry)
Definition: partlist.c:3619
#define DPRINT
Definition: sndvol32.h:71
#define IDS_INACTIVE_ALREADY
Definition: resource.h:68