PARTITION_INFORMATION (Structures)
Last changed: -80.2.36.104

.
Summary
The PARTITION_INFORMATION structure contains information about a disk partition.

C# Definition:

[StructLayout(LayoutKind.Sequential)]
public struct PARTITION_INFORMATION
{
   public long StartingOffset;
   public long PartitionLength;
   public int HiddenSectors;
   public int PartitionNumber;
   public byte PartitionType;
   [MarshalAs(UnmanagedType.I1)]
   public bool BootIndicator;
   [MarshalAs(UnmanagedType.I1)]
   public bool RecognizedPartition;
   [MarshalAs(UnmanagedType.I1)]
   public bool RewritePartition;
}

VB 2008

<System.Runtime.InteropServices.StructLayout(LayoutKind.Sequential)> _
  Public Structure PARTITION_INFORMATION
    Public StartingOffset As Long
    Public PartitionLength As Long
    Public HiddenSectors As Integer
    Public PartitionNumber As Integer
    Public PartitionType As Byte
    <System.Runtime.InteropServices.MarshalAs(UnmanagedType.I1)> _
    Public BootIndicator As Boolean
    <System.Runtime.InteropServices.MarshalAs(UnmanagedType.I1)>
    Public RecognizedPartition As Boolean
    <System.Runtime.InteropServices.MarshalAs(UnmanagedType.I1)>
    Public RewritePartition As Boolean
  End Structure

User-Defined Field Types:

None.

Notes:

None.

Documentation