Windows desktop applications
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

VDS_SUB_SYSTEM_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 subsystem events.

Syntax


typedef struct _VDS_SUB_SYSTEM_NOTIFICATION {
  ULONG         ulEvent;
  VDS_OBJECT_ID subSystemId;
} VDS_SUB_SYSTEM_NOTIFICATION;

Members

ulEvent

Determines the subsystem event for which an application will be notified, as one of the following values.

ValueMeaning
VDS_NF_SUB_SYSTEM_ARRIVE
101

A new subsystem was connected to the server or network.

VDS_NF_SUB_SYSTEM_DEPART
102

An existing subsystem was disconnected.

VDS_NF_SUB_SYSTEM_MODIFY
151

A member of the VDS_SUB_SYSTEM_PROP structure was changed.

 

subSystemId

The subsystem's GUID.

Remarks

The VDS_NOTIFICATION structure includes this structure as a member.

An application can receive subsystem events by implementing the IVdsAdviseSink interface and passing the interface pointer as an argument to the IVdsService::Advise method.

To get the subsystem object, use the IVdsService::GetObject method. You can then use the IVdsSubSystem::GetProperties method or the IVdsSubSystem2::GetProperties2 methodto get the subsystem properties.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Vds.h;
VdsHwPrv.h (for hardware providers)

See also

VDS Structures
VDS_NOTIFICATION
VDS_SUB_SYSTEM_PROP
IVdsAdviseSink
IVdsService::Advise

 

 

Community Additions

Show:
© 2016 Microsoft