// ntddstor.h
typedef struct _DEVICE_DATA_SET_RANGE {
LONGLONG StartingOffset;
ULONGLONG LengthInBytes;
} DEVICE_DATA_SET_RANGE, *PDEVICE_DATA_SET_RANGE, DEVICE_DSM_RANGE, *PDEVICE_DSM_RANGE;
View the official Windows Driver Kit DDI reference// winioctl.h
typedef struct _DEVICE_DATA_SET_RANGE {
LONGLONG StartingOffset;
DWORDLONG LengthInBytes;
} DEVICE_DATA_SET_RANGE, *PDEVICE_DATA_SET_RANGE, DEVICE_DSM_RANGE, *PDEVICE_DSM_RANGE;
View the official Win32 API referenceNo description available.
The DEVICE_DSM_RANGE (or DEVICE_DATA_SET_RANGE) structure specifies a data set range for the attributes for a device.
A block of data set ranges, if any, is specified in the payload of an IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES request.
StartingOffsetContains the starting offset, in bytes, of the data set range. The offset value must be block aligned.
LengthInBytesContains the length, in bytes, of the data set range. The length value must be block aligned.
See Data Set Management Overview for more information about processing DSM actions that involve data set ranges.
IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES
Provides data set range information for use with the IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES control code.
StartingOffsetStarting offset of the data set range in bytes, relative to the start of the volume. Must align to disk logical sector size.
LengthInBytesLength of the data set range, in bytes. Must be a multiple of disk logical sector size.
DEVICE_MANAGE_DATA_SET_ATTRIBUTES