Locale/Languages: restore backwards compatible native language names
[AROS.git] / rom / partition / deletepartition.c
blob59567992602dce5732c1d646fb9fbe51d7e5950f
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 */
6 #include "partition_support.h"
7 #include "platform.h"
9 /*****************************************************************************
11 NAME */
12 #include <libraries/partition.h>
14 AROS_LH1(void, DeletePartition,
16 /* SYNOPSIS */
17 AROS_LHA(struct PartitionHandle *, ph, A1),
19 /* LOCATION */
20 struct Library *, PartitionBase, 12, Partition)
22 /* FUNCTION
23 Delete a partition with its subpartitions
25 INPUTS
26 ph - PartitionHandle to delete
28 RESULT
30 NOTES
32 EXAMPLE
34 BUGS
36 SEE ALSO
38 INTERNALS
40 HISTORY
41 21-02-02 first version
43 *****************************************************************************/
45 AROS_LIBFUNC_INIT
47 if (ph->root)
49 struct PTFunctionTable *handler = ph->root->table->handler;
51 if (handler->deletePartition)
52 handler->deletePartition(PartitionBase, ph);
54 AROS_LIBFUNC_EXIT