PartitionSpecificInfoDef

A pointer to this structure is returned from the MM_ReturnObjectSpecificInfo function when an IO object whose requested specific information is a partition object, in the IO class.

Syntax

  struct PartitionSpecificInfoDef 
  { 
      LONG   status; 
      LONG   partitionertype; 
      LONG   partitiontype; 
      LONG   partitionoffset; 
      LONG   partitionsize; 
      LONG   reserved[2];  
      BYTE   label[MM_MAX_OBJECT_STRING_LEN]; 
  };
  

Fields

status
The partition's status.
partitionertype
Currently always one.
partitiontype
The partition type.
partitionoffset
The sector offset, relative to the media's sector 0, to the beginning of the partition.
partitionsize
The partition's physical size as defined in the partition table. Note: this value is not always the same as the capacity value reported in the IOObjectGenericInfoDef structure for a partition object.
reserved
undefined
label
If status indicates that the partition is labeled then this field contains the null-terminated label. This label will not be larger than MM_MAX_OBJECT_STRING_LEN - 1.

See Also