Click or drag to resize
ImDiskAPIGetPartitionInformation Method (IntPtr, DLLImDiskReadFileManagedProc, UInt32)
Parses partition table entries from a master boot record and extended partition table record, if any.

Namespace: LTR.IO.ImDisk
Assembly: ImDiskNet (in ImDiskNet.dll) Version: 1.0.0.0 (1.0.007.0)
Syntax
public static ReadOnlyCollection<PARTITION_INFORMATION> GetPartitionInformation(
	IntPtr Handle,
	DLLImDiskReadFileManagedProc ReadFileProc,
	uint SectorSize
)

Parameters

Handle
Type: SystemIntPtr
Value to pass as first parameter to ReadFileProc.
ReadFileProc
Type: LTR.IO.ImDiskDLLImDiskReadFileManagedProc
Reference to method that reads disk image.
SectorSize
Type: SystemUInt32
Sector size for translating sector values to absolute byte positions. This parameter is in most cases 512.

Return Value

Type: ReadOnlyCollectionPARTITION_INFORMATION
An array of eight PARTITION_INFORMATION structures
See Also