VDS_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 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.
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.
Portal
Valid if objectType is VDS_NTT_PORTAL. See the VDS_PORTAL_NOTIFICATION structure.
Target
Valid if objectType is VDS_NTT_TARGET. See the VDS_TARGET_NOTIFICATION structure.
PortalGroup
Valid if objectType is VDS_NTT_PORTAL_GROUP. See the VDS_PORTAL_GROUP_NOTIFICATION structure.
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 | vds.h |