2.2.4.32 NTMS_PMIDINFORMATIONW Structure
The NTMS_PMIDINFORMATIONW structure describes the properties of a physical media object, as a sequence of Unicode characters.
-
typedef struct _NTMS_PMIDINFORMATIONW { NTMS_GUID CurrentLibrary; NTMS_GUID MediaPool; NTMS_GUID Location; DWORD LocationType; NTMS_GUID MediaType; NTMS_GUID HomeSlot; [string] wchar_t szBarCode[64]; DWORD BarCodeState; [string] wchar_t szSequenceNumber[32]; DWORD MediaState; DWORD dwNumberOfPartitions; DWORD dwMediaTypeCode; DWORD dwDensityCode; NTMS_GUID MountedPartition; } NTMS_PMIDINFORMATIONW;
CurrentLibrary: The identifier of the library in which the medium is contained.
MediaPool: The identifier of the media pool to which the medium is assigned.
Location: The identifier of the physical location object for the medium.
LocationType: Any of the NTMS_STORAGESLOT, NTMS_DRIVE, or NTMS_IEPORT values defined in the NtmsObjectsTypes (section 2.2.1.6) enumeration, specifying the type of the current location for a piece of physical media.
MediaType: The identifier of the media type object for the medium.
HomeSlot: The identifier of the library storage slot in which the medium is stored.
szBarCode: The null-terminated bar code of the medium.
BarCodeState: The value from the NtmsBarCodeState (section 2.2.4.1) enumeration specifying the state of the bar code.
szSequenceNumber: Sequential number assigned to the specified medium as a human-readable value. This value MUST be transcribed by a user on the medium so it can be located in an offline library.
MediaState: The value from the NtmsMediaState (section 2.2.4.4) enumeration describing the state of the media.
dwNumberOfPartitions: The number of sides on the medium.
dwMediaTypeCode: The SCSI [ANSI-131-1994] type code of the medium.
dwDensityCode: The SCSI density code of the medium.
MountedPartition: The identifier of the media side that is currently mounted.