2.2.4.30 NTMS_PARTITIONINFORMATIONW Structure
The NTMS_PARTITIONINFORMATIONW structure describes the properties of a media side object, as a sequence of Unicode characters. Unicode encoding is specified in [UNICODE].
-
typedef struct _NTMS_PARTITIONINFORMATIONW { NTMS_GUID PhysicalMedia; NTMS_GUID LogicalMedia; DWORD State; unsigned short Side; DWORD dwOmidLabelIdLength; byte OmidLabelId[255]; [string] wchar_t szOmidLabelType[64]; [string] wchar_t szOmidLabelInfo[256]; DWORD dwMountCount; DWORD dwAllocateCount; LARGE_INTEGER Capacity; } NTMS_PARTITIONINFORMATIONW;
PhysicalMedia: The identifier of the medium that contains the side.
LogicalMedia: The identifier of the piece of logical media that contains the side. This MUST be set to GUID_NULL if the side is not allocated.
-
Value
Meaning
"GUID_NULL"
The side is not allocated.
State: A value from the NtmsPartitionState (section 2.2.4.7) enumeration describing the state of the side.
Side: A zero-relative value that indicates which side of a multisided media this is. For single-sided media, this value MUST be 0. For dual-sided media, one NTMS_PARTITIONINFORMATIONW record MUST have its member set to 0, and a second NTMS_PARTITIONINFORMATIONW record MUST have its member set to 1.
-
Media\Value
Meaning
0
The only side of single-sided media or the first side of dual-sided media.
1
The second side of dual-sided media.
dwOmidLabelIdLength: The length of the label identification string of the on-media identifier.
OmidLabelId: The label identifier of the on-media identifier.
szOmidLabelType: A null-terminated sequence of Unicode UTF-16 characters specifying the label type of the on-media identifier.
szOmidLabelInfo: A null-terminated sequence of Unicode characters specifying the label information of the on-media identifier.
dwMountCount: The number of times the medium has been mounted into a drive. This member is initialized to 0 when the object is created in the server information database.
dwAllocateCount: The number of times the medium has been allocated.
Capacity: The number of bytes available on this side.