Docs » Autodocs » dos.library » Info
Info -- Returns information about the disk
success = Info( lock, parameterBlock ) D0 D1 D2 BOOL Info(BPTR, struct InfoData *)
Info() can be used to find information about any disk in use. 'lock' refers to the disk, or any file on the disk. The parameter block is returned with information about the size of the disk, number of free blocks and any soft errors.
lock - BCPL pointer to a lock parameterBlock - pointer to an InfoData structure (longword aligned)
success - boolean SPECIAL NOTE: Note that InfoData structure must be longword aligned.
|