NTSTATUS IoVerifyPartitionTable( IN PDEVICE_OBJECT DeviceObject, IN BOOLEAN FixErrors ); Routine Description: Verify that the partition table and backup partition table (if present) is valid. If these tables are NOT valid, and FixErrors is TRUE, and the errors are recoverable errors, fix them. Arguments: DeviceObject - A disk whose partition table should be verified and/or fixed. FixErrors - If the partition table contains errors and these errors are recoverable errors, fix the errors. Otherwise, the disk will not be modified. Return Value: STATUS_SUCCESS - If the final partition table, after any modifications done by this routine, is valid. STATUS_DISK_CORRUPT_ERROR - If the final partition table, after any modifications done by this routine, is not valid. Other NTSTATUS code - Some other failure.