NTSTATUS FstubWriteEntryEFI( IN PDISK_INFORMATION Disk, IN ULONG PartitionEntrySectorCount, IN ULONG EntryNumber, IN PEFI_PARTITION_ENTRY PartitionEntry, IN ULONG Partition, IN BOOLEAN Flush, IN OUT ULONG32* PartialCheckSum ); Routine Description: Write an EFI partition entry to the EFI partition table for this disk. The partition table writes are buffered until an entire disk block's worth of entries have been written, then written to the disk. Arguments: Disk - The disk to write the partition entry for. PartitionEntrySectorCount - The count of blocks that the partition table occupies. EntryNumber - The index into the partition table array to write this entry. PartitionEntry - The partition entry data. Partition - Whether this is the main partition table or the backup partition table. Flush - Boolean to force the flushing of the table now (TRUE) or wait until a complete block's worth of data is ready to be written (FALSE). PartialCheckSum - The updated partial checksum including this entry. Return Values: NTSTATUS code.