NTSTATUS
FstubReadPartitionTableMBR(
IN PDISK_INFORMATION Disk,
IN BOOLEAN RecognizedPartitionsOnly,
OUT PDRIVE_LAYOUT_INFORMATION_EX* ReturnedDriveLayout
);
Routine Description:
Read the MBR partition table.
Arguments:
Disk - The disk we want to obtain the partition information for.
RecognizedPartitionsOnly - Whether to return information for all
partitions or only recognized partitions.
ReturnedDriveLayout - A pointer to pointer where the drive layout
information will be returned. The caller of this function is
responsible for freeing this memory using ExFreePool.
Return Values:
NTSTATUS code.