2.2.14 DRIVE_LETTER_INFO
The DRIVE_LETTER_INFO structure provides information about a drive letter. It is used for drive letter assignment and free requests, for notification of drive letter changes, and for enumeration.
-
struct driveletterinfo { wchar_t letter; LdmObjectId storageId; boolean isUsed; hyper lastKnownState; LdmObjectId taskId; unsigned long dlflags; }; typedef struct driveletterinfo DRIVE_LETTER_INFO;
letter: Drive letter as a single case-insensitive alphabetical Unicode character.
storageId: Specifies the OID of the volume, partition, or logical drive to which the drive letter is assigned, if any.
isUsed: Boolean value that specifies if the drive letter is in use.
-
Value
Meaning
FALSE
0
Drive letter is free.
TRUE
1
Drive letter is in use.
lastKnownState: Modification sequence number of the drive letter.
taskId: Specifies the task identifier of the associated user request. If no request is made, the value is 0. For more information about this task identifier, see section 2.2.17.
dlflags: Bitmap of drive letter flags. The value of this field is generated by combining zero or more of the applicable flags defined as follows with a logical OR operation.
-
Value
Meaning
DL_PENDING_REMOVAL
0x00000001
Drive letter has a removal operation pending.