2 Copyright © 1995-2017, The AROS Development Team. All rights reserved.
6 #include "partition_support.h"
9 /*****************************************************************************
12 #include <libraries/partition.h>
14 AROS_LH1(void, DeletePartition
,
17 AROS_LHA(struct PartitionHandle
*, ph
, A1
),
20 struct Library
*, PartitionBase
, 12, Partition
)
23 Delete a partition along with its subpartitions.
26 ph - PartitionHandle to delete
40 *****************************************************************************/
46 struct PTFunctionTable
*handler
= ph
->root
->table
->handler
;
48 if (handler
->deletePartition
)
49 handler
->deletePartition(PartitionBase
, ph
);