NTSTATUS
FstubUpdateDiskGeometryEFI(
  IN  PDISK_INFORMATION OldDisk,
  IN  PDISK_INFORMATION NewDisk
  );

Routine Description:

    When a disk is grown or shrunk this API needs to be called to properly
    update the EFI partition tables. In particular, the backup partition table
    needs to be moved to be at the end of the disk.

Algorithm:

    We read in the old partition table, updat the size of the disk, then
    write out the new partition table given the changed disk size.

Arguments:

    OldDisk - A disk information object representing the old geometry.

    NewDisk - A disk information object representing the new goemetry.

Return Values:

    NTSTATUS Code.