VDS_NOTIFICATION structure (vdshwprv.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 VDS notification structures specific to each notification target type (subject).

Syntax

typedef struct _VDS_NOTIFICATION {
  VDS_NOTIFICATION_TARGET_TYPE objectType;
  union {
    VDS_PACK_NOTIFICATION         Pack;
    VDS_DISK_NOTIFICATION         Disk;
    VDS_VOLUME_NOTIFICATION       Volume;
    VDS_PARTITION_NOTIFICATION    Partition;
    VDS_DRIVE_LETTER_NOTIFICATION Letter;
    VDS_FILE_SYSTEM_NOTIFICATION  FileSystem;
    VDS_MOUNT_POINT_NOTIFICATION  MountPoint;
    VDS_SUB_SYSTEM_NOTIFICATION   SubSystem;
    VDS_CONTROLLER_NOTIFICATION   Controller;
    VDS_DRIVE_NOTIFICATION        Drive;
    VDS_LUN_NOTIFICATION          Lun;
    VDS_PORT_NOTIFICATION         Port;
    VDS_PORTAL_NOTIFICATION       Portal;
    VDS_TARGET_NOTIFICATION       Target;
    VDS_PORTAL_GROUP_NOTIFICATION PortalGroup;
    VDS_SERVICE_NOTIFICATION      Service;
  };
} VDS_NOTIFICATION;

Members

objectType

Discriminant for the union enumerated by VDS_NOTIFICATION_TARGET_TYPE.

Value Meaning
VDS_NTT_PACK
10
The subject of the notification is a disk pack. Use the Pack member structure.
VDS_NTT_DISK
13
The subject of the notification is a disk. Use the Disk member structure.
VDS_NTT_VOLUME
11
The subject of the notification is a volume. Use the Volume member structure.
VDS_NTT_PARTITION
60
The subject of the notification is a partition. Use the Partition member structure.
VDS_NTT_DRIVE_LETTER
61
The subject of the notification is a drive letter. Use the Letter member structure.
VDS_NTT_FILE_SYSTEM
62
The subject of the notification is a file system. Use the FileSystem member structure.
VDS_NTT_MOUNT_POINT
63
The subject of the notification is a drive letter or volume GUID path. Use the MountPoint member structure.
VDS_NTT_SUB_SYSTEM
30
Used by hardware providers. The subject of the notification is a subsystem. Use the SubSystem member structure.
VDS_NTT_CONTROLLER
31
Used by hardware providers. The subject of the notification is a controller. Use the Controller member structure.
VDS_NTT_DRIVE
32
Used by hardware providers. The subject of the notification is a drive. Use the Drive member structure.
VDS_NTT_LUN
33
Used by hardware providers. The subject of the notification is a LUN. Use the Lun member structure.
VDS_NTT_PORT
35
The subject of the notification is a controller port. Use the Port member structure.
VDS_NTT_PORTAL
36
The subject of the notification is an iSCSI portal. Use the Portal member structure.
VDS_NTT_TARGET
37
The subject of the notification is an iSCSI target. Use the Target member structure.
VDS_NTT_PORTAL_GROUP
38
The subject of the notification is an iSCSI portal group. Use the PortalGroup member structure.

Pack

Valid if objectType is VDS_NTT_PACK. See the VDS_PACK_NOTIFICATION structure.

Disk

Valid if objectType is VDS_NTT_DISK. See the VDS_DISK_NOTIFICATION structure.

Volume

Valid if objectType is VDS_NTT_VOLUME. See the VDS_VOLUME_NOTIFICATION structure.

Partition

Valid if objectType is VDS_NTT_PARTITION. See the VDS_PARTITION_NOTIFICATION structure.

Letter

Valid if objectType is VDS_NTT_DRIVE_LETTER. See the VDS_DRIVE_LETTER_NOTIFICATION structure.

FileSystem

Valid if objectType is VDS_NTT_FILE_SYSTEM. See the VDS_FILE_SYSTEM_NOTIFICATION structure.

MountPoint

Valid if objectType is VDS_NTT_MOUNT_POINT. See the VDS_MOUNT_POINT_NOTIFICATION structure.

SubSystem

Valid if objectType is VDS_NTT_SUB_SYSTEM. See the VDS_SUB_SYSTEM_NOTIFICATION structure.

Controller

Valid if objectType is VDS_NTT_CONTROLLER. See the VDS_CONTROLLER_NOTIFICATION structure.

Drive

Valid if objectType is VDS_NTT_DRIVE. See the VDS_DRIVE_NOTIFICATION structure.

Lun

Valid if objectType is VDS_NTT_LUN. See the VDS_LUN_NOTIFICATION structure.

Port

Valid if objectType is VDS_NTT_PORT. See the VDS_PORT_NOTIFICATION structure.

Note  This is not supported on VDS 1.0
 

Portal

Valid if objectType is VDS_NTT_PORTAL. See the VDS_PORTAL_NOTIFICATION structure.

Note  This is not supported on VDS 1.0
 

Target

Valid if objectType is VDS_NTT_TARGET. See the VDS_TARGET_NOTIFICATION structure.

Note  This is not supported on VDS 1.0
 

PortalGroup

Valid if objectType is VDS_NTT_PORTAL_GROUP. See the VDS_PORTAL_GROUP_NOTIFICATION structure.

Note  This is not supported on VDS 1.0
 

Service

Remarks

Applications pass this structure in the pNotificationArray parameter of the IVdsAdviseSink::OnNotify method.

The members of this structure are aligned on an 8-byte boundary.

Requirements

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

See also

IVdsAdviseSink::OnNotify

VDS_NOTIFICATION_TARGET_TYPE