2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 #include "partition_support.h"
14 /*****************************************************************************
17 #include <utility/tagitem.h>
18 #include <libraries/partition.h>
20 AROS_LH2(LONG
, GetPartitionTableAttrs
,
23 AROS_LHA(struct PartitionHandle
*, root
, A1
),
24 AROS_LHA(struct TagItem
*, taglist
, A2
),
27 struct Library
*, PartitionBase
, 13, Partition
)
30 get attributes of a partition table
33 ph - PartitionHandle of the partition table
34 taglist - list of attributes; unknown tags are ignored
35 PTT_TYPE - ULONG * ; get partition table type
36 PTT_MAXLEADIN - LONG *
37 PTT_RESERVED - ULONG * ; get number of reserved blocks
52 21-02-02 first version
54 *****************************************************************************/
60 struct PTFunctionTable
*handler
= root
->table
->handler
;
62 if (handler
->getPartitionTableAttrs
)
63 return handler
->getPartitionTableAttrs(PartitionBase
, root
, taglist
);