Syntax
struct MM_PartitionInfoDef
{
BYTE partitionName[32];
LONG beginningSector;
LONG numberOfSectors;
LONG objectID;
LONG bootflag;
};
Fields
- partionName
- The null-terminated name of the partition, as interpreted
by the Media Manager according to the partition type.
- beginningSector
- The offset, in sectors, relative to the beginning
of the media to the first sector of the partition as defined in
the partition table.
- numberOfSectors
- The total sectors in the partition. This value multiplied
by the sector size is the physical capacity, in bytes, of the partition.
- objectID
- The OBID of the partitioned media object.
- bootFlag
- This value will be 0x80 if the partition is bootable;
otherwise, this value should be zero.
Remarks
None of the partition APIs are available until PARTAPI.NLM
is loaded.