<div class="content" name="NTMS_DRIVEINFORMATIONW" uuid="e10fef15-cec8-47ca-a817-009f35bc02f2"><p>The NTMS_DRIVEINFORMATIONW structure describes the
properties of a <a href="8d988f06-72be-47cf-9e09-9060aa8ed897#gt_1112c690-ee01-4c9b-aa55-9569fd82178b" data-linktype="relative-path">drive</a>
object, as a sequence of Unicode characters.</p><dl>
<dd>
<div><pre> typedef struct _NTMS_DRIVEINFORMATIONW {
   DWORD Number;
   DWORD State;
   NTMS_GUID DriveType;
   [string] wchar_t szDeviceName[64];
   [string] wchar_t szSerialNumber[32];
   [string] wchar_t szRevision[32];
   unsigned short ScsiPort;
   unsigned short ScsiBus;
   unsigned short ScsiTarget;
   unsigned short ScsiLun;
   DWORD dwMountCount;
   SYSTEMTIME LastCleanedTs;
   NTMS_GUID SavedPartitionId;
   NTMS_GUID Library;
   GUID Reserved;
   DWORD dwDeferDismountDelay;
 } NTMS_DRIVEINFORMATIONW;
</pre></div>
</dd></dl><p><b>Number:</b>  The number of the drive in
the library. Some <a href="8d988f06-72be-47cf-9e09-9060aa8ed897#gt_898fa8ab-42d5-439f-9415-1589599fe913" data-linktype="relative-path">changers</a>
assign the number 0 to the first drive; other changers number the first drive
1.</p><p><b>State:</b>  A value from the <a href="fdf51f4c-d185-46e8-a56e-4065948a3135" data-linktype="relative-path">NtmsDriveState</a> enumeration
that specifies the state of the drive. </p><p><b>DriveType:</b>  The identifier of the
type object for the drive. </p><p><b>szDeviceName:</b>   A null-terminated
sequence of Unicode UTF-16 characters specifying the name of the device path to
access the drive. </p><p><b>szSerialNumber:</b>   The
null-terminated serial number of the drive.</p><p><b>szRevision:</b>   A null-terminated
sequence of Unicode UTF-16 characters specifying the revision of the drive.</p><p><b>ScsiPort:</b>  The SCSI <a href="https://go.microsoft.com/fwlink/?LinkId=90512" data-linktype="external">[ANSI-131-1994]</a> host
adapter to which the drive is connected.</p><p><b>ScsiBus:</b>  The SCSI bus to which the
drive is connected.</p><p><b>ScsiTarget:</b>  The SCSI target
identifier of the drive.</p><p><b>ScsiLun:</b>  The SCSI logical unit
identifier of the drive.</p><p><b>dwMountCount:</b>  The number of times
the drive has had media <a href="8d988f06-72be-47cf-9e09-9060aa8ed897#gt_cc98b88f-7fd4-40f6-b315-212dc4d8378b" data-linktype="relative-path">mounted</a>
in it. If the drive supports the reporting of a unique serial number, this
value MUST be the number of times the drive has been mounted since the RSM
began managing this drive. If the drive does not support unique serial numbers,
this member MUST indicate the number of mounts to all the drives at that mount
location. </p><p><b>LastCleanedTs:</b>  A <a href="../ms-dtyp/2fefe8dd-ab48-4e33-a7d5-7171455a9289" data-linktype="relative-path">SYSTEMTIME</a>
structure specifying the last time the drive was cleaned. </p><p><b>SavedPartitionId:</b>  The partition
identifier of the media in the drive. If this value is NULL and the drive is
marked as full, the medium was loaded by a user, and MUST be identified and
given a partition identifier.</p><p><b>Library:</b>  The identifier of the
library that contains the drive. </p><p><b>Reserved:</b>  This parameter is unused.
It MUST be 0 and MUST be ignored on receipt.</p><p><b>dwDeferDismountDelay:</b>  The minimum
number of seconds that media MUST remain in the drive of an online library
after a deferred <a href="8d988f06-72be-47cf-9e09-9060aa8ed897#gt_a8ebf8eb-a5f7-406a-b211-9f9c08ee15d3" data-linktype="relative-path">dismount</a>
is performed; the default MUST be five minutes. This member MUST NOT apply to
stand-alone libraries. </p></div>