[StructLayout(LayoutKind.Sequential)]
public struct PARTITION_INFORMATION_EX
{
[MarshalAs(UnmanagedType.U4)]
public PARTITION_STYLE PartitionStyle;
public long StartingOffset;
public long PartitionLength;
public int PartitionNumber;
public bool RewritePartition;
public PARTITION_INFORMATION_UNION DriveLayoutInformaiton;
}
Structure PARTITION_INFORMATION_EX
Public TODO
End Structure
[StructLayout(LayoutKind.Explicit)]
public struct PARTITION_INFORMATION_UNION
{
[FieldOffset(0)]
public PARTITION_INFORMATION_GPT Gpt;
[FieldOffset(0)]
public PARTITION_INFORMATION_MBR Mbr;
}
PARTITION_STYLE, PARTITION_INFORMATION_GPT, PARTITION_INFORMATION_MBR
None.