Skip to content

Latest commit

 

History

History
147 lines (112 loc) · 4.5 KB

ns-vdshwprv-vds_target_notification.md

File metadata and controls

147 lines (112 loc) · 4.5 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:vdshwprv._VDS_TARGET_NOTIFICATION
VDS_TARGET_NOTIFICATION (vdshwprv.h)
The VDS_TARGET_NOTIFICATION structure (vdshwprv.h) defines the details of iSCSI target events.
VDS_NF_TARGET_ARRIVE
VDS_NF_TARGET_DEPART
VDS_NF_TARGET_MODIFY
VDS_TARGET_NOTIFICATION
VDS_TARGET_NOTIFICATION structure [VDS]
base.vds_target_notification
vds/_VDS_TARGET_NOTIFICATION
vdshwprv/_VDS_TARGET_NOTIFICATION
base\vds_target_notification.htm
base
71453c9c-d6a7-4527-8988-c0388d7a9991
08/09/2022
VDS_NF_TARGET_ARRIVE, VDS_NF_TARGET_DEPART, VDS_NF_TARGET_MODIFY, VDS_TARGET_NOTIFICATION, VDS_TARGET_NOTIFICATION structure [VDS], base.vds_target_notification, vds/_VDS_TARGET_NOTIFICATION, vdshwprv/_VDS_TARGET_NOTIFICATION
vdshwprv.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 R2 [desktop apps only]
Windows
VDS_TARGET_NOTIFICATION
VDS 1.1
19H1
_VDS_TARGET_NOTIFICATION
vdshwprv/_VDS_TARGET_NOTIFICATION
VDS_TARGET_NOTIFICATION
vdshwprv/VDS_TARGET_NOTIFICATION
c++
APIRef
kbSyntax
HeaderDef
Vds.h
VdsHwPrv.h
VDS_TARGET_NOTIFICATION

VDS_TARGET_NOTIFICATION structure

-description

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

-struct-fields

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

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

-see-also

IVdsAdviseSink

IVdsIscsiTarget

IVdsService::Advise

VDS Structures

VDS_ISCSI_TARGET_PROP

VDS_NOTIFICATION