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_PACK_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 pack events.

Syntax


typedef struct _VDS_PACK_NOTIFICATION {
  ULONG         ulEvent;
  VDS_OBJECT_ID packId;
} VDS_PACK_NOTIFICATION;

Members

ulEvent

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

ValueMeaning
VDS_NF_PACK_ARRIVE
1

A new pack arrived.

VDS_NF_PACK_DEPART
2

An existing pack was removed.

VDS_NF_PACK_MODIFY
3

A member of the VDS_PACK_PROP structure for the pack was changed.

 

packId

The GUID for the pack that triggered the event.

Remarks

The VDS_NOTIFICATION structure includes this structure as a member.

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

To get the pack object, use the IVdsService::GetObject method. You can then use the IVdsPack::GetProperties method to get the pack 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
IVdsAdviseSink
IVdsService::Advise

 

 

Community Additions

Show:
© 2014 Microsoft