2.2.1.3.6 VDS_DRIVE_LETTER_NOTIFICATION
The VDS_DRIVE_LETTER_NOTIFICATION structure provides information about a drive letter notification.
-
typedef struct _VDS_DRIVE_LETTER_NOTIFICATION { unsigned long ulEvent; WCHAR wcLetter; VDS_OBJECT_ID volumeId; } VDS_DRIVE_LETTER_NOTIFICATION;
ulEvent: Determines the drive-letter event for which an application will be notified; it MUST be one of the following values.
-
Value
Meaning
VDS_NF_DRIVE_LETTER_FREE
0x000000C9
The drive letter is no longer in use.
VDS_NF_DRIVE_LETTER_ASSIGN
0x000000CA
The drive letter has been assigned to a volume.
wcLetter: The drive letter that triggered the event, 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 freed, the volume identifier is GUID_NULL.