Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

PARTITION_INFORMATION (Structures)
 
.
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

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Find References
Show Printable Version
Revisions