
VDS_TARGET_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 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 - VDS_NF_TARGET_ARRIVE
- 126
An iSCSI target has been created.
- VDS_NF_TARGET_DEPART
- 127
An existing iSCSI target has been deleted.
- VDS_NF_TARGET_MODIFY
- 128
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
Minimum supported client |
Windows Vista [desktop apps only] |
---|---|
Minimum supported server |
Windows Server 2003 R2 [desktop apps only] |
Redistributable |
VDS 1.1 |
Header |
|
See also
- VDS Structures
- VDS_ISCSI_TARGET_PROP
- VDS_NOTIFICATION
- IVdsAdviseSink
- IVdsService::Advise
- IVdsIscsiTarget