https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8a6ed59156b1555653789…
commit 8a6ed59156b155565378972a018178913a15849b
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Thu Jan 7 21:15:04 2021 +0100
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Fri Jan 8 01:36:58 2021 +0100
[PSDK] Add missing PPARTITION_INFORMATION_GPT, PPARTITION_INFORMATION_MBR,
PPARTITION_INFORMATION_EX definitions.
Addendum to commit 7ae3d530.
---
sdk/include/psdk/winioctl.h | 34 +++++++++++++++++-----------------
1 file changed, 17 insertions(+), 17 deletions(-)
diff --git a/sdk/include/psdk/winioctl.h b/sdk/include/psdk/winioctl.h
index b0061baf42e..8debea1f5d7 100644
--- a/sdk/include/psdk/winioctl.h
+++ b/sdk/include/psdk/winioctl.h
@@ -294,7 +294,7 @@ typedef enum _MEDIA_TYPE {
F3_200Mb_512,
F3_240M_512,
F3_32M_512
-} MEDIA_TYPE,*PMEDIA_TYPE;
+} MEDIA_TYPE, *PMEDIA_TYPE;
typedef struct _DISK_GEOMETRY {
LARGE_INTEGER Cylinders;
@@ -302,7 +302,7 @@ typedef struct _DISK_GEOMETRY {
DWORD TracksPerCylinder;
DWORD SectorsPerTrack;
DWORD BytesPerSector;
-} DISK_GEOMETRY,*PDISK_GEOMETRY;
+} DISK_GEOMETRY, *PDISK_GEOMETRY;
typedef struct _PARTITION_INFORMATION {
LARGE_INTEGER StartingOffset;
LARGE_INTEGER PartitionLength;
@@ -312,7 +312,7 @@ typedef struct _PARTITION_INFORMATION {
BOOLEAN BootIndicator;
BOOLEAN RecognizedPartition;
BOOLEAN RewritePartition;
-} PARTITION_INFORMATION,*PPARTITION_INFORMATION;
+} PARTITION_INFORMATION, *PPARTITION_INFORMATION;
typedef struct _DRIVE_LAYOUT_INFORMATION {
DWORD PartitionCount;
DWORD Signature;
@@ -320,7 +320,7 @@ typedef struct _DRIVE_LAYOUT_INFORMATION {
} DRIVE_LAYOUT_INFORMATION, *PDRIVE_LAYOUT_INFORMATION;
typedef struct _SET_PARTITION_INFORMATION {
BYTE PartitionType;
-} SET_PARTITION_INFORMATION,*PSET_PARTITION_INFORMATION;
+} SET_PARTITION_INFORMATION, *PSET_PARTITION_INFORMATION;
#if (_WIN32_WINNT >= 0x0500)
/* Actually it should be > 0x0500, since this is not present in Windows 2000;
@@ -335,17 +335,17 @@ typedef enum _PARTITION_STYLE {
typedef struct _CREATE_DISK_GPT {
GUID DiskId;
DWORD MaxPartitionCount;
-} CREATE_DISK_GPT,*PCREATE_DISK_GPT;
+} CREATE_DISK_GPT, *PCREATE_DISK_GPT;
typedef struct _CREATE_DISK_MBR {
DWORD Signature;
-} CREATE_DISK_MBR,*PCREATE_DISK_MBR;
+} CREATE_DISK_MBR, *PCREATE_DISK_MBR;
typedef struct _CREATE_DISK {
PARTITION_STYLE PartitionStyle;
_ANONYMOUS_UNION union {
CREATE_DISK_MBR Mbr;
CREATE_DISK_GPT Gpt;
};
-} CREATE_DISK,*PCREATE_DISK;
+} CREATE_DISK, *PCREATE_DISK;
typedef enum _DETECTION_TYPE {
DetectNone,
@@ -358,7 +358,7 @@ typedef struct _DISK_INT13_INFO {
WORD SectorsPerTrack;
WORD MaxHeads;
WORD NumberDrives;
-} DISK_INT13_INFO,*PDISK_INT13_INFO;
+} DISK_INT13_INFO, *PDISK_INT13_INFO;
typedef struct _DISK_EX_INT13_INFO {
WORD ExBufferSize;
WORD ExFlags;
@@ -368,7 +368,7 @@ typedef struct _DISK_EX_INT13_INFO {
DWORD64 ExSectorsPerDrive;
WORD ExSectorSize;
WORD ExReserved;
-} DISK_EX_INT13_INFO,*PDISK_EX_INT13_INFO;
+} DISK_EX_INT13_INFO, *PDISK_EX_INT13_INFO;
typedef struct _DISK_DETECTION_INFO {
DWORD SizeOfDetectInfo;
DETECTION_TYPE DetectionType;
@@ -378,7 +378,7 @@ typedef struct _DISK_DETECTION_INFO {
DISK_EX_INT13_INFO ExInt13;
};
};
-} DISK_DETECTION_INFO,*PDISK_DETECTION_INFO;
+} DISK_DETECTION_INFO, *PDISK_DETECTION_INFO;
typedef struct _DISK_PARTITION_INFO {
DWORD SizeOfPartitionInfo;
PARTITION_STYLE PartitionStyle;
@@ -391,12 +391,12 @@ typedef struct _DISK_PARTITION_INFO {
GUID DiskId;
} Gpt;
};
-} DISK_PARTITION_INFO,*PDISK_PARTITION_INFO;
+} DISK_PARTITION_INFO, *PDISK_PARTITION_INFO;
typedef struct _DISK_GEOMETRY_EX {
DISK_GEOMETRY Geometry;
LARGE_INTEGER DiskSize;
BYTE Data[1];
-} DISK_GEOMETRY_EX,*PDISK_GEOMETRY_EX;
+} DISK_GEOMETRY_EX, *PDISK_GEOMETRY_EX;
#if (NTDDI_VERSION < NTDDI_WS03)
#define DiskGeometryGetPartition(Geometry) \
@@ -419,13 +419,13 @@ typedef struct _PARTITION_INFORMATION_GPT {
GUID PartitionId;
DWORD64 Attributes;
WCHAR Name[36];
-} PARTITION_INFORMATION_GPT;
+} PARTITION_INFORMATION_GPT, *PPPARTITION_INFORMATION_GPT;
typedef struct _PARTITION_INFORMATION_MBR {
BYTE PartitionType;
BOOLEAN BootIndicator;
BOOLEAN RecognizedPartition;
DWORD HiddenSectors;
-} PARTITION_INFORMATION_MBR;
+} PARTITION_INFORMATION_MBR, *PPARTITION_INFORMATION_MBR;
typedef struct _PARTITION_INFORMATION_EX {
PARTITION_STYLE PartitionStyle;
LARGE_INTEGER StartingOffset;
@@ -439,14 +439,14 @@ typedef struct _PARTITION_INFORMATION_EX {
PARTITION_INFORMATION_MBR Mbr;
PARTITION_INFORMATION_GPT Gpt;
};
-} PARTITION_INFORMATION_EX;
+} PARTITION_INFORMATION_EX, *PPARTITION_INFORMATION_EX;
typedef struct _DRIVE_LAYOUT_INFORMATION_GPT {
GUID DiskId;
LARGE_INTEGER StartingUsableOffset;
LARGE_INTEGER UsableLength;
DWORD MaxPartitionCount;
-} DRIVE_LAYOUT_INFORMATION_GPT,*PDRIVE_LAYOUT_INFORMATION_GPT;
+} DRIVE_LAYOUT_INFORMATION_GPT, *PDRIVE_LAYOUT_INFORMATION_GPT;
typedef struct _DRIVE_LAYOUT_INFORMATION_MBR {
DWORD Signature;
#if (NTDDI_VERSION >= NTDDI_WIN10_RS1)
@@ -461,7 +461,7 @@ typedef struct _DRIVE_LAYOUT_INFORMATION_EX {
DRIVE_LAYOUT_INFORMATION_GPT Gpt;
};
PARTITION_INFORMATION_EX PartitionEntry[1];
-} DRIVE_LAYOUT_INFORMATION_EX,*PDRIVE_LAYOUT_INFORMATION_EX;
+} DRIVE_LAYOUT_INFORMATION_EX, *PDRIVE_LAYOUT_INFORMATION_EX;
typedef SET_PARTITION_INFORMATION SET_PARTITION_INFORMATION_MBR;
typedef PARTITION_INFORMATION_GPT SET_PARTITION_INFORMATION_GPT;