Important: The information in this document is obsolete and should not be used for new development.
DIVerify
To verify a disk you have formatted, you can use theDIVerify
function.
FUNCTION DIVerify (drvNum: Integer): OSErr;
drvNum
- The number of the drive containing the disk to be verified.
DESCRIPTION
TheDIVerify
function verifies the format of the disk in the drive specified by thedrvNum
parameter. It reads each bit from the disk and returns a result code indicating whether all bits were read successfully or not. TheDIVerify
function does not affect the contents of the disk itself.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector forDIVerify
are
Trap macro Selector _Pack2 $0008 SPECIAL CONSIDERATIONS
You should not callDIVerify
at interrupt time.RESULT CODES
noErr 0 No error lastDskErr -64 Last of the range of low-level disk errors ... firstDskErr -84 First of the range of low-level disk errors