2.2.4.7 NtmsPartitionState Enumeration

The NtmsPartitionState enumeration defines the states of a side.

 enum NtmsPartitionState
 {
   NTMS_PARTSTATE_UNKNOWN = 0,
   NTMS_PARTSTATE_UNPREPARED = 1,
   NTMS_PARTSTATE_INCOMPATIBLE = 2,
   NTMS_PARTSTATE_DECOMMISSIONED = 3,
   NTMS_PARTSTATE_AVAILABLE = 4,
   NTMS_PARTSTATE_ALLOCATED = 5,
   NTMS_PARTSTATE_COMPLETE = 6,
   NTMS_PARTSTATE_FOREIGN = 7,
   NTMS_PARTSTATE_IMPORT = 8,
   NTMS_PARTSTATE_RESERVED = 9
 };

NTMS_PARTSTATE_UNKNOWN:  The side is in an unknown state.

NTMS_PARTSTATE_UNPREPARED:  The medium is waiting for a free label to be applied.

NTMS_PARTSTATE_INCOMPATIBLE:  The medium was found to be incompatible with the drive in which it is mounted.

NTMS_PARTSTATE_DECOMMISSIONED:  The medium is unsuitable for data storage and is no longer usable.

NTMS_PARTSTATE_AVAILABLE:  The medium is available to be allocated.

NTMS_PARTSTATE_ALLOCATED:  The medium has been allocated to an application.

NTMS_PARTSTATE_COMPLETE:  The medium has been completely written and marked as complete by an application.

NTMS_PARTSTATE_FOREIGN:  The medium is in an unrecognized pool.

NTMS_PARTSTATE_IMPORT:  The medium is in the import pool.

NTMS_PARTSTATE_RESERVED:  The side is reserved.