From: Corinna Vinschen <[email protected]> Per https://docs.microsoft.com/en-us/windows/win32/api/winioctl/ns-winioctl-partition_information_mbr the PARTITION_INFORMATION_MBR struct contains a GUID member called PartitionId. Add it.
Signed-off-by: Corinna Vinschen <[email protected]> --- mingw-w64-headers/include/ntdddisk.h | 1 + mingw-w64-headers/include/winioctl.h | 1 + 2 files changed, 2 insertions(+) diff --git a/mingw-w64-headers/include/ntdddisk.h b/mingw-w64-headers/include/ntdddisk.h index 7e42af4a7a18..78c09ddf216c 100644 --- a/mingw-w64-headers/include/ntdddisk.h +++ b/mingw-w64-headers/include/ntdddisk.h @@ -366,6 +366,7 @@ typedef struct _PARTITION_INFORMATION_MBR { BOOLEAN BootIndicator; BOOLEAN RecognizedPartition; ULONG HiddenSectors; + GUID PartitionId; } PARTITION_INFORMATION_MBR, *PPARTITION_INFORMATION_MBR; typedef struct _PARTITION_INFORMATION_EX { diff --git a/mingw-w64-headers/include/winioctl.h b/mingw-w64-headers/include/winioctl.h index b64afc5e890a..6aa89bf50e35 100644 --- a/mingw-w64-headers/include/winioctl.h +++ b/mingw-w64-headers/include/winioctl.h @@ -705,6 +705,7 @@ typedef struct _PARTITION_INFORMATION_MBR { BOOLEAN BootIndicator; BOOLEAN RecognizedPartition; DWORD HiddenSectors; + GUID PartitionId; } PARTITION_INFORMATION_MBR,*PPARTITION_INFORMATION_MBR; typedef SET_PARTITION_INFORMATION SET_PARTITION_INFORMATION_MBR; -- 2.31.1 _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
