| Platform SDK: Removable Storage Manager |
The NTMS_PARTITIONINFORMATION structure defines the properties specific to the side object.
typedef struct _NTMS_PARTITIONINFORMATION {
NTMS_GUID PhysicalMedia;
NTMS_GUID LogicalMedia;
DWORD State;
WORD Side;
DWORD dwOmidLabelIdLength;
BYTE OmidLabelId[255];
TCHAR szOmidLabelType[64];
TCHAR szOmidLabelInfo[256];
DWORD dwMountCount;
DWORD dwAllocateCount;
LARGE_INTEGER Capacity;
} NTMS_PARTITIONINFORMATION;
| Value | Meaning |
|---|---|
| NTMS_PARTSTATE_ALLOCATED | The media has been allocated to an application. |
| NTMS_PARTSTATE_AVAILABLE | The media is available to be allocated. |
| NTMS_PARTSTATE_COMPLETE | The media has been completely written and marked as complete by an application. |
| NTMS_PARTSTATE_DECOMMISIONED | The media is unsuitable for data storage and is no longer usable. |
| NTMS_PARTSTATE_INCOMPATIBLE | The media has been found to be and marked as incompatible with the drive. |
| NTMS_PARTSTATE_FOREIGN | The media is in a unrecognized pool. |
| NTMS_PARTSTATE_IMPORT | The media is in the import pool. |
| NTMS_PARTSTATE_UNPREPARED | The media is waiting for a free label to be applied. |
| NTMS_PARTSTATE_RESERVED | The side has been reserved by the AllocateNtmsMedia function with the dwOption parameter set to NTMS_ALLOCATE_NEW. |
The NTMS_PARTITIONINFORMATION data structure is part of the NTMS_OBJECTINFORMATION structure and is not used separately.
Windows NT/2000: Requires Windows 2000.
Header: Declared in Ntmsapi.h.