Edit

Share via


ntddvol.h header

This header is used by storage. For more information, see:

ntddvol.h contains the following programming interfaces:

IOCTLs

 
IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS

Returns the physical location(s) of a volume on one or more disks.
IOCTL_VOLUME_IS_CLUSTERED

Allows a driver or application to determine if a volume is clustered.
IOCTL_VOLUME_LOGICAL_TO_PHYSICAL

Returns physical offsets and physical disk numbers for a given volume logical offset.
IOCTL_VOLUME_OFFLINE

The IOCTL_VOLUME_OFFLINE IOCTL puts the volume in an OFFLINE state, which is a state where read and write operations will fail.
IOCTL_VOLUME_ONLINE

The IOCTL_VOLUME_ONLINE IOCTL puts the volume in an ONLINE state, which is a state where read and write operations will be executed.
IOCTL_VOLUME_PHYSICAL_TO_LOGICAL

Returns the logical offset corresponding to a physical disk number and a physical offset.
IOCTL_VOLUME_READ_PLEX

Performs a read on a specific plex of a volume.

Structures

 
DISK_EXTENT

The DISK_EXTENT structure contains information defining the location and length of a volume extent on a disk.
VOLUME_DISK_EXTENTS

The VOLUME_DISK_EXTENTS structure is used in conjunction with the IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS request to retrieve information about all the extents on a given volume.
VOLUME_LOGICAL_OFFSET

The VOLUME_LOGICAL_OFFSET structure contains a logical offset into a volume.
VOLUME_PHYSICAL_OFFSET

The VOLUME_PHYSICAL_OFFSET structure contains a physical offset into a volume and its accompanying physical disk number and is used with IOCTL_VOLUME_PHYSICAL_TO_LOGICAL and IOCTL_VOLUME_LOGICAL_TO_PHYSICAL to request a logical offset equivalent of a physical offset or a physical offset equivalent of a logical offset, respectively.
VOLUME_PHYSICAL_OFFSETS

The VOLUME_PHYSICAL_OFFSETS structure contains an array of physical offsets and accompanying physical disk numbers and is used with IOCTL_VOLUME_LOGICAL_TO_PHYSICAL to request a series of pairs of physical offsets and disk numbers that correspond to a single logical offset.
VOLUME_READ_PLEX_INPUT

This structure is used in conjunction with IOCTL_VOLUME_READ_PLEX to read data from a specific plex in a volume.