VDS_TARGET_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 iSCSI target events.
Syntax
typedef struct _VDS_TARGET_NOTIFICATION {
ULONG ulEvent;
VDS_OBJECT_ID targetId;
} VDS_TARGET_NOTIFICATION;
Members
ulEvent
Determines the iSCSI target event for which an application will be notified, as one of the following values.
Value | Meaning |
---|---|
|
An iSCSI target has been created. |
|
An existing iSCSI target has been deleted. |
|
An existing iSCSI target has changed. An example of change that triggers this notification would be changes to the VDS_ISCSI_TARGET_PROP structure. Applications are responsible for determining the nature of any changes. |
targetId
The VDS_OBJECT_ID of the iSCSI target that triggered the event.
Remarks
The VDS_NOTIFICATION structure includes this structure as a member.
An application can receive disk events by implementing the IVdsAdviseSink interface and passing the interface pointer as an argument to the IVdsService::Advise method.
To get the iSCSI target object, use the IVdsService::GetObject method. You can then use the IVdsIscsiTarget::GetProperties method to get the target properties.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 R2 [desktop apps only] |
Header | vds.h |
Redistributable | VDS 1.1 |