2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
5 Open the file information window for a specified file.
10 #include <exec/types.h>
11 #include <exec/ports.h>
12 #include <utility/tagitem.h>
14 #include <workbench/workbench.h>
16 #include "workbench_intern.h"
19 #include <aros/debug.h>
21 /*****************************************************************************
24 #include <proto/workbench.h>
26 AROS_LH3(BOOL
, WBInfo
,
28 AROS_LHA(BPTR
, lock
, A0
),
29 AROS_LHA(CONST_STRPTR
, name
, A1
),
30 AROS_LHA(struct Screen
*, screen
, A2
),
33 struct WorkbenchBase
*, WorkbenchBase
, 15, Workbench
)
51 ******************************************************************************/
55 // FIXME: screen argument is ignored
56 D(bug("WBInfo('%s', 0x%08lX)\n", name
, lock
));
57 return OpenWorkbenchObject
59 name
[0] ? "WANDERER:Tools/Info" : "WANDERER:Tools/DiskInfo",
60 WBOPENA_ArgLock
, (IPTR
) lock
,
61 WBOPENA_ArgName
, (IPTR
) name
,