2.2.2.1.3.2 VDS_DRIVE_LETTER_PROP

The VDS_DRIVE_LETTER_PROP structure provides information about a drive letter .

 typedef struct _VDS_DRIVE_LETTER_PROP {
   WCHAR wcLetter;
   VDS_OBJECT_ID volumeId;
   unsigned long ulFlags;
   long bUsed;
 } VDS_DRIVE_LETTER_PROP,
  *PVDS_DRIVE_LETTER_PROP;

wcLetter: The drive letter as a single uppercase or lowercase alphabetical (A-Z) Unicode character.

volumeId: The VDS object ID of the volume object to which the drive letter is assigned. If the drive letter is not assigned to any volume, the value MUST be GUID_NULL.

ulFlags: The combination of any values, by using a bitwise OR operator, that is defined in the VDS_DRIVE_LETTER_FLAG enumeration.

bUsed: A Boolean value that indicates whether the drive letter is already in use.