VDS_DRIVE_LETTER_PROP structure (vds.h)

[Beginning with Windows 8 and Windows Server 2012, the Virtual Disk Service COM interface is superseded by the Windows Storage Management API.]

Defines the properties of a drive letter.

Syntax

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

Members

wcLetter

The drive letter.

volumeId

The GUID of the volume object represented by the drive letter.

ulFlags

The drive letter flags enumerated by VDS_DRIVE_LETTER_FLAG.

bUsed

If true, the drive letter is already in use; otherwise, the drive letter is available.

Remarks

The IVdsService::QueryDriveLetters method returns this structure to report the property details of a drive letter.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header vds.h

See also

IVdsService::QueryDriveLetters

VDS Structures

VDS_DRIVE_LETTER_FLAG