Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

VDS_DRIVE_LETTER_NOTIFICATION structure

[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.

ValueMeaning
VDS_NF_DRIVE_LETTER_FREE
201

The drive letter of an uninitialized disk is free.

VDS_NF_DRIVE_LETTER_ASSIGN
202

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Vds.h;
VdsHwPrv.h (for hardware providers)

See also

VDS Structures
VDS_NOTIFICATION
IVdsAdviseSink
IVdsService::Advise

 

 

Show: