<< Previous | Next >>

mbr_ValidatePartitions

int mbr_ValidatePartitions( mbr_drive * drive );

Description

This routine will validate the partition table contained in the drive structure passed. It will verify that all partitions fit within the bounds of the drive and that no partitions overlap.

Parameters

drive
Pointer to a drive structure

Return value

0 for success
-EINVAL if the partition table in the drive structure is invalid.

Library

PART.LIB


Dynamic C Functions << Previous | Next >> rabbit.com