Hello all, The attached patch fixes the CREATE_VIRTUAL_DISK_PARAMETERS structure virtdisk.h. The missing field is documented in MSDN: https://learn.microsoft.com/en-us/windows/win32/api/virtdisk/ns-virtdisk-create_virtual_disk_parameters
Best regards, Pavel
From e767c5c2b766c4f060c502a4b484c0a047332aa8 Mon Sep 17 00:00:00 2001 From: Pavel Shishpor <pavel.shish...@gmail.com> Date: Sat, 26 Aug 2023 12:45:44 +0200 Subject: [PATCH] headers: Fix CREATE_VIRTUAL_DISK_PARAMETERS In accordance with MSDN: https://learn.microsoft.com/en-us/windows/win32/api/virtdisk/ns-virtdisk-create_virtual_disk_parameters Signed-off-by: Pavel Shishpor <pavel.shish...@gmail.com> --- mingw-w64-headers/include/virtdisk.h | 1 + 1 file changed, 1 insertion(+) diff --git a/mingw-w64-headers/include/virtdisk.h b/mingw-w64-headers/include/virtdisk.h index e929ef966..047beb8b5 100644 --- a/mingw-w64-headers/include/virtdisk.h +++ b/mingw-w64-headers/include/virtdisk.h @@ -308,6 +308,7 @@ typedef struct _CREATE_VIRTUAL_DISK_PARAMETERS { ULONGLONG MaximumSize; ULONG BlockSizeInBytes; ULONG SectorSizeInBytes; + ULONG PhysicalSectorSizeInBytes; PCWSTR ParentPath; PCWSTR SourcePath; OPEN_VIRTUAL_DISK_FLAG OpenFlags; -- 2.42.0.windows.1
_______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public