MM_CreatePartition
Creates a partition of any type.
- 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_CreatePartition (
LONG deviceObjectHandle,
LONG partitionType,
LONG startingSector,
LONG numberOfSectors,
LONG *newPartitionObjectID );
Parameters
- deviceObjectHandle
- The Media Manager object handle of the reserved device
object.
- partitionType
- The identification type for the partition to be
created. See NetWare Partition
Types.
- startingSector
- The beginning absolute sector number for the new
logical partition. If this is the first partition it must be equal
to areaStart. If this is not the first partition
this must be a multiple of alignment.
- numberOfSectors
- The number of sectors to be assigned to the new
logical partition. This must be calculated so that the ending sector
(the startingSector plus the numberOfSectors)
is a multiple of alignment.
- newPartitionObjectID
- The pointer to the Media Manager object ID of the
newly created partition object.
Return Values
The following table lists return values and descriptions.