MM_DeletePartition
Deletes the NetWare partition on the device object specified
by zeroing out the partition entry and deletes the related partition
object from the Media Manager database.
- Local Servers:Blocking
- Remote Servers:Blocking
- NetWare Server: 5.x
- Platform:DOS, NLM, OS/2,
Windows* 3.1, Windows NT*, Windows*95
- Service:Media Manager
Syntax
LONG MM_DeletePartition (
LONG partitionObjectID,
LONG partitionType,
LONG startingSector,
LONG numberOfSectors );
Parameters
- partitionObjectID
- The Media Manager object handle of an unreserved
partition object to be deleted.
- partitionType
- Not used. Set to -1.
- startingSecctor
- The beginning absolute sector number for the logical
partition to be deleted.
- numberOfSectors
- The number of sectors in the partition object to
be deleted. If either the startingSector or numberOfSectors parameters
is incorrect for the partition requested, this function will not delete
the partition. Since this function is destructive, these parameters
are used to verify that the partition requested matches the partition
that is on the media before deleting the partition.
Return Values
The following table lists return values and descriptions.