ImDiskAPIGetPartitionInformation Method (Stream, UInt32, Int64) |
Parses partition table entries from a master boot record and extended partition table record, if any.
Namespace: LTR.IO.ImDiskAssembly: ImDiskNet (in ImDiskNet.dll) Version: 1.0.0.0 (1.0.007.0)
Syntax public static ReadOnlyCollection<PARTITION_INFORMATION> GetPartitionInformation(
Stream ImageFile,
uint SectorSize,
long Offset
)
Public Shared Function GetPartitionInformation (
ImageFile As Stream,
SectorSize As UInteger,
Offset As Long
) As ReadOnlyCollection(Of PARTITION_INFORMATION)
public:
static ReadOnlyCollection<PARTITION_INFORMATION>^ GetPartitionInformation(
Stream^ ImageFile,
unsigned int SectorSize,
long long Offset
)
static member GetPartitionInformation :
ImageFile : Stream *
SectorSize : uint32 *
Offset : int64 -> ReadOnlyCollection<PARTITION_INFORMATION>
Parameters
- ImageFile
- Type: System.IOStream
Disk image to examine. - SectorSize
- Type: SystemUInt32
Sector size for translating sector values to absolute byte positions. This
parameter is in most cases 512. - Offset
- Type: SystemInt64
Offset in image file where master boot record is located.
Return Value
Type:
ReadOnlyCollectionPARTITION_INFORMATIONAn array of eight PARTITION_INFORMATION structures
See Also