NTSTATUS
FstubReadPartitionTableEFI(
IN PDISK_INFORMATION Disk,
IN ULONG PartitionTable,
OUT PDRIVE_LAYOUT_INFORMATION_EX* ReturnedDriveLayout
);
Routine Description:
This routine is called to read the partition table on an EFI-partitioned
disk.
Arguments:
Disk - The disk we should read the partition table from.
PartitionTable - Which partition table to read, the primary or backup
table.
ReturnedDriveLayout - Pointer to pointer to the buffer where
the partition information will be stored.
Return Values:
STATUS_SUCCESS - If the partition table information was succesfully read
into ReturnedDriveLayoutInformation.
Otherwise - Failure.
Notes:
The memory allocated by this routine must be free by the caller using
ExFreePool().