branch update for HEAD-2003050101
[reactos.git] / subsys / system / usetup / partlist.h
index ce79d5b..851a96c 100644 (file)
@@ -35,7 +35,9 @@ typedef struct _PARTDATA
   USHORT Bus;
   USHORT Id;
 
+  BOOLEAN CreatePartition;
   ULONGLONG PartSize;
+  ULONGLONG NewPartSize;
   ULONG PartNumber;
   ULONG PartType;
 
@@ -47,6 +49,7 @@ typedef struct _PARTDATA
 
 typedef struct _PARTENTRY
 {
+  ULONGLONG StartingOffset;
   ULONGLONG PartSize;
   ULONG PartNumber;
   ULONG PartType;
@@ -59,11 +62,17 @@ typedef struct _PARTENTRY
   BOOL Unpartitioned;
 
   BOOL Used;
+
+  BOOLEAN HidePartEntry;
 } PARTENTRY, *PPARTENTRY;
 
 typedef struct _DISKENTRY
 {
   ULONGLONG DiskSize;
+  ULONGLONG Cylinders;
+  ULONGLONG TracksPerCylinder;
+  ULONGLONG SectorsPerTrack;
+  ULONGLONG BytesPerSector;
   ULONG DiskNumber;
   USHORT Port;
   USHORT Bus;
@@ -107,6 +116,11 @@ CreatePartitionList(SHORT Left,
                    SHORT Right,
                    SHORT Bottom);
 
+BOOLEAN
+MarkPartitionActive(ULONG DiskNumber,
+                       ULONG PartitionNumber,
+                       PPARTDATA ActivePartition);
+
 VOID
 DestroyPartitionList(PPARTLIST List);
 
@@ -127,6 +141,14 @@ BOOL
 GetActiveBootPartition(PPARTLIST List,
                       PPARTDATA Data);
 
+BOOL
+CreateSelectedPartition(PPARTLIST List,
+  ULONG PartType,
+  ULONGLONG NewPartSize);
+
+BOOL
+DeleteSelectedPartition(PPARTLIST List);
+
 #endif /* __PARTLIST_H__ */
 
-/* EOF */
\ No newline at end of file
+/* EOF */