NTSTATUS
FstubVerifyPartitionTableEFI(
  IN  PDISK_INFORMATION Disk,
  IN  BOOLEAN FixErrors
  );

Routine Description:

    Verify that a partition table is correct.

Arguments:

    Disk - The disk whose partition table(s) should be verified.

    FixErrors - If, TRUE, this routine attempts to fix any errors in the
            partition table. Otherwise, this routine only checkes whether
            there are errrors in the partition table, "read only".

Return Value:

    STATUS_SUCCESS - If the final partition table, after any changes (only
            when FixErrors is TRUE), is valid.

    STATUS_DISK_CORRUPT - If the final partition table, after any changes (only
            when FixErrors is TRUE) is not valid.

    Other NTSTATUS code - Other type of failure.