VDS_FILE_SYSTEM_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 file-system events.

Syntax

typedef struct _VDS_FILE_SYSTEM_NOTIFICATION {
  ULONG         ulEvent;
  VDS_OBJECT_ID volumeId;
  DWORD         dwPercentCompleted;
} VDS_FILE_SYSTEM_NOTIFICATION;

Members

ulEvent

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

Value Meaning
VDS_NF_FILE_SYSTEM_MODIFY
203
A member was changed in the VDS_FILE_SYSTEM_PROP structure for the file system. For example, a volume received a new label, or a file system was extended or shrunk; does not include a change to the file-system compression flags.
VDS_NF_FILE_SYSTEM_FORMAT_PROGRESS
204
A file system volume is being formatted.

volumeId

The GUID of the volume object containing the file system that triggered the event.

dwPercentCompleted

The completed format progress as a percentage of the whole.

Remarks

The VDS_NOTIFICATION structure includes this structure as a member.

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

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header vds.h

See also

IVdsAdviseSink

IVdsService::Advise

VDS Structures

VDS_NOTIFICATION