2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
8 #include <proto/exec.h>
10 #include "dos_intern.h"
12 /*****************************************************************************
16 #include <proto/dos.h>
21 AROS_LHA(BPTR
, lock
, D1
),
22 AROS_LHA(struct InfoData
*, parameterBlock
, D2
),
25 struct DosLibrary
*, DOSBase
, 19, Dos
)
28 Get information about a volume in the system.
31 lock - a lock on any file on the volume for which information
32 should be supplied, or 0
33 parameterBlock - pointer to an InfoData structure
36 Boolean indicating success or failure. If TRUE (success) the
37 'parameterBlock' is filled with information on the volume.
40 Supplying a lock of 0 will return InfoData from the task that is
41 returned from GetFileSysTask() (usually the boot volume's filesystem
53 *****************************************************************************/
57 struct FileLock
*fl
= (struct FileLock
*)BADDR(lock
);
60 status
= dopacket2(DOSBase
, NULL
, fl
? fl
->fl_Task
: GetFileSysTask(), ACTION_INFO
, lock
, MKBADDR(parameterBlock
));