2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 #include "partition_support.h"
9 /*****************************************************************************
12 #include <utility/tagitem.h>
13 #include <libraries/partition.h>
15 AROS_LH2(LONG
, SetPartitionAttrs
,
18 AROS_LHA(struct PartitionHandle
*, ph
, A1
),
19 AROS_LHA(struct TagItem
*, taglist
, A2
),
22 struct Library
*, PartitionBase
, 16, Partition
)
25 set attributes of a partition
29 taglist - list of attributes; unknown tags are ignored
30 PT_DOSENVEC - set new DosEnvec values
31 PT_TYPE - change partition type (MBR-PC)
32 PT_POSITION - move partition to another position (MBR-PC)
33 PT_ACTIVE - set partition active
34 PT_NAME - change name of partition (max 31 Bytes + NULL-byte)
49 21-02-02 first version
51 *****************************************************************************/
57 struct PTFunctionTable
*handler
= ph
->root
->table
->handler
;
59 if (handler
->setPartitionAttrs
)
60 return handler
->setPartitionAttrs(PartitionBase
, ph
, taglist
);