VDS_DRIVE_LETTER_NOTIFICATION 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 details of drive-letter events.
Syntax
typedef struct _VDS_DRIVE_LETTER_NOTIFICATION {
ULONG ulEvent;
WCHAR wcLetter;
VDS_OBJECT_ID volumeId;
} VDS_DRIVE_LETTER_NOTIFICATION;
Members
ulEvent
Determines the drive-letter event for which an application will be notified, as one of the following values.
Value | Meaning |
---|---|
|
The drive letter of an uninitialized disk is free. |
|
The drive letter of an uninitialized disk is assigned. |
wcLetter
The drive letter that triggered the event.
volumeId
The GUID of the volume to which the drive letter is assigned. If the drive letter is freed, the volume identifier is GUID_NULL.
Remarks
The VDS_NOTIFICATION structure includes this structure as a member.
An application can receive drive-letter events by implementing the IVdsAdviseSink interface and passing the interface pointer as an argument to the IVdsService::Advise method.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | vds.h |