2.2.1.3.5 VDS_PARTITION_NOTIFICATION

The VDS_PARTITION_NOTIFICATION structure provides information about a partition notification.

 typedef struct _VDS_PARTITION_NOTIFICATION {
   unsigned long ulEvent;
   VDS_OBJECT_ID diskId;
   ULONGLONG ullOffset;
 } VDS_PARTITION_NOTIFICATION;

ulEvent: Determines the partition event for which an application will be notified; it MUST be one of the following values.

Value

Meaning

VDS_NF_PARTITION_ARRIVE

0x0000000B

A new partition is visible to the operating system.

VDS_NF_PARTITION_DEPART

0x0000000C

An existing partition is no longer visible to the operating system.

VDS_NF_PARTITION_MODIFY

0x0000000D

An existing partition changed.

diskId: The VDS object ID of the disk object containing the partition that triggered the event.

ullOffset: The byte offset of the partition from the beginning of the disk.