Developer Documentation
PATH Hardware Documentation > Device Managers and Drivers > ATA Devices > ATA Device Software Guide


format

The format control function does not perform any operation. The driver always returns noErr if the parameters passed in the call are valid. To perform a low-level format of an ATA drive, you need to refer to the ANSI ATA specifications.


Parameter block

-->

csCode

A value of 6.
-->

ioVRefNum

The logical drive number.
-->

csParam[ ]

None defined.
<--

ioResult

See result codes.
RESULT CODES

noErr

0 Successful completion, no error occurred

nsDrvErr

-56 The specified logical drive number does not exist

© 1999 Apple Computer, Inc. — (Last Updated 9 Mar 99)