<div class="content"><p>The NTMS_PMIDINFORMATIONW structure describes the properties
of a <a href="8d988f06-72be-47cf-9e09-9060aa8ed897#gt_9036b269-4f3b-4353-a1d0-54f5c686ec2c" data-linktype="relative-path">physical media</a>
object, as a sequence of Unicode characters.</p><dl>
<dd>
<div><pre> 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;
</pre></div>
</dd></dl><p><b>CurrentLibrary:</b>  The identifier of
the library in which the medium is contained. </p><p><b>MediaPool:</b>  The identifier of the
media pool to which the medium is assigned. </p><p><b>Location:</b>  The identifier of the
physical location object for the medium. </p><p><b>LocationType:</b>  Any of the
NTMS_STORAGESLOT, NTMS_DRIVE, or NTMS_IEPORT values defined in the <a href="5b190198-a0cb-4e20-90a3-234009357051" data-linktype="relative-path">NtmsObjectsTypes (section 2.2.1.6)</a>
enumeration, specifying the type of the current location for a piece of
physical media.</p><p><b>MediaType:</b>  The identifier of the
media type object for the medium. </p><p><b>HomeSlot:</b>  The identifier of the
library storage <a href="8d988f06-72be-47cf-9e09-9060aa8ed897#gt_a1f0ab90-f3c0-46b8-9c77-d0d7508ede94" data-linktype="relative-path">slot</a> in
which the medium is stored. </p><p><b>szBarCode:</b>   The null-terminated <a href="8d988f06-72be-47cf-9e09-9060aa8ed897#gt_0c1aa461-4c32-4e8b-bb45-577085c32afb" data-linktype="relative-path">bar code</a> of the medium. </p><p><b>BarCodeState:</b>  The value from the <a href="d9830103-1d40-452f-8c40-9d9fd238aabf" data-linktype="relative-path">NtmsBarCodeState (section 2.2.4.1)</a>
enumeration specifying the state of the bar code.</p><p><b>szSequenceNumber:</b>   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 <a href="8d988f06-72be-47cf-9e09-9060aa8ed897#gt_f248d7b8-b3e9-421e-96c4-78551324fd86" data-linktype="relative-path">offline library</a>. </p><p><b>MediaState:</b>  The value from the <a href="8adec97a-fe74-4290-8770-d1e2fcfd7281" data-linktype="relative-path">NtmsMediaState (section 2.2.4.4)</a>
enumeration describing the state of the media.</p><p><b>dwNumberOfPartitions:</b>  The number of
<a href="8d988f06-72be-47cf-9e09-9060aa8ed897#gt_55db62c5-a84f-43b7-a037-b44ecd8fb92f" data-linktype="relative-path">sides</a> on the medium. </p><p><b>dwMediaTypeCode:</b>  The SCSI <a href="https://go.microsoft.com/fwlink/?LinkId=90512" data-linktype="external">[ANSI-131-1994]</a> type
code of the medium.</p><p><b>dwDensityCode:</b>  The SCSI density
code of the medium.</p><p><b>MountedPartition:</b>  The identifier of
the media side that is currently <a href="8d988f06-72be-47cf-9e09-9060aa8ed897#gt_cc98b88f-7fd4-40f6-b315-212dc4d8378b" data-linktype="relative-path">mounted</a>.</p></div>