DEVICE_DATA_SET_RANGE structure (winioctl.h)

Provides data set range information for use with the IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES control code.

Syntax

typedef struct _DEVICE_DATA_SET_RANGE {
  LONGLONG  StartingOffset;
  DWORDLONG LengthInBytes;
} DEVICE_DATA_SET_RANGE, *PDEVICE_DATA_SET_RANGE, DEVICE_DSM_RANGE, *PDEVICE_DSM_RANGE;

Members

StartingOffset

Starting offset of the data set range in bytes, relative to the start of the volume. Must align to disk logical sector size.

LengthInBytes

Length of the data set range, in bytes. Must be a multiple of disk logical sector size.

Requirements

Requirement Value
Minimum supported client Windows 7
Minimum supported server Windows Server 2008 R2
Header winioctl.h (include Windows.h)

See also

DEVICE_MANAGE_DATA_SET_ATTRIBUTES

Device Management Structures