[Both the Virtual Disk Service and dynamic disks are deprecated as of Windows 8 Consumer Preview and Windows Server 8 Beta, and may be unavailable in subsequent versions of Windows. For more information, see Windows Storage Management API.]
Applies to: desktop apps only
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
|
Minimum supported client
| Windows Vista |
|
Minimum supported server
| Windows Server 2003 |
|
Header
|
- Vds.h;
- VdsHwPrv.h (for hardware providers)
|
See also
-
VDS Structures
-
VDS_NOTIFICATION
-
IVdsAdviseSink
-
IVdsService::Advise
Send comments about this topic to Microsoft
Build date: 3/6/2012